Stack / Attribute / retain_except_on_create
retain_except_on_create#
- CloudFormation.Stack.retain_except_on_create#
(boolean) –
This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained.
RetainExceptOnCreate
can be specified for any resource that supports the DeletionPolicy attribute.