Enabling EMR termination protection using CloudFormation Template - isgaur/AWS-BigData-Solutions GitHub Wiki
To create an aws EMR cluster using cloudformation and ensure the EMR_TerminationProtection is enabled while creating a new EMR cluster.
This is doable using the below syntax within the json you have for the cloud formation. Please set it to true.Details are also provided here.
"TerminationProtected" : {
"Type" : "String",
"Default" : "true"
}
Reference : - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html