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.

Constant Summary collapse

SENSITIVE =
[]

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)


42416
42417
42418
42419
42420
42421
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42416

class ReservedInstanceLimitPrice < Struct.new(
  :amount,
  :currency_code)
  SENSITIVE = []
  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)


42416
42417
42418
42419
42420
42421
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42416

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