This template creates a Capacity Reservation Fleet with the specified attributes. The Capacity Reservation Fleet will create Capacity Reservations for 2 c4.large or c5.large instances. The Fleet prioritizes c4.large over c5.large and both instance types have the same weight.

CloudFormation Template