Skip to content

EC2  >  Structures  >  InstanceCapacity

InstanceCapacity

Structure Class

InstanceCapacity dataclass

Bases: _SerdeShape

Information about the number of instances that can be launched onto the Dedicated Host.

Attributes

available_capacity class-attribute instance-attribute
available_capacity: int | None = ...

The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

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

The instance type supported by the Dedicated Host.

total_capacity class-attribute instance-attribute
total_capacity: int | None = ...

The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.