Skip to content

AvailabilityZoneImpairmentPolicy

Source code in docs_src/capo_auto_scaling/types/availability_zone_impairment_policy.py
class AvailabilityZoneImpairmentPolicy(TypedDict, closed=True):
    zonal_shift_enabled: NotRequired[
        "capo_auto_scaling.types.zonal_shift_enabled.ZonalShiftEnabled"
    ]
    """<p> If <code>true</code>, enable zonal shift for your Auto Scaling group. </p>"""
    impaired_zone_health_check_behavior: NotRequired[
        "capo_auto_scaling.types.impaired_zone_health_check_behavior.ImpairedZoneHealthCheckBehavior"
    ]
    """<p> Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select <code>Replace unhealthy</code>, instances that appear unhealthy will be replaced in all Availability Zones. If you select <code>Ignore unhealthy</code>, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>"""

impaired_zone_health_check_behavior instance-attribute

impaired_zone_health_check_behavior: NotRequired[ImpairedZoneHealthCheckBehavior]

Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select Replace unhealthy, instances that appear unhealthy will be replaced in all Availability Zones. If you select Ignore unhealthy, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.

zonal_shift_enabled instance-attribute

zonal_shift_enabled: NotRequired[ZonalShiftEnabled]

If true, enable zonal shift for your Auto Scaling group.