Class: Aws::EMR::Types::ComputeLimits

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 ComputeLimits data as a hash:

{
  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,
}

The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#maximum_capacity_unitsInteger

The upper boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

Returns:

  • (Integer)


1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1237

class ComputeLimits < Struct.new(
  :unit_type,
  :minimum_capacity_units,
  :maximum_capacity_units,
  :maximum_on_demand_capacity_units,
  :maximum_core_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_core_capacity_unitsInteger

The upper boundary of EC2 units for core node type in a cluster. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.

Returns:

  • (Integer)


1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1237

class ComputeLimits < Struct.new(
  :unit_type,
  :minimum_capacity_units,
  :maximum_capacity_units,
  :maximum_on_demand_capacity_units,
  :maximum_core_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_on_demand_capacity_unitsInteger

The upper boundary of On-Demand EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.

Returns:

  • (Integer)


1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1237

class ComputeLimits < Struct.new(
  :unit_type,
  :minimum_capacity_units,
  :maximum_capacity_units,
  :maximum_on_demand_capacity_units,
  :maximum_core_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#minimum_capacity_unitsInteger

The lower boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

Returns:

  • (Integer)


1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1237

class ComputeLimits < Struct.new(
  :unit_type,
  :minimum_capacity_units,
  :maximum_capacity_units,
  :maximum_on_demand_capacity_units,
  :maximum_core_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end

#unit_typeString

The unit type used for specifying a managed scaling policy.

Returns:

  • (String)


1237
1238
1239
1240
1241
1242
1243
1244
1245
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 1237

class ComputeLimits < Struct.new(
  :unit_type,
  :minimum_capacity_units,
  :maximum_capacity_units,
  :maximum_on_demand_capacity_units,
  :maximum_core_capacity_units)
  SENSITIVE = []
  include Aws::Structure
end