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 Answer
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
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions