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(aws-autoscaling): Add support for termination policies #17936

Merged
merged 6 commits into from
Dec 29, 2021
Merged

feat(aws-autoscaling): Add support for termination policies #17936

merged 6 commits into from
Dec 29, 2021

Conversation

nwalters512
Copy link
Contributor

This PR adds support for termination policies to the AutoScalingGroup resource.

aws autoscaling describe-termination-policy-types --region us-east-2 reports the existence of a Lambda termination type, but that isn't documented in the CloudFormation docs, so I opted to omit it.

Closes #15654.

@gitpod-io
Copy link

gitpod-io bot commented Dec 9, 2021

@github-actions github-actions bot added the @aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling label Dec 9, 2021
@nwalters512 nwalters512 marked this pull request as ready for review December 9, 2021 23:08
comcalvi
comcalvi previously approved these changes Dec 29, 2021
@comcalvi comcalvi added the pr/do-not-merge This PR should not be merged at this time. label Dec 29, 2021
@comcalvi
Copy link
Contributor

Conditional approval on adding a section to the README to satisfy the linter.

@mergify mergify bot dismissed comcalvi’s stale review December 29, 2021 21:16

Pull request has been modified.

@nwalters512
Copy link
Contributor Author

nwalters512 commented Dec 29, 2021

@comcalvi I just added a small section to the README!

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

@comcalvi comcalvi removed the pr/do-not-merge This PR should not be merged at this time. label Dec 29, 2021
Copy link
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the readme update!

@mergify mergify bot merged commit 9e6f977 into aws:master Dec 29, 2021
@mergify
Copy link
Contributor

mergify bot commented Dec 29, 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).

@nwalters512 nwalters512 deleted the feat/asg-termination-policy branch December 29, 2021 23:54
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
This PR adds support for [termination policies](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-termpolicy) to the `AutoScalingGroup` resource.

`aws autoscaling describe-termination-policy-types --region us-east-2` reports the existence of a `Lambda` termination type, but that isn't documented in the CloudFormation docs, so I opted to omit it.

Closes aws#15654.
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.

(aws-autoscaling): support for terminationPolicies
3 participants