Skip to content

/AWS1/CL_ASCINSTANCELCPOLICY

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.

CONSTRUCTOR

IMPORTING

Optional arguments:

io_retentiontriggers TYPE REF TO /AWS1/CL_ASCRETENTIONTRIGGERS /AWS1/CL_ASCRETENTIONTRIGGERS

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.


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_RETENTIONTRIGGERS() Getter for RETENTIONTRIGGERS