Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cloudfront): warning on empty
domainNames
to alert a manual a…
…ction (#31367) ### Reason for this change Follow-up to #31001. The user need to run `associate-alias` cli command manually when moving an alternate domain name. Adding a warning will help users not to forget. ### Description of changes Add a warning annotation when `domainNames` is empty. ### Description of how you validated changes Added an expectation to validate the warning. ### 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