Class: Aws::EC2::Types::PriceScheduleSpecification

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Describes the price for a Reserved Instance.

Constant Summary collapse

SENSITIVE =
[]

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`.

Returns:

  • (String)


57970
57971
57972
57973
57974
57975
57976
# File 'lib/aws-sdk-ec2/types.rb', line 57970

class PriceScheduleSpecification < Struct.new(
  :term,
  :price,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#priceFloat

The fixed price for the term.

Returns:

  • (Float)


57970
57971
57972
57973
57974
57975
57976
# File 'lib/aws-sdk-ec2/types.rb', line 57970

class PriceScheduleSpecification < Struct.new(
  :term,
  :price,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end

#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)


57970
57971
57972
57973
57974
57975
57976
# File 'lib/aws-sdk-ec2/types.rb', line 57970

class PriceScheduleSpecification < Struct.new(
  :term,
  :price,
  :currency_code)
  SENSITIVE = []
  include Aws::Structure
end