emr_put_managed_scaling_policy: Creates or updates a managed scaling policy for an Amazon EMR...

Description Usage Arguments Value Request syntax

View source: R/emr_operations.R

Description

Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as 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

1
emr_put_managed_scaling_policy(ClusterId, ManagedScalingPolicy)

Arguments

ClusterId

[required] Specifies the ID of an 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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
svc$put_managed_scaling_policy(
  ClusterId = "string",
  ManagedScalingPolicy = list(
    ComputeLimits = list(
      UnitType = "InstanceFleetUnits"|"Instances"|"VCPU",
      MinimumCapacityUnits = 123,
      MaximumCapacityUnits = 123,
      MaximumOnDemandCapacityUnits = 123,
      MaximumCoreCapacityUnits = 123
    )
  )
)

paws.analytics documentation built on March 8, 2021, 1:10 a.m.