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_timeTime

The time that the Dedicated Host was allocated.

Returns:

  • (Time)

    The time that the Dedicated Host was allocated.

#allows_multiple_instance_typesString

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_placementString

Whether auto-placement is on or off.

Possible values:

  • on
  • off

Returns:

  • (String)

    Whether auto-placement is on or off.

#availability_zoneString

The Availability Zone of the Dedicated Host.

Returns:

  • (String)

    The Availability Zone of the Dedicated Host.

#availability_zone_idString

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_capacityTypes::AvailableCapacity

Information about the instances running on the Dedicated Host.

Returns:

#client_tokenString

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_idString

The ID of the Dedicated Host.

Returns:

  • (String)

    The ID of the Dedicated Host.

#host_propertiesTypes::HostProperties

The hardware specifications of the Dedicated Host.

Returns:

#host_recoveryString

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_idString

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.

#instancesArray<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_groupBoolean

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_idString

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_timeTime

The time that the Dedicated Host was released.

Returns:

  • (Time)

    The time that the Dedicated Host was released.

#stateString

The Dedicated Host\'s state.

Possible values:

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

Returns:

  • (String)

    The Dedicated Host\'s state.

#tagsArray<Types::Tag>

Any tags assigned to the Dedicated Host.

Returns:

  • (Array<Types::Tag>)

    Any tags assigned to the Dedicated Host.