CmdID / aws / aws cloudformation
aws cloudformation update-termination-protection
Updates termination protection for the specified stack. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--enable-termination-protectionWhether to enable termination protection on the specified stack.--stack-nameThe name or unique ID of the stack for which you want to set termination protection.