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
show all
Defined in:
(unknown)

Overview

Note:

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

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)

    The upper boundary of EC2 units.

#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)

    The upper boundary of EC2 units for core node type in a cluster.

#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)

    The upper boundary of On-Demand EC2 units.

#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)

    The lower boundary of EC2 units.

#unit_typeString

The unit type used for specifying a managed scaling policy.

Possible values:

  • InstanceFleetUnits
  • Instances
  • VCPU

Returns:

  • (String)

    The unit type used for specifying a managed scaling policy.