2 個答案
- 最新
- 最多得票
- 最多評論
0
You need to provide JSON EventBridge Event pattern:
{
"source": [ "aws.s3" ],
"detail-type": [ "Object Created" ],
"detail": {
"bucket": {
"name": [ "yourbucketname" ]
}
}
}
By the way you can trigger Lambda directly from S3 Events -> Lambda https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html
0
In CloudFormation syntax it will be like this:
YourEventRule:
Type: AWS::Events::Rule
Properties:
EventPattern:
source:
- aws.s3
detail-type:
- 'Object Created'
detail:
bucket:
name:
- 'yourbucketname'
相關內容
- 已提問 10 個月前
- AWS 官方已更新 2 年前
Is this in addition to AWS::Events::Rule ?