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

Class: Aws::EC2::Types::ReservedInstancesOffering

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

Overview

Describes a Reserved Instance offering.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the Reserved Instance can be used.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#currency_codeString

The currency of the Reserved Instance offering you are purchasing. It's specified using ISO 4217 standard currency codes. At this time, the only supported currency is USD.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#durationInteger

The duration of the Reserved Instance, in seconds.

Returns:

  • (Integer)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#fixed_priceFloat

The purchase price of the Reserved Instance.

Returns:

  • (Float)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#instance_tenancyString

The tenancy of the instance.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#instance_typeString

The instance type on which the Reserved Instance can be used.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#marketplaceBoolean

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or AWS. If it's a Reserved Instance Marketplace offering, this is true.

Returns:

  • (Boolean)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#offering_classString

If convertible it can be exchanged for Reserved Instances of the same or higher monetary value, with different configurations. If standard, it is not possible to perform an exchange.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#offering_typeString

The Reserved Instance offering type.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#pricing_detailsArray<Types::PricingDetail>

The pricing details of the Reserved Instance offering.

Returns:



20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#product_descriptionString

The Reserved Instance product platform description.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#recurring_chargesArray<Types::RecurringCharge>

The recurring charge tag assigned to the resource.

Returns:



20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#reserved_instances_offering_idString

The ID of the Reserved Instance offering. This is the offering ID used in GetReservedInstancesExchangeQuote to confirm that an exchange can be made.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#scopeString

Whether the Reserved Instance is applied to instances in a region or an Availability Zone.

Returns:

  • (String)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end

#usage_priceFloat

The usage price of the Reserved Instance, per hour.

Returns:

  • (Float)


20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20270

class ReservedInstancesOffering < Struct.new(
  :availability_zone,
  :duration,
  :fixed_price,
  :instance_type,
  :product_description,
  :reserved_instances_offering_id,
  :usage_price,
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope)
  include Aws::Structure
end