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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ