Skip to content

Commit

Permalink
fix(autoscaling): cooldown cannot be set with step scaling actions (#…
Browse files Browse the repository at this point in the history
…30150)

### Issue # (if applicable)

Closes #29779 

### Reason for this change

`cooldown` cannot be set on step scaling and can cause deployment failure in certain regions.

### Description of changes

Deprecate the property and ignore the value. Give a warning.

### Description of how you validated changes

Unit test added.

### Checklist
- [ ] 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
GavinZZ authored May 12, 2024
1 parent c1a3075 commit 6810762
Show file tree
Hide file tree
Showing 12 changed files with 2,336 additions and 3 deletions.

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

Loading

0 comments on commit 6810762

Please sign in to comment.