Skip to content

Commit 9e19629

Browse files
CCM-10257: Implement Eventpub in Core
1 parent 7cabe9d commit 9e19629

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
resource "aws_cloudwatch_metric_alarm" "sns_delivery_failures" {
2+
alarm_name = "${local.csi}-sns-delivery-failures"
3+
alarm_description = "RELIABILITY: Alarm when SNS topic ${aws_sns_topic.main.name} has delivery failures"
4+
comparison_operator = "GreaterThanThreshold"
5+
evaluation_periods = 1
6+
metric_name = "NumberOfNotificationsFailed"
7+
namespace = "AWS/SNS"
8+
period = 300
9+
statistic = "Sum"
10+
threshold = 0
11+
treat_missing_data = "notBreaching"
12+
13+
dimensions = {
14+
TopicName = aws_sns_topic.main.name
15+
}
16+
}

0 commit comments

Comments
 (0)