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'
Is this in addition to AWS::Events::Rule ?