You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::Host

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes the properties of the Dedicated Host.

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_time ⇒ Time

The time that the Dedicated Host was allocated.

Returns:

  • (Time) —

    The time that the Dedicated Host was allocated.

#allows_multiple_instance_types ⇒ String

Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or a specific instance type only. one indicates that the Dedicated Host supports multiple instance types in the instance family. off indicates that the Dedicated Host supports a single instance type only.

Possible values:

  • on
  • off

Returns:

  • (String) —

    Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or a specific instance type only.

#auto_placement ⇒ String

Whether auto-placement is on or off.

Possible values:

  • on
  • off

Returns:

  • (String) —

    Whether auto-placement is on or off.

#availability_zone ⇒ String

The Availability Zone of the Dedicated Host.

Returns:

  • (String) —

    The Availability Zone of the Dedicated Host.

#availability_zone_id ⇒ String

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

Returns:

  • (String) —

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

#available_capacity ⇒ Types::AvailableCapacity

Information about the instances running on the Dedicated Host.

Returns:

#client_token ⇒ String

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

Returns:

  • (String) —

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

#host_id ⇒ String

The ID of the Dedicated Host.

Returns:

  • (String) —

    The ID of the Dedicated Host.

#host_properties ⇒ Types::HostProperties

The hardware specifications of the Dedicated Host.

Returns:

#host_recovery ⇒ String

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

Possible values:

  • on
  • off

Returns:

  • (String) —

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

#host_reservation_id ⇒ String

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

Returns:

  • (String) —

    The reservation ID of the Dedicated Host.

#instances ⇒ Array<Types::HostInstance>

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

Returns:

  • (Array<Types::HostInstance>) —

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

#member_of_service_linked_resource_group ⇒ 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.

Returns:

  • (Boolean) —

    Indicates whether the Dedicated Host is in a host resource group.

#owner_id ⇒ String

The ID of the AWS account that owns the Dedicated Host.

Returns:

  • (String) —

    The ID of the AWS account that owns the Dedicated Host.

#release_time ⇒ Time

The time that the Dedicated Host was released.

Returns:

  • (Time) —

    The time that the Dedicated Host was released.

#state ⇒ String

The Dedicated Host\'s state.

Possible values:

  • available
  • under-assessment
  • permanent-failure
  • released
  • released-permanent-failure
  • pending

Returns:

  • (String) —

    The Dedicated Host\'s state.

#tags ⇒ Array<Types::Tag>

Any tags assigned to the Dedicated Host.

Returns:

  • (Array<Types::Tag>) —

    Any tags assigned to the Dedicated Host.