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 个月前

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

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

回答问题的准则