Skip to content

CapacityReservationStatus

Source code in docs_src/capo_ec2/types/capacity_reservation_status.py
class CapacityReservationStatus(TypedDict, closed=True):
    capacity_reservation_id: NotRequired[
        "capo_ec2.types.capacity_reservation_id.CapacityReservationId"
    ]
    """<p>The ID of the Capacity Reservation.</p>"""
    total_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The combined amount of <code>Available</code> and <code>Unavailable</code> capacity in the Capacity Reservation.</p>"""
    total_available_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.</p>"""
    total_unavailable_capacity: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.</p>"""

capacity_reservation_id instance-attribute

capacity_reservation_id: NotRequired[CapacityReservationId]

The ID of the Capacity Reservation.

total_available_capacity instance-attribute

total_available_capacity: NotRequired[Integer]

The remaining capacity. Indicates the amount of resources that can be launched into the Capacity Reservation.

total_capacity instance-attribute

total_capacity: NotRequired[Integer]

The combined amount of Available and Unavailable capacity in the Capacity Reservation.

total_unavailable_capacity instance-attribute

total_unavailable_capacity: NotRequired[Integer]

The used capacity. Indicates that the capacity is in use by resources that are running in the Capacity Reservation.