Skip to content

ComputeLimits

Source code in docs_src/capo_emr/types/compute_limits.py
class ComputeLimits(TypedDict, closed=True):
    unit_type: NotRequired[
        "capo_emr.types.compute_limits_unit_type.ComputeLimitsUnitType"
    ]
    """<p> The unit type used for specifying a managed scaling policy. </p>"""
    minimum_capacity_units: NotRequired["capo_emr.types.integer.Integer"]
    """<p> The lower boundary of Amazon 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. </p>"""
    maximum_capacity_units: NotRequired["capo_emr.types.integer.Integer"]
    """<p> The upper boundary of Amazon 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. </p>"""
    maximum_on_demand_capacity_units: NotRequired["capo_emr.types.integer.Integer"]
    """<p> The upper boundary of On-Demand Amazon 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. </p>"""
    maximum_core_capacity_units: NotRequired["capo_emr.types.integer.Integer"]
    """<p> The upper boundary of Amazon 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. </p>"""

maximum_capacity_units instance-attribute

maximum_capacity_units: NotRequired[Integer]

The upper boundary of Amazon 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 instance-attribute

maximum_core_capacity_units: NotRequired[Integer]

The upper boundary of Amazon 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 instance-attribute

maximum_on_demand_capacity_units: NotRequired[Integer]

The upper boundary of On-Demand Amazon 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 instance-attribute

minimum_capacity_units: NotRequired[Integer]

The lower boundary of Amazon 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 instance-attribute

unit_type: NotRequired[ComputeLimitsUnitType]

The unit type used for specifying a managed scaling policy.