This template creates an EMR cluster and includes a task instance fleet. It specifies the instance type, release label, subnet ID, termination protection, and other properties. The cluster includes a master instance fleet, a core instance fleet, and a task instance fleet. It also creates the necessary IAM roles and instance profiles.

CloudFormation Template