Skip to content

CapacityReservationTopology

Source code in docs_src/capo_ec2/types/capacity_reservation_topology.py
class CapacityReservationTopology(TypedDict, closed=True):
    capacity_reservation_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Capacity Reservation.</p>"""
    capacity_block_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.</p>"""
    state: NotRequired["capo_ec2.types.string.String"]
    """<p>The current state of the Capacity Reservation. For the list of possible states, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeCapacityReservations.html">DescribeCapacityReservations</a>.</p>"""
    instance_type: NotRequired["capo_ec2.types.string.String"]
    """<p>The instance type.</p>"""
    group_name: NotRequired["capo_ec2.types.string.String"]
    """<p>The name of the placement group that the Capacity Reservation is in.</p>"""
    network_nodes: NotRequired["capo_ec2.types.network_node_set.NetworkNodeSet"]
    """<p>The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.</p> <p>The value is <code>null</code> or empty if:</p> <ul> <li> <p>The instance type is not supported.</p> </li> <li> <p>The Capacity Reservation is in a state other than <code>active</code> or <code>pending</code>.</p> </li> </ul>"""
    availability_zone_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The name of the Availability Zone or Local Zone that the Capacity Reservation is in.</p>"""

availability_zone instance-attribute

availability_zone: NotRequired[String]

The name of the Availability Zone or Local Zone that the Capacity Reservation is in.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[String]

The ID of the Availability Zone or Local Zone that the Capacity Reservation is in.

capacity_block_id instance-attribute

capacity_block_id: NotRequired[String]

The ID of the Capacity Block. This parameter is only supported for UltraServer instances and identifies instances within the UltraServer domain.

capacity_reservation_id instance-attribute

capacity_reservation_id: NotRequired[String]

The ID of the Capacity Reservation.

group_name instance-attribute

group_name: NotRequired[String]

The name of the placement group that the Capacity Reservation is in.

instance_type instance-attribute

instance_type: NotRequired[String]

The instance type.

network_nodes instance-attribute

network_nodes: NotRequired[NetworkNodeSet]

The network nodes. The nodes are hashed based on your account. Capacity Reservations from different accounts running under the same server will return a different hashed list of strings.

The value is null or empty if:

  • The instance type is not supported.

  • The Capacity Reservation is in a state other than active or pending.

state instance-attribute

state: NotRequired[String]

The current state of the Capacity Reservation. For the list of possible states, see DescribeCapacityReservations.