EventSubscription - AWS Resilience Hub

EventSubscription

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

Contents

eventType

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

Type: String

Valid Values: ScheduledAssessmentFailure | DriftDetected

Required: Yes

name

Unique name to identify an event subscription.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: Yes

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 AWS General Reference guide.

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}$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: