Resolves the SNS target for a module's alarms: either an existing topic referenced by ARN, or a created CMK-encrypted topic (construct id AlarmTopic under scope) with the email subscriptions and CloudWatch grants it needs.
AlarmTopic
scope
Call validateAlarmNotificationTarget first; this only resolves.
Scope the created topic is added to
The notification settings, topic name, key, and alarm name pattern
the created topic (absent for an existing ARN) and the ARN to publish to
Error if a topic is to be created without a KMS key, or with an imported key whose policy cannot grant CloudWatch its use
Resolves the SNS target for a module's alarms: either an existing topic referenced by ARN, or a created CMK-encrypted topic (construct id
AlarmTopicunderscope) with the email subscriptions and CloudWatch grants it needs.Call validateAlarmNotificationTarget first; this only resolves.