Class: Aws::EMR::Types::PutManagedScalingPolicyInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Note:

When making an API call, you may pass PutManagedScalingPolicyInput data as a hash:

{
  cluster_id: "ClusterId", # required
  managed_scaling_policy: { # required
    compute_limits: {
      unit_type: "InstanceFleetUnits", # required, accepts InstanceFleetUnits, Instances, VCPU
      minimum_capacity_units: 1, # required
      maximum_capacity_units: 1, # required
      maximum_on_demand_capacity_units: 1,
      maximum_core_capacity_units: 1,
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

Specifies the ID of an EMR cluster where the managed scaling policy is attached.

Returns:

  • (String)


5958
5959
5960
5961
5962
5963
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5958

class PutManagedScalingPolicyInput < Struct.new(
  :cluster_id,
  :managed_scaling_policy)
  SENSITIVE = []
  include Aws::Structure
end

#managed_scaling_policyTypes::ManagedScalingPolicy

Specifies the constraints for the managed scaling policy.



5958
5959
5960
5961
5962
5963
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 5958

class PutManagedScalingPolicyInput < Struct.new(
  :cluster_id,
  :managed_scaling_policy)
  SENSITIVE = []
  include Aws::Structure
end