DeletionPolicy attribute - AWS CloudFormation
Specify how to handle resource deletion in AWS CloudFormation with the DeletionPolicy attribute.