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 Risposta
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
ESPERTO
con risposta 9 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande