2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
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'
Contenido relevante
- OFICIAL DE AWSActualizada hace 7 meses
- OFICIAL DE AWSActualizada hace 2 años
Is this in addition to AWS::Events::Rule ?