CapacityReservationSpecificationDict¶
Dictionary Type¶
CapacityReservationSpecificationDict
¶
Bases: TypedDict
Dictionary form of CapacityReservationSpecification.
Attributes¶
capacity_reservation_preference
instance-attribute
¶
capacity_reservation_preference: str | None
Indicates the instance's Capacity Reservation preferences. Possible preferences include:
-
capacity-reservations-only- The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch. -
open- The instance can run in anyopenCapacity Reservation that has matching attributes (instance type, platform, Availability Zone, and tenancy). If capacity isn't available, the instance runs as an On-Demand Instance. -
none- The instance doesn't run in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance.
capacity_reservation_target
instance-attribute
¶
capacity_reservation_target: CapacityReservationTarget | CapacityReservationTargetDict | None
Information about the target Capacity Reservation or Capacity Reservation group.