Skip to content

OnDemandResizingSpecification

Source code in docs_src/capo_emr/types/on_demand_resizing_specification.py
class OnDemandResizingSpecification(TypedDict, closed=True):
    timeout_duration_minutes: NotRequired["capo_emr.types.whole_number.WholeNumber"]
    """<p>On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.</p>"""
    allocation_strategy: NotRequired[
        "capo_emr.types.on_demand_provisioning_allocation_strategy.OnDemandProvisioningAllocationStrategy"
    ]
    """<p>Specifies the allocation strategy to use to launch On-Demand instances during a resize. The default is <code>lowest-price</code>.</p>"""
    capacity_reservation_options: NotRequired[
        "capo_emr.types.on_demand_capacity_reservation_options.OnDemandCapacityReservationOptions"
    ]

allocation_strategy instance-attribute

allocation_strategy: NotRequired[OnDemandProvisioningAllocationStrategy]

Specifies the allocation strategy to use to launch On-Demand instances during a resize. The default is lowest-price.

capacity_reservation_options instance-attribute

capacity_reservation_options: NotRequired[OnDemandCapacityReservationOptions]

timeout_duration_minutes instance-attribute

timeout_duration_minutes: NotRequired[WholeNumber]

On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.