Class: Aws::FreeTier::Types::MonetaryAmount

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

Overview

The monetary amount of the credit.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountFloat

The aggregated monetary amount of credits earned.

Returns:

  • (Float)


484
485
486
487
488
489
# File 'gems/aws-sdk-freetier/lib/aws-sdk-freetier/types.rb', line 484

class MonetaryAmount < Struct.new(
  :amount,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The unit that the monetary amount is given in.

Returns:

  • (String)


484
485
486
487
488
489
# File 'gems/aws-sdk-freetier/lib/aws-sdk-freetier/types.rb', line 484

class MonetaryAmount < Struct.new(
  :amount,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end