Class: Aws::AutoScaling::Types::RetentionTriggers
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::RetentionTriggers
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#terminate_hook_abandon ⇒ String
Specifies the action when a termination lifecycle hook is abandoned due to failure, timeout, or explicit abandonment (calling CompleteLifecycleAction).
Instance Attribute Details
#terminate_hook_abandon ⇒ String
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`.
7206 7207 7208 7209 7210 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 7206 class RetentionTriggers < Struct.new( :terminate_hook_abandon) SENSITIVE = [] include Aws::Structure end |