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 回答
0
已接受的回答

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
专家
已回答 1 年前
profile pictureAWS
专家
已审核 1 年前
profile picture
专家
已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则