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

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

#available_capacityTypes::AvailableCapacity

The number of new instances that can be launched onto the Dedicated Host.

Returns:

#client_tokenString

Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see How to Ensure Idempotency in the Amazon Elastic Compute Cloud User Guide.

Returns:

  • (String)

    Unique, case-sensitive identifier you provide to ensure 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_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.

#stateString

The Dedicated Host\'s state.

Possible values:

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

Returns:

  • (String)

    The Dedicated Host\'s state.