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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


30327
30328
30329
30330
30331
# File 'lib/aws-sdk-ec2/types.rb', line 30327

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)


30327
30328
30329
30330
30331
# File 'lib/aws-sdk-ec2/types.rb', line 30327

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