Skip to content

Host

Source code in docs_src/capo_ec2/types/host.py
class Host(TypedDict, closed=True):
    auto_placement: NotRequired["capo_ec2.types.auto_placement.AutoPlacement"]
    """<p>Whether auto-placement is on or off.</p>"""
    availability_zone: NotRequired["capo_ec2.types.string.String"]
    """<p>The Availability Zone of the Dedicated Host.</p>"""
    available_capacity: NotRequired[
        "capo_ec2.types.available_capacity.AvailableCapacity"
    ]
    """<p>Information about the instances running on the Dedicated Host.</p>"""
    client_token: NotRequired["capo_ec2.types.string.String"]
    """<p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring Idempotency</a>.</p>"""
    host_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Dedicated Host.</p>"""
    host_properties: NotRequired["capo_ec2.types.host_properties.HostProperties"]
    """<p>The hardware specifications of the Dedicated Host.</p>"""
    host_reservation_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The reservation ID of the Dedicated Host. This returns a <code>null</code> response if the Dedicated Host doesn't have an associated reservation.</p>"""
    instances: NotRequired["capo_ec2.types.host_instance_list.HostInstanceList"]
    """<p>The IDs and instance type that are currently running on the Dedicated Host.</p>"""
    state: NotRequired["capo_ec2.types.allocation_state.AllocationState"]
    """<p>The Dedicated Host's state.</p>"""
    allocation_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time that the Dedicated Host was allocated.</p>"""
    release_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The time that the Dedicated Host was released.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>Any tags assigned to the Dedicated Host.</p>"""
    host_recovery: NotRequired["capo_ec2.types.host_recovery.HostRecovery"]
    """<p>Indicates whether host recovery is enabled or disabled for the Dedicated Host.</p>"""
    allows_multiple_instance_types: NotRequired[
        "capo_ec2.types.allows_multiple_instance_types.AllowsMultipleInstanceTypes"
    ]
    """<p>Indicates whether the Dedicated Host supports multiple instance types of the same instance family. If the value is <code>on</code>, the Dedicated Host supports multiple instance types in the instance family. If the value is <code>off</code>, the Dedicated Host supports a single instance type only.</p>"""
    owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Amazon Web Services account that owns the Dedicated Host.</p>"""
    availability_zone_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Availability Zone in which the Dedicated Host is allocated.</p>"""
    member_of_service_linked_resource_group: NotRequired[
        "capo_ec2.types.boolean.Boolean"
    ]
    """<p>Indicates whether the Dedicated Host is in a host resource group. If <b>memberOfServiceLinkedResourceGroup</b> is <code>true</code>, the host is in a host resource group; otherwise, it is not.</p>"""
    outpost_arn: NotRequired["capo_ec2.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which the Dedicated Host is allocated.</p>"""
    host_maintenance: NotRequired["capo_ec2.types.host_maintenance.HostMaintenance"]
    """<p>Indicates whether host maintenance is enabled or disabled for the Dedicated Host.</p>"""
    asset_id: NotRequired["capo_ec2.types.asset_id.AssetId"]
    """<p>The ID of the Outpost hardware asset on which the Dedicated Host is allocated.</p>"""
    cpu_options: NotRequired["capo_ec2.types.host_cpu_options.HostCpuOptions"]
    """<p>The CPU options for the Dedicated Host, including AMD Secure Encrypted Virtualization-Secure Nested Paging (AMD SEV-SNP) settings.</p>"""

allocation_time instance-attribute

allocation_time: NotRequired[DateTime]

The time that the Dedicated Host was allocated.

allows_multiple_instance_types instance-attribute

allows_multiple_instance_types: NotRequired[AllowsMultipleInstanceTypes]

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 instance-attribute

asset_id: NotRequired[AssetId]

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

auto_placement instance-attribute

auto_placement: NotRequired[AutoPlacement]

Whether auto-placement is on or off.

availability_zone instance-attribute

availability_zone: NotRequired[String]

The Availability Zone of the Dedicated Host.

availability_zone_id instance-attribute

availability_zone_id: NotRequired[String]

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

available_capacity instance-attribute

available_capacity: NotRequired[AvailableCapacity]

Information about the instances running on the Dedicated Host.

client_token instance-attribute

client_token: NotRequired[String]

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

cpu_options instance-attribute

cpu_options: NotRequired[HostCpuOptions]

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

host_id instance-attribute

host_id: NotRequired[String]

The ID of the Dedicated Host.

host_maintenance instance-attribute

host_maintenance: NotRequired[HostMaintenance]

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

host_properties instance-attribute

host_properties: NotRequired[HostProperties]

The hardware specifications of the Dedicated Host.

host_recovery instance-attribute

host_recovery: NotRequired[HostRecovery]

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

host_reservation_id instance-attribute

host_reservation_id: NotRequired[String]

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

instances instance-attribute

instances: NotRequired[HostInstanceList]

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

member_of_service_linked_resource_group instance-attribute

member_of_service_linked_resource_group: NotRequired[Boolean]

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 instance-attribute

outpost_arn: NotRequired[String]

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

owner_id instance-attribute

owner_id: NotRequired[String]

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

release_time instance-attribute

release_time: NotRequired[DateTime]

The time that the Dedicated Host was released.

state instance-attribute

state: NotRequired[AllocationState]

The Dedicated Host's state.

tags instance-attribute

tags: NotRequired[TagList]

Any tags assigned to the Dedicated Host.