aws emr set-termination-protection
SetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--cluster-idsA list of strings that uniquely identify the clusters to protect.--termination-protectedA Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.