Eventbridge is not sending messages to sns. IAM based events

0

Dear Experts,

I have configured eventbridge as mentioned in below link by aws https://catalog.us-east-1.prod.workshops.aws/workshops/18b3622c-5d4c-45c9-9834-6a7091109072/en-US/advanced-modules/40-monitoring-alert/4-1 My sns and eventbridge are in same region i.e. us-east-1. I can see the necassary permission with action:sns-publish also in my SNS topic. I can send email via this SNS topic when i publish the message manually. However when i create the user or detele via console or cli, i dont see any activity. There is nothing in cloudtrail, in the EB itself i dont see any invocations at all! Can someone point out what am i doing wrong?

1回答
0

Hi,,

Did you create a trail in CloudTrail to record your EventBridge activity as suggested in https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-logging-monitoring.html#eb-info-in-cloudtrail

I would suggest to log all possible API calls

DeleteRule
DescribeEventBus
DescribeRule
DisableRule
EnableRule
ListRuleNamesByTarget
ListRules
ListTargetsByRule
PutPermission
PutRule
PutTargets
RemoveTargets
TestEventPattern

Many of those calls will give you hints about the progress of your event definition and activation.

I'd also suggest to use CLI:

Note: the use of us-east-1 (you're using it) is critical to get it to work as per https://repost.aws/knowledge-center/eventbridge-rule-triggers-iam-single-region

Best,

Didier

profile pictureAWS
エキスパート
回答済み 9ヶ月前

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

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

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

関連するコンテンツ