Should I create IAM role to allow AWS service send events to my default bus

0

I have setup an example with eventbridge: ec2 -> eventbridge -> sqs.

This example works well, but I didn't create IAM role for ec2, I wonder that does the EC2 need an IAM role to access my default bus or not?

yukon
質問済み 3年前473ビュー
2回答
0

For AWS Services, such as EC2, to publish events to your default event-bus, they do not need an IAM role. You get these AWS service events by default on your "default" event-bus - You do not need to do anything to receive them.

Please keep in mind, only AWS Services can do this on your default-event-bus. Other identities (users/roles), or other event-bus destinations require authentication to call the "PutEvents" EventBridge API.

Hope this helps!

回答済み 3年前
0

Got it, thanks

yukon
回答済み 3年前

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

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

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

関連するコンテンツ