【发布时间】:2021-02-09 01:58:36
【问题描述】:
根据无服务器框架插件的文档See examples here,我们能够使我们的状态机能够被 EC2 事件规则调用。
(来自上面的链接)
stepFunctions:
stateMachines:
first:
events:
- cloudwatchEvent:
event:
source:
- "aws.ec2"
detail-type:
- "EC2 Instance State-change Notification"
detail:
state:
- pending
definition:
...
我希望从 S3 事件规则中调用我的状态机。
但是,根据 AWS CloudWatch Even Types documentation,我们似乎无法使用 S3 事件规则,因为它没有出现在 AWS CloudWatch Even Types 文档链接中
这是否意味着我不能使用此插件根据 S3 事件规则调用我的状态机,例如上传到 S3 的新对象??
【问题讨论】:
标签: amazon-web-services amazon-s3 amazon-cloudwatch serverless-framework aws-step-functions