View definition


Defined in


The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN.

The notification messages sent to the target include the following information:

 AutoScalingGroupName. The name of the Auto Scaling group.

 AccountId. The AWS account ID.

 LifecycleTransition. The lifecycle hook type.

 LifecycleActionToken. The lifecycle action token.

 EC2InstanceId. The EC2 instance ID.

 LifecycleHookName. The name of the lifecycle hook.

 NotificationMetadata. User-defined information.

This operation uses the JSON format when sending notifications to an Amazon

SQS queue, and an email key/value pair format when sending notifications to an Amazon SNS topic.

When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key/value pair: "Event": "autoscaling:TEST_NOTIFICATION".