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
show all
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

Instance Attribute Details

#currency_codeString

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Possible values:

  • USD

Returns:

  • (String)

    The currency for transacting the Reserved Instance resale.

#priceFloat

The fixed price for the term.

Returns:

  • (Float)

    The fixed price for the term.

#termInteger

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

Returns:

  • (Integer)

    The number of months remaining in the reservation.