TopicHook

class aws_cdk.aws_autoscaling_hooktargets.TopicHook(topic)

Bases: object

Use an SNS topic as a hook target.

__init__(topic)
Parameters

topic (ITopic) –

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