

# 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
<a name="API_PlanDefinition_Contents"></a>

 ** billingCycle **   <a name="appmonetization-Type-PlanDefinition-billingCycle"></a>
How often the plan bills.  
Type: String  
Valid Values: `MONTHLY | ANNUAL | ONE_TIME`   
Required: Yes

 ** name **   <a name="appmonetization-Type-PlanDefinition-name"></a>
A human-readable display name for the plan.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 256.  
Required: Yes

 ** subscriptionPrice **   <a name="appmonetization-Type-PlanDefinition-subscriptionPrice"></a>
The recurring subscription price charged each billing cycle.  
Type: [Price](API_Price.md) object  
Required: Yes

 ** description **   <a name="appmonetization-Type-PlanDefinition-description"></a>
A human-readable description of the plan.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Required: No

 ** includedQuotas **   <a name="appmonetization-Type-PlanDefinition-includedQuotas"></a>
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](API_AppQuotaConfig.md) 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 **   <a name="appmonetization-Type-PlanDefinition-paymentFailurePolicy"></a>
How the plan handles a failed recurring payment.  
Type: [PaymentFailurePolicy](API_PaymentFailurePolicy.md) object  
Required: No

 ** taxCode **   <a name="appmonetization-Type-PlanDefinition-taxCode"></a>
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
<a name="API_PlanDefinition_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/appmonetization-2022-07-26/PlanDefinition) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/PlanDefinition) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/PlanDefinition) 