Auto terminate idle EMR using Amazon CloudWatch metrics and AWS Lambda.
Create resources that are required to create auto terminate emr's
Use auto_terminate_resource_stack.json file to create stack to generate resource's like Roles, Toppics, Lamda for terminating emr etc.
Use auto_terminate_emr_stack.json file to create stack for creating emr cluster's with specified default configuration in the current json file.