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

Class: Aws::EC2::Types::HostOffering

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

Overview

Details about the Dedicated Host Reservation offering.

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeString

The currency of the offering.

Returns:

  • (String)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end

#durationInteger

The duration of the offering (in seconds).

Returns:

  • (Integer)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end

#hourly_priceString

The hourly price of the offering.

Returns:

  • (String)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end

#instance_familyString

The instance family of the offering.

Returns:

  • (String)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end

#offering_idString

The ID of the offering.

Returns:

  • (String)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end

#payment_optionString

The available payment option.

Returns:

  • (String)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end

#upfront_priceString

The upfront price of the offering. Does not apply to No Upfront offerings.

Returns:

  • (String)


13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13639

class HostOffering < Struct.new(
  :currency_code,
  :duration,
  :hourly_price,
  :instance_family,
  :offering_id,
  :payment_option,
  :upfront_price)
  include Aws::Structure
end