This template creates an Amazon ECS cluster named MyFargateCluster with the FARGATE and FARGATE_SPOT capacity providers. It also defines a default capacity provider strategy where tasks launched will be split evenly between the FARGATE and FARGATE_SPOT capacity providers.

CloudFormation Template