AWS::AutoScaling::AutoScalingGroup NotificationConfiguration - AWS CloudFormation

AWS::AutoScaling::AutoScalingGroup NotificationConfiguration

NotificationConfiguration specifies a notification configuration for the NotificationConfigurations property of AWS::AutoScaling::AutoScalingGroup. NotificationConfiguration specifies the events that the Amazon EC2 Auto Scaling group sends notifications for.

For example snippets, see Declaring an Auto Scaling group with a launch template and notifications.

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

Syntax

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

JSON

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

YAML

NotificationTypes: - String TopicARN: String

Properties

NotificationTypes

A list of event types that trigger 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: List of String

Update requires: No interruption

TopicARN

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

Required: Yes

Type: String

Update requires: No interruption