Skip to content

CapacityBlock

Source code in docs_src/capo_ec2/types/capacity_block.py
class CapacityBlock(TypedDict, closed=True):
    capacity_block_id: NotRequired["capo_ec2.types.capacity_block_id.CapacityBlockId"]
    """<p>The ID of the Capacity Block.</p>"""
    ultraserver_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The EC2 UltraServer type of the Capacity Block.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone of the Capacity Block.</p>"""
    availability_zone_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone ID of the Capacity Block.</p>"""
    capacity_reservation_ids: NotRequired[
        "capo_ec2.types.capacity_reservation_id_set.CapacityReservationIdSet"
    ]
    """<p>The ID of the Capacity Reservation.</p>"""
    start_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The date and time at which the Capacity Block was started.</p>"""
    end_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The date and time at which the Capacity Block expires. When a Capacity Block expires, all instances in the Capacity Block are terminated.</p>"""
    create_date: NotRequired["capo_ec2.types.millisecond_date_time.MillisecondDateTime"]
    """<p>The date and time at which the Capacity Block was created.</p>"""
    state: NotRequired[
        "capo_ec2.types.capacity_block_resource_state.CapacityBlockResourceState"
    ]
    """<p>The state of the Capacity Block.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>The tags assigned to the Capacity Block.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone of the Capacity Block.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[String]

The Availability Zone ID of the Capacity Block.

capacity_block_id instance-attribute

capacity_block_id: NotRequired[CapacityBlockId]

The ID of the Capacity Block.

capacity_reservation_ids instance-attribute

capacity_reservation_ids: NotRequired[CapacityReservationIdSet]

The ID of the Capacity Reservation.

create_date instance-attribute

create_date: NotRequired[MillisecondDateTime]

The date and time at which the Capacity Block was created.

end_date instance-attribute

end_date: NotRequired[MillisecondDateTime]

The date and time at which the Capacity Block expires. When a Capacity Block expires, all instances in the Capacity Block are terminated.

start_date instance-attribute

start_date: NotRequired[MillisecondDateTime]

The date and time at which the Capacity Block was started.

state instance-attribute

state: NotRequired[CapacityBlockResourceState]

The state of the Capacity Block.

tags instance-attribute

tags: NotRequired[TagList]

The tags assigned to the Capacity Block.

ultraserver_type instance-attribute

ultraserver_type: NotRequired[String]

The EC2 UltraServer type of the Capacity Block.