Skip to content

Commit

Permalink
feat(docdb): support snapshot removal policy (#28798)
Browse files Browse the repository at this point in the history
Adds support for `removalPolicy: RemovalPolicy.SNAPSHOT` for DocumentDB
clusters as specified in the
[documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html).

To allow users to specify custom policies for the cluster's instances
and security group the following properties have been added:
* `instanceRemovalPolicy`
* `securityGroupRemovalPolicy`

Closes #28773.
Closes #28861

----

*By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license*
  • Loading branch information
GavinZZ committed Feb 29, 2024
2 parents 457afa9 + ec36779 commit 05b1bb0
Show file tree
Hide file tree
Showing 15 changed files with 2,275 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 05b1bb0

Please sign in to comment.