RetentionTriggers
¶
Source code in docs_src/capo_auto_scaling/types/retention_triggers.py
terminate_hook_abandon
instance-attribute
¶
terminate_hook_abandon: NotRequired[RetentionAction]
Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
Set to retain to move instances to a retained state. Set to terminate for default termination behavior.
Retained instances don't count toward desired capacity and remain until you call TerminateInstanceInAutoScalingGroup.