Skip to content

CancellationTerms

Source code in docs_src/capo_ec2/types/cancellation_terms.py
class CancellationTerms(TypedDict, closed=True):
    cancellation_type: NotRequired[
        "capo_ec2.types.apply_cancellation_charges.ApplyCancellationCharges"
    ]
    """<p>The type of cancellation charge. Possible values include <code>commitment-wind-down</code>.</p>"""
    reservation_state: NotRequired["capo_ec2.types.string.String"]
    """<p>The state that the Capacity Reservation will transition to after cancellation.</p>"""
    committed_instance_count: NotRequired["capo_ec2.types.boxed_integer.BoxedInteger"]
    """<p>The number of instances under commitment after cancellation.</p>"""
    charge_commitment_duration_hours: NotRequired["capo_ec2.types.boxed_long.BoxedLong"]
    """<p>The number of hours for which cancellation charges will apply.</p>"""
    charge_end_date: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time at which cancellation charges will stop.</p>"""

cancellation_type instance-attribute

cancellation_type: NotRequired[ApplyCancellationCharges]

The type of cancellation charge. Possible values include commitment-wind-down.

charge_commitment_duration_hours instance-attribute

charge_commitment_duration_hours: NotRequired[BoxedLong]

The number of hours for which cancellation charges will apply.

charge_end_date instance-attribute

charge_end_date: NotRequired[MillisecondDateTime]

The date and time at which cancellation charges will stop.

committed_instance_count instance-attribute

committed_instance_count: NotRequired[BoxedInteger]

The number of instances under commitment after cancellation.

reservation_state instance-attribute

reservation_state: NotRequired[String]

The state that the Capacity Reservation will transition to after cancellation.