PutManagedScalingPolicy
Source:
src/AWS/EMR/PutManagedScalingPolicy.ts
Runtime binding for elasticmapreduce:PutManagedScalingPolicy — attaches or replaces the bound cluster’s managed scaling policy — EMR then resizes the cluster within the configured compute limits.
Scaling the Cluster
Section titled “Scaling the Cluster”const putScalingPolicy = yield* AWS.EMR.PutManagedScalingPolicy(cluster);
yield* putScalingPolicy({ ManagedScalingPolicy: { ComputeLimits: { UnitType: "Instances", MinimumCapacityUnits: 1, MaximumCapacityUnits: 10, }, },});