Spend - Amazon Billing and Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Spend

The amount of cost or usage that's measured for a budget.

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

  • An Amount of 3

  • A unit of GB

Contents

Amount

The cost or usage amount that's 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's used for the budget forecast, actual spend, or budget threshold, such as USD or GBP.

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 Amazon SDKs, see the following: