

# Plan

A pricing plan for an app. Users subscribe to published plans; a plan bundles a subscription price and billing cycle with included usage quotas.

## Contents
<a name="API_Plan_Contents"></a>

 ** appId **   <a name="appmonetization-Type-Plan-appId"></a>
The ID of the app the plan belongs to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[A-Za-z0-9_-]+`   
Required: Yes

 ** definition **   <a name="appmonetization-Type-Plan-definition"></a>
The plan's pricing and packaging definition.  
Type: [PlanDefinition](API_PlanDefinition.md) object  
Required: Yes

 ** planId **   <a name="appmonetization-Type-Plan-planId"></a>
The identifier of the plan. AWS App Monetization generates this value when the plan is created. It is unique within the app and is never reused. Treat it as opaque.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `[a-z0-9-]+`   
Required: Yes

 ** arn **   <a name="appmonetization-Type-Plan-arn"></a>
The Amazon Resource Name (ARN) of the plan.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.  
Pattern: `arn:(aws|aws-cn|aws-us-gov):.+:.+:.+:.+`   
Required: No

 ** createdAt **   <a name="appmonetization-Type-Plan-createdAt"></a>
The time the plan was created.  
Type: Timestamp  
Required: No

 ** stage **   <a name="appmonetization-Type-Plan-stage"></a>
The offering stage the plan was read from.  
Type: String  
Valid Values: `DRAFT | PUBLISHED`   
Required: No

 ** updatedAt **   <a name="appmonetization-Type-Plan-updatedAt"></a>
The time the plan was last updated.  
Type: Timestamp  
Required: No

## See Also
<a name="API_Plan_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/Plan) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmonetization-2022-07-26/Plan) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmonetization-2022-07-26/Plan) 