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 Antwort
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Jahr
profile pictureAWS
EXPERTE
überprüft vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen