s3 trigger for STEP function using Event Bridge

0

I would like to invoke a STEP function whenever there is a new file upload in my specific s3 bucket using Event Bridge. How do I set this up? and I want this to run synchronously

Can I get a guide/ tutorial to follow?

1 Respuesta
0
Respuesta aceptada

One option is this: https://docs.aws.amazon.com/step-functions/latest/dg/tutorial-cloudwatch-events-s3.html.

You associate an EventBridge rule that listen to s3 events. Then you can execute an step function.

Another option is to use an s3 trigger and react with a lambda function that programmatically starts the step function, but I d recommend to look into the first option, as in that way you leverage aws application capabilities platform instead of gluing flows with lambdas (that you ll have to maintain).

profile picture
EXPERTO
respondido hace un año
profile pictureAWS
EXPERTO
revisado hace un año
profile picture
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas