I don't want users to delete or update the resources in my AWS CloudFormation stack.
Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshooting errors for the AWS CLI. Also, make sure that you're using the most recent AWS CLI version.
To prevent deletion or updates to resources in a CloudFormation stack, take the following actions:
Understand update behaviors of stack resources
Update your stack template
Troubleshooting CloudFormation