2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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'
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
Is this in addition to AWS::Events::Rule ?