You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EMR::Types::ComputeLimits
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::ComputeLimits
- Defined in:
- (unknown)
Overview
When passing ComputeLimits as input to an Aws::Client method, you can use a vanilla 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.
Returned by:
Instance Attribute Summary collapse
-
#maximum_capacity_units ⇒ Integer
The upper boundary of EC2 units.
-
#maximum_core_capacity_units ⇒ Integer
The upper boundary of EC2 units for core node type in a cluster.
-
#maximum_on_demand_capacity_units ⇒ Integer
The upper boundary of On-Demand EC2 units.
-
#minimum_capacity_units ⇒ Integer
The lower boundary of EC2 units.
-
#unit_type ⇒ String
The unit type used for specifying a managed scaling policy.
Instance Attribute Details
#maximum_capacity_units ⇒ Integer
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.
#maximum_core_capacity_units ⇒ Integer
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.
#maximum_on_demand_capacity_units ⇒ Integer
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.
#minimum_capacity_units ⇒ Integer
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.
#unit_type ⇒ String
The unit type used for specifying a managed scaling policy.
Possible values:
- InstanceFleetUnits
- Instances
- VCPU