Class: Aws::EC2::Types::PriceScheduleSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::PriceScheduleSpecification
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass PriceScheduleSpecification data as a hash:
{
currency_code: "USD", # accepts USD
price: 1.0,
term: 1,
}
Describes the price for a Reserved Instance.
Instance Attribute Summary collapse
-
#currency_code ⇒ String
The currency for transacting the Reserved Instance resale.
-
#price ⇒ Float
The fixed price for the term.
-
#term ⇒ Integer
The number of months remaining in the reservation.
Instance Attribute Details
#currency_code ⇒ String
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is ‘USD`.
27906 27907 27908 27909 27910 27911 |
# File 'lib/aws-sdk-ec2/types.rb', line 27906 class PriceScheduleSpecification < Struct.new( :currency_code, :price, :term) include Aws::Structure end |
#price ⇒ Float
The fixed price for the term.
27906 27907 27908 27909 27910 27911 |
# File 'lib/aws-sdk-ec2/types.rb', line 27906 class PriceScheduleSpecification < Struct.new( :currency_code, :price, :term) include Aws::Structure end |
#term ⇒ Integer
The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.
27906 27907 27908 27909 27910 27911 |
# File 'lib/aws-sdk-ec2/types.rb', line 27906 class PriceScheduleSpecification < Struct.new( :currency_code, :price, :term) include Aws::Structure end |