Class: Aws::AutoScaling::Types::InstanceLifecyclePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::InstanceLifecyclePolicy
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
Defines the lifecycle policy for instances in an Auto Scaling group. This policy controls instance behavior when lifecycles transition and operations fail. Use lifecycle policies to ensure graceful shutdown for stateful workloads or applications requiring extended draining periods.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#retention_triggers ⇒ Types::RetentionTriggers
Specifies the conditions that trigger instance retention behavior.
Instance Attribute Details
#retention_triggers ⇒ Types::RetentionTriggers
Specifies the conditions that trigger instance retention behavior. These triggers determine when instances should move to a Retained state instead of being terminated. This allows you to maintain control over instance management when lifecycle operations fail.
3608 3609 3610 3611 3612 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3608 class InstanceLifecyclePolicy < Struct.new( :retention_triggers) SENSITIVE = [] include Aws::Structure end |