Skip to content

EC2  >  Structures  >  CapacityReservationTopology

CapacityReservationTopology

Structure Class

CapacityReservationTopology dataclass

Bases: _SerdeShape

Information about the Capacity Reservation topology.

Attributes

availability_zone class-attribute instance-attribute
availability_zone: str | None = ...

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

availability_zone_id class-attribute instance-attribute
availability_zone_id: str | None = ...

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

capacity_block_id class-attribute instance-attribute
capacity_block_id: str | None = ...

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

capacity_reservation_id class-attribute instance-attribute
capacity_reservation_id: str | None = ...

The ID of the Capacity Reservation.

group_name class-attribute instance-attribute
group_name: str | None = ...

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

instance_type class-attribute instance-attribute
instance_type: str | None = ...

The instance type.

network_nodes class-attribute instance-attribute
network_nodes: list[str] | None = ...

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 class-attribute instance-attribute
state: str | None = ...

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