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 Answer
0
Accepted Answer

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
EXPERT
answered 10 months ago
profile pictureAWS
EXPERT
reviewed 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions