Skip to content

CapacityReservationRequest

Source code in docs_src/capo_batch/types/capacity_reservation_request.py
class CapacityReservationRequest(TypedDict, closed=True):
    reservation_group_arn: NotRequired["capo_batch.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the capacity reservation group to target.</p>"""
    reservation_preference: NotRequired["capo_batch.types.string.String"]
    """<p>The capacity reservation preference. Valid values:</p> <ul> <li> <p> <code>RESERVATIONS_ONLY</code> — Use only capacity reservations.</p> </li> <li> <p> <code>RESERVATIONS_FIRST</code> — Prefer capacity reservations but fall back to On-Demand if unavailable.</p> </li> <li> <p> <code>RESERVATIONS_EXCLUDED</code> — Do not use capacity reservations.</p> </li> </ul>"""

reservation_group_arn instance-attribute

reservation_group_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the capacity reservation group to target.

reservation_preference instance-attribute

reservation_preference: NotRequired[String]

The capacity reservation preference. Valid values:

  • RESERVATIONS_ONLY — Use only capacity reservations.

  • RESERVATIONS_FIRST — Prefer capacity reservations but fall back to On-Demand if unavailable.

  • RESERVATIONS_EXCLUDED — Do not use capacity reservations.