LifecycleTransition

class aws_cdk.aws_autoscaling.LifecycleTransition(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: 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.