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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes the properties of the Dedicated Host.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_placementString

Whether auto-placement is on or off.

Returns:

  • (String)


13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

#availability_zoneString

The Availability Zone of the Dedicated Host.

Returns:

  • (String)


13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

#available_capacityTypes::AvailableCapacity

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



13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

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


13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

#host_idString

The ID of the Dedicated Host.

Returns:

  • (String)


13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

#host_propertiesTypes::HostProperties

The hardware specifications of the Dedicated Host.



13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

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


13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

#instancesArray<Types::HostInstance>

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

Returns:



13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end

#stateString

The Dedicated Host's state.

Returns:

  • (String)


13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13594

class Host < Struct.new(
  :auto_placement,
  :availability_zone,
  :available_capacity,
  :client_token,
  :host_id,
  :host_properties,
  :host_reservation_id,
  :instances,
  :state)
  include Aws::Structure
end