enableTerminationProtection

@JvmName(name = "csnwdaacmewjjrwd")
suspend fun enableTerminationProtection(value: Output<Boolean>)
@JvmName(name = "omrwwtvsisurgjhp")
suspend fun enableTerminationProtection(value: Boolean?)

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.