ILifecycleHook

class aws_cdk.aws_autoscaling.ILifecycleHook(*args, **kwargs)

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

A basic lifecycle hook object.

__init__(*args, **kwargs)

Attributes

node

The construct node in the tree.

Return type

ConstructNode

role

The role for the lifecycle hook to execute.

Return type

IRole

stack

The stack in which this resource is defined.

Return type

Stack