AddInstanceFleet
Source:
src/AWS/EMR/AddInstanceFleet.ts
Runtime binding for elasticmapreduce:AddInstanceFleet — adds a task instance fleet to the bound cluster (instance-fleet clusters only; TASK fleets can be added after launch).
Scaling the Cluster
Section titled “Scaling the Cluster”const addFleet = yield* AWS.EMR.AddInstanceFleet(cluster);
const { InstanceFleetId } = yield* addFleet({ InstanceFleet: { InstanceFleetType: "TASK", TargetSpotCapacity: 2, InstanceTypeConfigs: [{ InstanceType: "m5.xlarge" }], },});