Skip to content

CapacityReservationCommitmentInfo

Source code in docs_src/capo_ec2/types/capacity_reservation_commitment_info.py
class CapacityReservationCommitmentInfo(TypedDict, closed=True):
    committed_instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The instance capacity that you committed to when you requested the future-dated Capacity Reservation.</p>"""
    commitment_end_date: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (<code>YYYY-MM-DDThh:mm:ss.sssZ</code>). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.</p>"""
    commitment_duration: NotRequired["capo_ec2.types.boxed_long.BoxedLong"]
    """<p>The commitment duration, in seconds, for the future-dated Capacity Reservation. This is the minimum duration for which you commit to having the Capacity Reservation in the <code>active</code> state in your account after it has been delivered.</p>"""

commitment_duration instance-attribute

commitment_duration: NotRequired[BoxedLong]

The commitment duration, in seconds, for the future-dated Capacity Reservation. This is the minimum duration for which you commit to having the Capacity Reservation in the active state in your account after it has been delivered.

commitment_end_date instance-attribute

commitment_end_date: NotRequired[MillisecondDateTime]

The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.

committed_instance_count instance-attribute

committed_instance_count: NotRequired[Integer]

The instance capacity that you committed to when you requested the future-dated Capacity Reservation.