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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠