Class: Aws::AutoScaling::Types::RetentionTriggers

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#terminate_hook_abandonString

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`.

Returns:

  • (String)


7356
7357
7358
7359
7360
# File 'lib/aws-sdk-autoscaling/types.rb', line 7356

class RetentionTriggers < Struct.new(
  :terminate_hook_abandon)
  SENSITIVE = []
  include Aws::Structure
end