Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(autoscaling): add getter/setter for instance termination protection #14308

Merged

Conversation

otterley
Copy link
Contributor

Adds getter/setter methods for enabling and querying instance termination protection. This will be used by EC2 Capacity Provider support for ECS to ensure the flag is set correctly when managed termination protection is enabled.

This is a follow up to #14283.


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

@gitpod-io
Copy link

gitpod-io bot commented Apr 21, 2021

@github-actions github-actions bot added the @aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling label Apr 21, 2021
@otterley
Copy link
Contributor Author

I'm also OK with just making the property readable/writable instead of using a getter/setter, but I believe writable properties aren't really idiomatic in CDK. Happy to go in whichever direction you like.

@NetaNir NetaNir assigned rix0rrr and unassigned NetaNir Apr 21, 2021
@rix0rrr rix0rrr changed the title feat(aws-autoscaling): add getter/setter for instance termination protection feat(autoscaling): add getter/setter for instance termination protection Apr 28, 2021
@mergify
Copy link
Contributor

mergify bot commented Apr 28, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 2f214c8
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Apr 28, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit d3bdcfd into aws:master Apr 28, 2021
john-tipper pushed a commit to john-tipper/aws-cdk that referenced this pull request May 10, 2021
…ion (aws#14308)

Adds getter/setter methods for enabling and querying instance termination protection. This will be used by EC2 Capacity Provider support for ECS to ensure the flag is set correctly when managed termination protection is enabled.

This is a follow up to aws#14283.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
…ion (aws#14308)

Adds getter/setter methods for enabling and querying instance termination protection. This will be used by EC2 Capacity Provider support for ECS to ensure the flag is set correctly when managed termination protection is enabled.

This is a follow up to aws#14283.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants