1 Answer
- Newest
- Most votes
- Most comments
0
Seems that the SNS topic policy for the third topic does not correctly allow the cloudwatch.amazonaws.com service principal to publish.
To ensure the following:
{
"Effect": "Allow",
"Principal": { "Service": "cloudwatch.amazonaws.com" },
"Action": "sns:Publish",
"Resource": "<topic-arn>",
"Condition": { "StringEquals": { "AWS:SourceOwner": "<account-id>" } }
}
https://docs.aws.amazon.com/sns/latest/dg/sns-monitoring-using-cloudwatch.html
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sns.TopicPolicy.html
Relevant content
asked 4 years ago
