View a markdown version of this page

PlanDefinition - AWS App Monetization

PlanDefinition

What a plan sells: its price, billing cycle and included usage. A plan has no spend limit: overage past the included usage is billed without a cap.

Contents

billingCycle

How often the plan bills.

Type: String

Valid Values: MONTHLY | ANNUAL | ONE_TIME

Required: Yes

name

A human-readable display name for the plan.

Type: String

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

Required: Yes

subscriptionPrice

The recurring subscription price charged each billing cycle.

Type: Price object

Required: Yes

description

A human-readable description of the plan.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

includedQuotas

The usage quotas included with the plan, keyed by metric ID. Each entry prices one metric with either a flat grant or a tiered-priced grant.

Type: String to AppQuotaConfig object map

Map Entries: Minimum number of 0 items. Maximum number of 100 items.

Key Length Constraints: Minimum length of 1. Maximum length of 64.

Key Pattern: [A-Za-z0-9_-]+

Required: No

paymentFailurePolicy

How the plan handles a failed recurring payment.

Type: PaymentFailurePolicy object

Required: No

taxCode

The product tax code for the plan's price. See ProductTaxCode.

Type: String

Length Constraints: Fixed length of 13.

Pattern: taas_[0-9]{8}

Required: No

See Also

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