Skip to content

CapacityBlockOffering

Source code in docs_src/capo_ec2/types/capacity_block_offering.py
class CapacityBlockOffering(TypedDict, closed=True):
    capacity_block_offering_id: NotRequired["capo_ec2.types.offering_id.OfferingId"]
    """<p>The ID of the Capacity Block offering.</p>"""
    instance_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance type of the Capacity Block offering.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone of the Capacity Block offering.</p>"""
    instance_count: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of instances in the Capacity Block offering.</p>"""
    start_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The start date of the Capacity Block offering.</p>"""
    end_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The end date of the Capacity Block offering.</p>"""
    capacity_block_duration_hours: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of hours (in addition to <code>capacityBlockDurationMinutes</code>) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at <b>04:55</b> and ends at <b>11:30</b>, the hours field would be <b>6</b>.</p>"""
    upfront_fee: NotRequired["capo_ec2.types.string.String"]
    """<p>The total price to be paid up front.</p>"""
    currency_code: NotRequired["capo_ec2.types.string.String"]
    """<p>The currency of the payment for the Capacity Block.</p>"""
    tenancy: NotRequired[
        "capo_ec2.types.capacity_reservation_tenancy.CapacityReservationTenancy"
    ]
    """<p>The tenancy of the Capacity Block.</p>"""
    ultraserver_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The EC2 UltraServer type of the Capacity Block offering.</p>"""
    ultraserver_count: NotRequired["capo_ec2.types.boxed_integer.BoxedInteger"]
    """<p>The number of EC2 UltraServers in the offering.</p>"""
    capacity_block_duration_minutes: NotRequired["capo_ec2.types.integer.Integer"]
    """<p>The number of minutes (in addition to <code>capacityBlockDurationHours</code>) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at <b>08:55</b> and ends at <b>11:30</b>, the minutes field would be <b>35</b>.</p>"""
    zone_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The type of zone where the Capacity Block offering is available.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone of the Capacity Block offering.

capacity_block_duration_hours instance-attribute

capacity_block_duration_hours: NotRequired[Integer]

The number of hours (in addition to capacityBlockDurationMinutes) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 04:55 and ends at 11:30, the hours field would be 6.

capacity_block_duration_minutes instance-attribute

capacity_block_duration_minutes: NotRequired[Integer]

The number of minutes (in addition to capacityBlockDurationHours) for the duration of the Capacity Block reservation. For example, if a Capacity Block starts at 08:55 and ends at 11:30, the minutes field would be 35.

capacity_block_offering_id instance-attribute

capacity_block_offering_id: NotRequired[OfferingId]

The ID of the Capacity Block offering.

currency_code instance-attribute

currency_code: NotRequired[String]

The currency of the payment for the Capacity Block.

end_date instance-attribute

end_date: NotRequired[MillisecondDateTime]

The end date of the Capacity Block offering.

instance_count instance-attribute

instance_count: NotRequired[Integer]

The number of instances in the Capacity Block offering.

instance_type instance-attribute

instance_type: NotRequired[String]

The instance type of the Capacity Block offering.

start_date instance-attribute

start_date: NotRequired[MillisecondDateTime]

The start date of the Capacity Block offering.

tenancy instance-attribute

tenancy: NotRequired[CapacityReservationTenancy]

The tenancy of the Capacity Block.

ultraserver_count instance-attribute

ultraserver_count: NotRequired[BoxedInteger]

The number of EC2 UltraServers in the offering.

ultraserver_type instance-attribute

ultraserver_type: NotRequired[String]

The EC2 UltraServer type of the Capacity Block offering.

upfront_fee instance-attribute

upfront_fee: NotRequired[String]

The total price to be paid up front.

zone_type instance-attribute

zone_type: NotRequired[String]

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