AWS::AutoScaling::AutoScalingGroup NotificationConfiguration - 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::AutoScaling::AutoScalingGroup NotificationConfiguration

A structure that specifies an Amazon SNS notification configuration for the NotificationConfigurations property of the AWS::AutoScaling::AutoScalingGroup resource.

For an example template snippet, see Configure Amazon EC2 Auto Scaling resources.

For more information, see Get Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide.

Syntax

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

JSON

{ "NotificationTypes" : [ String, ... ], "TopicARN" : [ String, ... ] }

YAML

NotificationTypes: - String TopicARN: - String

Properties

NotificationTypes

A list of event types that send a notification. Event types can include any of the following types.

Allowed values:

  • autoscaling:EC2_INSTANCE_LAUNCH

  • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

  • autoscaling:EC2_INSTANCE_TERMINATE

  • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

  • autoscaling:TEST_NOTIFICATION

Required: No

Type: Array of String

Update requires: No interruption

TopicARN

The Amazon Resource Name (ARN) of the Amazon SNS topic.

Required: Yes

Type: Array of String

Update requires: No interruption