aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

feat(ec2): support `instanceInitiatedShutdownBehavior` for EC2 instance

Open badmintoncryer opened this issue 1 year ago • 1 comments

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


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

badmintoncryer avatar May 12 '24 04:05 badmintoncryer

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

aws-cdk-automation avatar May 12 '24 05:05 aws-cdk-automation

@go-to-k Thank you for your review! I replied to your comment.

badmintoncryer avatar May 23 '24 12:05 badmintoncryer

Thanks always!

badmintoncryer avatar May 23 '24 13:05 badmintoncryer

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

aws-cdk-automation avatar May 26 '24 02:05 aws-cdk-automation

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).

mergify[bot] avatar May 27 '24 03:05 mergify[bot]

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.

aws-cdk-automation avatar Jul 25 '24 21:07 aws-cdk-automation