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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

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

Returns:

  • (String)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

class ReservedInstancesOffering < Struct.new(
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope,
  :reserved_instances_offering_id,
  :instance_type,
  :availability_zone,
  :duration,
  :usage_price,
  :fixed_price,
  :product_description)
  SENSITIVE = []
  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)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#durationInteger

The duration of the Reserved Instance, in seconds.

Returns:

  • (Integer)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#fixed_priceFloat

The purchase price of the Reserved Instance.

Returns:

  • (Float)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#instance_tenancyString

The tenancy of the instance.

Returns:

  • (String)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#instance_typeString

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

Returns:

  • (String)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#marketplaceBoolean

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

Returns:

  • (Boolean)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

class ReservedInstancesOffering < Struct.new(
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope,
  :reserved_instances_offering_id,
  :instance_type,
  :availability_zone,
  :duration,
  :usage_price,
  :fixed_price,
  :product_description)
  SENSITIVE = []
  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)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#offering_typeString

The Reserved Instance offering type.

Returns:

  • (String)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#pricing_detailsArray<Types::PricingDetail>

The pricing details of the Reserved Instance offering.

Returns:



62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#product_descriptionString

The Reserved Instance product platform description.

Returns:

  • (String)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#recurring_chargesArray<Types::RecurringCharge>

The recurring charge tag assigned to the resource.

Returns:



62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

class ReservedInstancesOffering < Struct.new(
  :currency_code,
  :instance_tenancy,
  :marketplace,
  :offering_class,
  :offering_type,
  :pricing_details,
  :recurring_charges,
  :scope,
  :reserved_instances_offering_id,
  :instance_type,
  :availability_zone,
  :duration,
  :usage_price,
  :fixed_price,
  :product_description)
  SENSITIVE = []
  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)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#scopeString

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

Returns:

  • (String)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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

#usage_priceFloat

The usage price of the Reserved Instance, per hour.

Returns:

  • (Float)


62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62003

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