LifecycleTransition

class aws_cdk.aws_autoscaling.LifecycleTransition

Bases: enum.Enum

What instance transition to attach the hook to.

Attributes

INSTANCE_LAUNCHING

Execute the hook when an instance is about to be added.

INSTANCE_TERMINATING

Execute the hook when an instance is about to be terminated.

Attributes

INSTANCE_LAUNCHING = 'INSTANCE_LAUNCHING'

Execute the hook when an instance is about to be added.

INSTANCE_TERMINATING = 'INSTANCE_TERMINATING'

Execute the hook when an instance is about to be terminated.