Skip to content

/AWS1/CL_ASCINSTANCELCPOLICY

The instance lifecycle policy for the Auto Scaling group. This policy controls instance behavior when an instance transitions through its lifecycle states. Configure retention triggers to specify when instances should move to a Retained state instead of automatic termination.

For more information, see Control instance retention with instance lifecycle policies in the Amazon EC2 Auto Scaling User Guide.

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 automatic termination. This allows you to maintain control over instance management when lifecycles transition and 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 automatic termination. This allows you to maintain control over instance management when lifecycles transition and operations fail.

Accessible with the following methods

Method Description
GET_RETENTIONTRIGGERS() Getter for RETENTIONTRIGGERS