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.
Contents
- 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 a retained state. Set toterminatefor default termination behavior.Retained instances don't count toward desired capacity and remain until you call
TerminateInstanceInAutoScalingGroup.Type: String
Valid Values:
retain | terminateRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: