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.

*Cost example:* A Spend for ‘3 USD` of costs has the following parameters:

  • An Amount of 3

  • A Unit of USD

*Usage 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)


1897
1898
1899
1900
1901
1902
# File 'lib/aws-sdk-budgets/types.rb', line 1897

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.

Returns:

  • (String)


1897
1898
1899
1900
1901
1902
# File 'lib/aws-sdk-budgets/types.rb', line 1897

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