enable Termination Protection
Parameters
value
Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide . Termination protection is deactivated on stacks by default. For nested stacks , termination protection is set on the root stack and can't be changed directly on the nested stack.