ReservedCapacityOptionsRequestDict¶
Dictionary Type¶
ReservedCapacityOptionsRequestDict
¶
Bases: TypedDict
Dictionary form of ReservedCapacityOptionsRequest.
Attributes¶
allocation_strategy
instance-attribute
¶
allocation_strategy: str | None
The strategy that determines the order in which EC2 Fleet launches
instances across the reservation types that you specify. The only
supported value is prioritized, which launches instances in the
priority order that you specify in your launch template overrides. If
you don't specify an allocation strategy, instances are launched in a
random order.
capacity_reservation_target
instance-attribute
¶
capacity_reservation_target: FleetCapacityReservationTargetRequest | FleetCapacityReservationTargetRequestDict | None
The Capacity Reservations or Capacity Reservation Resource Groups to use for fulfilling the EC2 Fleet request. You can specify Capacity Reservation IDs or a Capacity Reservation Resource Group ARN, but not both.
reservation_types
instance-attribute
¶
The types of Capacity Reservations to use for fulfilling the EC2 Fleet request. This is an ordered list: EC2 Fleet attempts to launch instances into each Capacity Reservation type in the order that you specify them before moving on to the next type.
reserved_capacity_fallback_options
instance-attribute
¶
reserved_capacity_fallback_options: ReservedCapacityFallbackOptionsRequest | ReservedCapacityFallbackOptionsRequestDict | None
The fallback behavior for the EC2 Fleet when there is not enough
reserved capacity available to meet the target capacity. This member
takes a ReservedCapacityFallbackOptionsRequest structure, in which you
set MarketTypes to the instance purchasing options to fall back to.