Class: Aws::Budgets::Types::Spend

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

Overview

The amount of cost or usage that's measured for a budget.

For example, a `Spend` for `3 GB` of S3 usage has the following parameters:

  • An `Amount` of `3`

  • A `unit` of `GB`

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountString

The cost or usage amount that's associated with a budget forecast, actual spend, or budget threshold.

Returns:

  • (String)

1630
1631
1632
1633
1634
1635
# File 'lib/aws-sdk-budgets/types.rb', line 1630

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

#unitString

The unit of measurement that's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.

Returns:

  • (String)

1630
1631
1632
1633
1634
1635
# File 'lib/aws-sdk-budgets/types.rb', line 1630

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