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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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)


15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15426

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