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

Class: Aws::Budgets::Types::CalculatedSpend

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

Overview

Note:

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

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

The spend objects associated with this budget. The actualSpend tracks how much you've used, cost, usage, or RI units, and the forecastedSpend tracks how much you are predicted to spend if your current usage remains steady.

For example, if it is the 20th of the month and you have spent 50 dollars on Amazon EC2, your actualSpend is 50 USD, and your forecastedSpend is 75 USD.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#actual_spendTypes::Spend

The amount of cost, usage, or RI units that you have used.

Returns:

  • (Types::Spend)

    The amount of cost, usage, or RI units that you have used.

#forecasted_spendTypes::Spend

The amount of cost, usage, or RI units that you are forecasted to use.

Returns:

  • (Types::Spend)

    The amount of cost, usage, or RI units that you are forecasted to use.