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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Spend as input to an Aws::Client method, you can use a vanilla Hash:

{
  amount: "NumericValue", # required
  unit: "UnitValue", # required
}

The amount of cost or usage being measured for a budget.

For example, a Spend for 3 GB of S3 usage would have the following parameters:

  • An Amount of 3

  • A unit of GB

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#amountString

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

Returns:

  • (String)

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

#unitString

The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.

Returns:

  • (String)

    The unit of measurement used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.