FunctionHook

class aws_cdk.aws_autoscaling_hooktargets.FunctionHook(fn)

Bases: object

Use a Lambda Function as a hook target.

Internally creates a Topic to make the connection.

__init__(fn)
Parameters

fn (IFunction) –

Return type

None

Methods

bind(scope, lifecycle_hook)

Called when this object is used as the target of a lifecycle hook.

Parameters
Return type

LifecycleHookTargetConfig