Skip to content

Commit

Permalink
feat(autoscaling): add availabilityZoneDistribution property to an …
Browse files Browse the repository at this point in the history
…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*
  • Loading branch information
ren-yamanashi authored Dec 24, 2024
1 parent a81eec6 commit ecfce7c
Show file tree
Hide file tree
Showing 12 changed files with 2,070 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ecfce7c

Please sign in to comment.