AWS Cost Explorer Service
Cost Management APIs

Spend

The amount of cost or usage that is 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

Contents

Amount

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2147483647.

Pattern: ([0-9]*\.)?[0-9]+

Required: Yes

Unit

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2147483647.

Pattern: .*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: