Skip to content

EC2  >  Structures  >  Host

Host

Structure Class

Host dataclass

Bases: _SerdeShape

Describes the properties of the Dedicated Host.

Attributes

allocation_time class-attribute instance-attribute
allocation_time: datetime | None = ...

The time that the Dedicated Host was allocated.

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

Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is on, the Dedicated Host supports multiple instance types in the instance family. If the value is off, the Dedicated Host supports a single instance type only.

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

The ID of the Outpost hardware asset on which the Dedicated Host is allocated.

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

Whether auto-placement is on or off.

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

The Availability Zone of the Dedicated Host.

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

The ID of the Availability Zone in which the Dedicated Host is allocated.

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

Information about the instances running on the Dedicated Host.

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

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

cpu_options class-attribute instance-attribute
cpu_options: HostCpuOptions | None = ...

The CPU options for the Dedicated Host, including AMD Secure Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP) settings.

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

The ID of the Dedicated Host.

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

Indicates whether host maintenance is enabled or disabled for the Dedicated Host.

host_properties class-attribute instance-attribute
host_properties: HostProperties | None = ...

The hardware specifications of the Dedicated Host.

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

Indicates whether host recovery is enabled or disabled for the Dedicated Host.

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

The reservation ID of the Dedicated Host. This returns a null response if the Dedicated Host doesn't have an associated reservation.

instances class-attribute instance-attribute
instances: list[HostInstance] | None = ...

The IDs and instance type that are currently running on the Dedicated Host.

member_of_service_linked_resource_group class-attribute instance-attribute
member_of_service_linked_resource_group: bool | None = ...

Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the host is in a host resource group; otherwise, it is not.

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

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.

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

The ID of the Amazon Web Services account that owns the Dedicated Host.

release_time class-attribute instance-attribute
release_time: datetime | None = ...

The time that the Dedicated Host was released.

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

The Dedicated Host's state.

tags class-attribute instance-attribute
tags: list[Tag] | None = ...

Any tags assigned to the Dedicated Host.