interface AvailabilityZoneImpairmentPolicyProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AutoScaling.CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsautoscaling#CfnAutoScalingGroup_AvailabilityZoneImpairmentPolicyProperty |
Java | software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty |
Python | aws_cdk.aws_autoscaling.CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty |
TypeScript | aws-cdk-lib » aws_autoscaling » CfnAutoScalingGroup » AvailabilityZoneImpairmentPolicyProperty |
Describes an Availability Zone impairment policy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const availabilityZoneImpairmentPolicyProperty: autoscaling.CfnAutoScalingGroup.AvailabilityZoneImpairmentPolicyProperty = {
impairedZoneHealthCheckBehavior: 'impairedZoneHealthCheckBehavior',
zonalShiftEnabled: false,
};
Properties
Name | Type | Description |
---|---|---|
impaired | string | Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. |
zonal | boolean | IResolvable | If true , enable zonal shift for your Auto Scaling group. |
impairedZoneHealthCheckBehavior
Type:
string
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 .
zonalShiftEnabled
Type:
boolean |
IResolvable
If true
, enable zonal shift for your Auto Scaling group.