This template creates an EMR cluster and allows you to specify the managed scaling policy. It includes the instance type, release label, subnet ID, and other properties. The cluster includes a master instance group, a core instance group, and two task instance groups. It also creates the necessary IAM roles and instance profiles. The managed scaling policy includes the minimum and maximum capacity units, maximum core capacity units, maximum on-demand capacity units, and unit type.

CloudFormation Template