feat(ec2): support `instanceInitiatedShutdownBehavior` for EC2 instance
Issue # (if applicable)
Closes #30164
Reason for this change
Cloudformation supports to specify instanceInitiatedShutdownBehavior but CDK cannot.
Description of changes
Add instanceInitiatedShutdownBehavior to InstanceProps.
Description of how you validated changes
Add both unit and integ tests.
Checklist
- [x] My code adheres to the CONTRIBUTING GUIDE and DESIGN GUIDELINES
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
AWS CodeBuild CI Report
- CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
- Commit ID: 630481f301f574e85827131d0326fced0d40a08d
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
@go-to-k Thank you for your review! I replied to your comment.
Thanks always!
AWS CodeBuild CI Report
- CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
- Commit ID: 5f4ce774b7c0afc2b954dc3b321c8e8198f986b9
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.