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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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)


13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13374

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