LifecycleHookReference

class aws_cdk.aws_autoscaling.LifecycleHookReference(*, auto_scaling_group_name, lifecycle_hook_name)

Bases: object

A reference to a LifecycleHook resource.

Parameters:
  • auto_scaling_group_name (str) – The AutoScalingGroupName of the LifecycleHook resource.

  • lifecycle_hook_name (str) – The LifecycleHookName of the LifecycleHook resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_autoscaling as autoscaling

lifecycle_hook_reference = autoscaling.LifecycleHookReference(
    auto_scaling_group_name="autoScalingGroupName",
    lifecycle_hook_name="lifecycleHookName"
)

Attributes

auto_scaling_group_name

The AutoScalingGroupName of the LifecycleHook resource.

lifecycle_hook_name

The LifecycleHookName of the LifecycleHook resource.