Ensures that deletion policy is used for Amazon CloudFormation stacks.
DeletionPolicy attribute allows to preserve and backup a resource when its stack is deleted. By default, AWS CloudFormation deletes the resource and all its content if a resource has no DeletionPolicy attribute in a template.
Add DeletionPolicy attribute in the AWS Cloudformation stack template.