Monitoring, Logging, Analysis, Remediation, and Performance Optimization

An alarm in account A must publish to an unencrypted SNS topic in account B in the same Region. Account B must authorize only that alarm, rather than every alarm in account A. Which topic policy permission meets this requirement?

Show the answer

Correct answerD. Allow cloudwatch.amazonaws.com sns:Publish, conditioned on aws:SourceArn matching the alarm ARN.

AWhy not this: EventBridge is not the publishing service for a direct CloudWatch alarm SNS action.

BWhy not this: The alarm publishes through the CloudWatch service principal, not account A's root principal.

CWhy not this: The source-account condition alone does not restrict permission to one alarm within that account.

DWhy this is right: The service principal authorizes CloudWatch, and the exact source ARN limits permission to the designated alarm.

The SNS topic policy must authorize the CloudWatch service principal, with aws:SourceArn restricting publishing to the specific alarm. An aws:SourceAccount condition restricts the source account but does not distinguish alarms within it.