You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::ReservationValue

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

Overview

The cost associated with the Reserved Instance.

Instance Attribute Summary collapse

Instance Attribute Details

#hourly_priceString

The hourly rate of the reservation.

Returns:

  • (String)


20399
20400
20401
20402
20403
20404
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20399

class ReservationValue < Struct.new(
  :hourly_price,
  :remaining_total_value,
  :remaining_upfront_value)
  include Aws::Structure
end

#remaining_total_valueString

The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).

Returns:

  • (String)


20399
20400
20401
20402
20403
20404
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20399

class ReservationValue < Struct.new(
  :hourly_price,
  :remaining_total_value,
  :remaining_upfront_value)
  include Aws::Structure
end

#remaining_upfront_valueString

The remaining upfront cost of the reservation.

Returns:

  • (String)


20399
20400
20401
20402
20403
20404
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 20399

class ReservationValue < Struct.new(
  :hourly_price,
  :remaining_total_value,
  :remaining_upfront_value)
  include Aws::Structure
end