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

Class: Aws::EC2::Types::ReservedInstanceLimitPrice

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

Overview

Note:

When making an API call, you may pass ReservedInstanceLimitPrice data as a hash:

{
  amount: 1.0,
  currency_code: "USD", # accepts USD
}

Describes the limit price of a Reserved Instance offering.

Instance Attribute Summary collapse

Instance Attribute Details

#amountFloat

Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

Returns:

  • (Float)


20414
20415
20416
20417
20418
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20414

class ReservedInstanceLimitPrice < Struct.new(
  :amount,
  :currency_code)
  include Aws::Structure
end

#currency_codeString

The currency in which the limitPrice amount is specified. At this time, the only supported currency is USD.

Returns:

  • (String)


20414
20415
20416
20417
20418
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20414

class ReservedInstanceLimitPrice < Struct.new(
  :amount,
  :currency_code)
  include Aws::Structure
end