1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
I believe what you configured is an EventBridge rule, not a CloudWatch alarm.
And the rules you set will react when "CreateManagedPrefixList", "ModifyManagedPrefixList", and "DeleteManagedPrefixList" occur in CloudTrail.
I tried it in my environment and was able to confirm that emails were sent via SNS.
I think it will take some time for the monitoring of EventBridge rules to be reflected.
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule.html
Try actually creating or deleting a prefix list and recording the API history in CloudTrail.
Relevant content
- JavaScript SDK - Prefix list version required to modify entry despite not being a required parameterAccepted Answerasked a year ago
- asked 2 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
oh yes, correct it is a evertbridge rule. Will it still work? I checked the cloudtrail logs event history and do see the events when searching for ModifyManagedPrefixList. I tried increasing/decreasing prefix size of an SG.
For your test, did u just create a CW alarm or EB? If CW, how did you set it up?
I created an EventBridge rule with the rule you shared. I haven't created any CloudWatch alarms. You can send emails using just EventBridge rules and SNS topics.
If you look at the actual EventBridge rule screen, the settings will look like the following.

