Skip to content

AutoScalingGroup

Source code in docs_src/capo_codedeploy/types/auto_scaling_group.py
class AutoScalingGroup(TypedDict, closed=True):
    name: NotRequired[
        "capo_codedeploy.types.auto_scaling_group_name.AutoScalingGroupName"
    ]
    """<p>The Auto Scaling group name.</p>"""
    hook: NotRequired[
        "capo_codedeploy.types.auto_scaling_group_hook.AutoScalingGroupHook"
    ]
    """<p>The name of the launch hook that CodeDeploy installed into the Auto Scaling group.</p> <p>For more information about the launch hook, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors">How Amazon EC2 Auto Scaling works with CodeDeploy</a> in the <i>CodeDeploy User Guide</i>.</p>"""
    termination_hook: NotRequired[
        "capo_codedeploy.types.auto_scaling_group_hook.AutoScalingGroupHook"
    ]
    """<p>The name of the termination hook that CodeDeploy installed into the Auto Scaling group.</p> <p>For more information about the termination hook, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html#integrations-aws-auto-scaling-behaviors-hook-enable">Enabling termination deployments during Auto Scaling scale-in events</a> in the <i>CodeDeploy User Guide</i>.</p>"""

hook instance-attribute

hook: NotRequired[AutoScalingGroupHook]

The name of the launch hook that CodeDeploy installed into the Auto Scaling group.

For more information about the launch hook, see How Amazon EC2 Auto Scaling works with CodeDeploy in the CodeDeploy User Guide.

name instance-attribute

name: NotRequired[AutoScalingGroupName]

The Auto Scaling group name.

termination_hook instance-attribute

termination_hook: NotRequired[AutoScalingGroupHook]

The name of the termination hook that CodeDeploy installed into the Auto Scaling group.

For more information about the termination hook, see Enabling termination deployments during Auto Scaling scale-in events in the CodeDeploy User Guide.