You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::PriceScheduleSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::PriceScheduleSpecification
- Defined in:
- (unknown)
Overview
Note:
When passing PriceScheduleSpecification as input to an Aws::Client method, you can use a vanilla 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
.
Possible values:
- USD
#price ⇒ Float
The fixed price for the term.
#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.