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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-budgets/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)


1702
1703
1704
1705
1706
1707
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1702

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)


1702
1703
1704
1705
1706
1707
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 1702

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