instanceLifecyclePolicy
construct an aws.sdk.kotlin.services.autoscaling.model.InstanceLifecyclePolicy inside the given block
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.
Instances in a Retained state will continue to incur standard EC2 charges until terminated.