View a markdown version of this page

CurrencyAmount - AWS Billing and Cost Management

CurrencyAmount

A monetary amount expressed as a decimal string in the currency's standard unit.

Contents

currency

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

Type: String

Length Constraints: Fixed length of 3.

Pattern: [A-Z]{3}

Required: Yes

value

The amount, as a decimal string, such as 10.99. The number of decimal places can differ between amounts, for example 0.0 and 1000.24.

Type: String

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

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

Required: Yes

See Also

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