Put Managed Scaling Policy
| emr_put_managed_scaling_policy | R Documentation | 
Creates or updates a managed scaling policy for an Amazon EMR cluster¶
Description¶
Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as Amazon EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Usage¶
emr_put_managed_scaling_policy(ClusterId, ManagedScalingPolicy)
Arguments¶
ClusterId | 
[required] Specifies the ID of an Amazon EMR cluster where the managed scaling policy is attached.  | 
ManagedScalingPolicy | 
[required] Specifies the constraints for the managed scaling policy.  | 
Value¶
An empty list.
Request syntax¶
svc$put_managed_scaling_policy(
  ClusterId = "string",
  ManagedScalingPolicy = list(
    ComputeLimits = list(
      UnitType = "InstanceFleetUnits"|"Instances"|"VCPU",
      MinimumCapacityUnits = 123,
      MaximumCapacityUnits = 123,
      MaximumOnDemandCapacityUnits = 123,
      MaximumCoreCapacityUnits = 123
    ),
    UtilizationPerformanceIndex = 123,
    ScalingStrategy = "DEFAULT"|"ADVANCED"
  )
)