View a markdown version of this page

Amount - AWS Billing and Cost Management

Amount

A monetary amount with a currency code. Used throughout the Billing API to represent credit balances, allocations, and adjustments.

Contents

currencyAmount

The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

Type: String

Pattern: [0-9]+(.[0-9]+)

Required: Yes

currencyCode

The ISO 4217 currency code for the amount (for example, USD).

Type: String

Pattern: [A-Z]{3}

Required: Yes

See Also

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