CfnLifecycleHookProps

class aws_cdk.aws_autoscaling.CfnLifecycleHookProps(*, auto_scaling_group_name, lifecycle_transition, default_result=None, heartbeat_timeout=None, lifecycle_hook_name=None, notification_metadata=None, notification_target_arn=None, role_arn=None)

Bases: object

__init__(*, auto_scaling_group_name, lifecycle_transition, default_result=None, heartbeat_timeout=None, lifecycle_hook_name=None, notification_metadata=None, notification_target_arn=None, role_arn=None)

Properties for defining a AWS::AutoScaling::LifecycleHook.

Parameters
  • auto_scaling_group_name (str) – AWS::AutoScaling::LifecycleHook.AutoScalingGroupName.

  • lifecycle_transition (str) – AWS::AutoScaling::LifecycleHook.LifecycleTransition.

  • default_result (Optional[str]) – AWS::AutoScaling::LifecycleHook.DefaultResult.

  • heartbeat_timeout (Union[int, float, None]) – AWS::AutoScaling::LifecycleHook.HeartbeatTimeout.

  • lifecycle_hook_name (Optional[str]) – AWS::AutoScaling::LifecycleHook.LifecycleHookName.

  • notification_metadata (Optional[str]) – AWS::AutoScaling::LifecycleHook.NotificationMetadata.

  • notification_target_arn (Optional[str]) – AWS::AutoScaling::LifecycleHook.NotificationTargetARN.

  • role_arn (Optional[str]) – AWS::AutoScaling::LifecycleHook.RoleARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html

Attributes

auto_scaling_group_name

AWS::AutoScaling::LifecycleHook.AutoScalingGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-autoscalinggroupname

Return type

str

default_result

AWS::AutoScaling::LifecycleHook.DefaultResult.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-defaultresult

Return type

Optional[str]

heartbeat_timeout

AWS::AutoScaling::LifecycleHook.HeartbeatTimeout.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-heartbeattimeout

Return type

Union[int, float, None]

lifecycle_hook_name

AWS::AutoScaling::LifecycleHook.LifecycleHookName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-autoscaling-lifecyclehook-lifecyclehookname

Return type

Optional[str]

lifecycle_transition

AWS::AutoScaling::LifecycleHook.LifecycleTransition.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-lifecycletransition

Return type

str

notification_metadata

AWS::AutoScaling::LifecycleHook.NotificationMetadata.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-notificationmetadata

Return type

Optional[str]

notification_target_arn

AWS::AutoScaling::LifecycleHook.NotificationTargetARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-notificationtargetarn

Return type

Optional[str]

role_arn

AWS::AutoScaling::LifecycleHook.RoleARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-as-lifecyclehook.html#cfn-as-lifecyclehook-rolearn

Return type

Optional[str]