Skip to content

EC2  >  Structures  >  InstanceTopology

InstanceTopology

Structure Class

InstanceTopology dataclass

Bases: _SerdeShape

Information about the instance topology.

Attributes

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

The name of the Availability Zone or Local Zone that the instance 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.

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

The name of the placement group that the instance is in.

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

The instance ID.

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. Instances 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 instance is in a state other than running.

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

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