View a markdown version of this page

Price - AWS App Monetization

Price

A monetary amount in a single currency.

Contents

amount

An arbitrary-precision decimal represented as a string (for example, "9.99").

Type: String

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

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

Required: Yes

currencyCode

The ISO 4217 currency code (three uppercase letters, 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: