This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::AutoScaling::AutoScalingGroup RetentionTriggers
Defines the specific triggers that cause instances to be retained in a Retained state rather than terminated. Each trigger corresponds to a different failure scenario during the instance lifecycle. This allows fine-grained control over when to preserve instances for manual intervention.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "TerminateHookAbandon" :String}
YAML
TerminateHookAbandon:String
Properties
TerminateHookAbandon-
Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
Set to
Retainto move instances to aRetainedstate. Set toTerminatefor default termination behavior.Retained instances don't count toward desired capacity and remain until you call
TerminateInstanceInAutoScalingGroup.Required: No
Type: String
Allowed values:
retain | terminateUpdate requires: No interruption