Skip to content

CapacityBlockExtensionOffering

Source code in docs_src/capo_ec2/types/capacity_block_extension_offering.py
class CapacityBlockExtensionOffering(TypedDict, closed=True):
    capacity_block_extension_offering_id: NotRequired[
        "capo_ec2.types.offering_id.OfferingId"
    ]
    """<p>The ID of the Capacity Block extension offering.</p>"""
    instance_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance type of the Capacity Block that will be extended.</p>"""
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of instances in the Capacity Block extension offering.</p>"""
    availability_zone: NotRequired[
        "capo_ec2.types.availability_zone_name.AvailabilityZoneName"
    ]
    """<p>The Availability Zone of the Capacity Block that will be extended.</p>"""
    availability_zone_id: NotRequired[
        "capo_ec2.types.availability_zone_id.AvailabilityZoneId"
    ]
    """<p>The Availability Zone ID of the Capacity Block that will be extended.</p>"""
    start_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The start date of the Capacity Block that will be extended.</p>"""
    capacity_block_extension_start_date: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.</p>"""
    capacity_block_extension_end_date: NotRequired[
        "capo_ec2.types.millisecond_date_time.MillisecondDateTime"
    ]
    """<p>The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to <code>expired</code> when it reaches its end date</p>"""
    capacity_block_extension_duration_hours: NotRequired[
        "capo_ec2.types.integer.Integer"
    ]
    """<p>The amount of time of the Capacity Block extension offering in hours.</p>"""
    upfront_fee: NotRequired["capo_ec2.types.string.String"]
    """<p>The total price of the Capacity Block extension offering, to be paid up front.</p>"""
    currency_code: NotRequired["capo_ec2.types.string.String"]
    """<p>The currency of the payment for the Capacity Block extension offering.</p>"""
    tenancy: NotRequired[
        "capo_ec2.types.capacity_reservation_tenancy.CapacityReservationTenancy"
    ]
    """<p>Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:</p> <ul> <li> <p> <code>default</code> - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.</p> </li> <li> <p> <code>dedicated</code> - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.</p> </li> </ul>"""
    zone_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The type of zone where the Capacity Block extension offering is available.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[AvailabilityZoneName]

The Availability Zone of the Capacity Block that will be extended.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[AvailabilityZoneId]

The Availability Zone ID of the Capacity Block that will be extended.

capacity_block_extension_duration_hours instance-attribute

capacity_block_extension_duration_hours: NotRequired[Integer]

The amount of time of the Capacity Block extension offering in hours.

capacity_block_extension_end_date instance-attribute

capacity_block_extension_end_date: NotRequired[MillisecondDateTime]

The date and time at which the Capacity Block extension expires. When a Capacity Block expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Block's state changes to expired when it reaches its end date

capacity_block_extension_offering_id instance-attribute

capacity_block_extension_offering_id: NotRequired[OfferingId]

The ID of the Capacity Block extension offering.

capacity_block_extension_start_date instance-attribute

capacity_block_extension_start_date: NotRequired[MillisecondDateTime]

The date and time at which the Capacity Block extension will start. This date is also the same as the end date of the Capacity Block that will be extended.

currency_code instance-attribute

currency_code: NotRequired[String]

The currency of the payment for the Capacity Block extension offering.

instance_count instance-attribute

instance_count: NotRequired[Integer]

The number of instances in the Capacity Block extension offering.

instance_type instance-attribute

instance_type: NotRequired[String]

The instance type of the Capacity Block that will be extended.

start_date instance-attribute

start_date: NotRequired[MillisecondDateTime]

The start date of the Capacity Block that will be extended.

tenancy instance-attribute

tenancy: NotRequired[CapacityReservationTenancy]

Indicates the tenancy of the Capacity Block extension offering. A Capacity Block can have one of the following tenancy settings:

  • default - The Capacity Block is created on hardware that is shared with other Amazon Web Services accounts.

  • dedicated - The Capacity Block is created on single-tenant hardware that is dedicated to a single Amazon Web Services account.

upfront_fee instance-attribute

upfront_fee: NotRequired[String]

The total price of the Capacity Block extension offering, to be paid up front.

zone_type instance-attribute

zone_type: NotRequired[String]

The type of zone where the Capacity Block extension offering is available.