AWS::ResilienceHub::App EventSubscription - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::ResilienceHub::App EventSubscription

Indicates an event you would like to subscribe and get notification for. Currently, Amazon Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "EventType" : String, "Name" : String, "SnsTopicArn" : String }

YAML

EventType: String Name: String SnsTopicArn: String

Properties

EventType

The type of event you would like to subscribe and get notification for. Currently, Amazon Resilience Hub supports notifications only for Drift detected (DriftDetected) and Scheduled assessment failure (ScheduledAssessmentFailure) events.

Required: Yes

Type: String

Allowed values: ScheduledAssessmentFailure | DriftDetected

Update requires: No interruption

Name

Unique name to identify an event subscription.

Required: Yes

Type: String

Maximum: 256

Update requires: No interruption

SnsTopicArn

Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic. The format for this ARN is: arn:partition:sns:region:account:topic-name. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon General Reference guide.

Required: No

Type: String

Pattern: ^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+.-]{0,1023}$

Update requires: No interruption