Skip to content

OnDemandProvisioningSpecification

Source code in docs_src/capo_emr/types/on_demand_provisioning_specification.py
class OnDemandProvisioningSpecification(TypedDict, closed=True):
    allocation_strategy: NotRequired[
        "capo_emr.types.on_demand_provisioning_allocation_strategy.OnDemandProvisioningAllocationStrategy"
    ]
    """<p>Specifies the strategy to use in launching On-Demand instance fleets. Available options are <code>lowest-price</code> and <code>prioritized</code>. <code>lowest-price</code> specifies to launch the instances with the lowest price first, and <code>prioritized</code> specifies that Amazon EMR should launch the instances with the highest priority first. The default is <code>lowest-price</code>.</p>"""
    capacity_reservation_options: NotRequired[
        "capo_emr.types.on_demand_capacity_reservation_options.OnDemandCapacityReservationOptions"
    ]
    """<p>The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.</p>"""

allocation_strategy instance-attribute

allocation_strategy: NotRequired[OnDemandProvisioningAllocationStrategy]

Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

capacity_reservation_options instance-attribute

capacity_reservation_options: NotRequired[OnDemandCapacityReservationOptions]

The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.