Skip to content

Commit ecfce7c

Browse files
feat(autoscaling): add availabilityZoneDistribution property to an AutoScalingGroup (#32100)
### Issue # (if applicable) n/A ### Reason for this change We can set a `availabilityZoneDistribution` for an AutoScalingGroup from cloudformation, but this was not supported in the AWS CDK L2 construct. ### Description of changes Add `availabilityZoneDistribution` property to CommonAutoScalingGroupProps and set it in the CfnAutoScalingGroup. ### Description of how you validated changes Added both unit and integration tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a81eec6 commit ecfce7c

12 files changed

+2070
-0
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-autoscaling/test/integ.asg-capacity-distribution-strategy.js.snapshot/CapacityDistributionStrategyTestDefaultTestDeployAssert83F1364B.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-autoscaling/test/integ.asg-capacity-distribution-strategy.js.snapshot/CapacityDistributionStrategyTestDefaultTestDeployAssert83F1364B.template.json

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-autoscaling/test/integ.asg-capacity-distribution-strategy.js.snapshot/aws-cdk-autoscaling-integ.assets.json

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)