AWS::PricingPlanManager::SubscriptionResource type definition for AWS::PricingPlanManager::Subscription. Deleting an activated subscription does not terminate it immediately; it schedules a cancellation that takes effect at the end of the current billing period. Until that date the subscription remains active and billing continues. Deleting a subscription that has not yet been activated (PENDING_APPROVAL status) removes it immediately with no further charges.
4 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
PlanFamily | string | RequiredCreate-only |
PlanTier | string | Required |
ResourceArns | Array<string> | Required |
UsageLevel | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The ARN of the subscription. |
CreatedAt | string | The time the subscription was created, in ISO 8601 format. |
CurrentPlanTier | string | The plan tier currently active on the subscription as reported by the API. Populated by the Read handler. Diverges from PlanTier after a non-reversible CloudFormation rollback; surface via drift detection. |
Status | string | The status of the subscription. PENDING_APPROVAL means a paid-tier subscription has been created but is not yet active and incurs no charges until it is approved out of band via a separate ApprovePaidSubscription call; CloudFormation never approves it. Free-tier subscriptions are activated immediately and do not use this status. ACTIVE means the subscription is in effect and, for paid tiers, billing has started. SYNC_IN_PROGRESS means a change is being applied. FAILED means provisioning did not complete; see StatusReason. |
StatusReason | string | A human-readable explanation of why the subscription is in its current status. Populated only when Status is FAILED, where it carries the reason the subscription could not be provisioned. Empty for all other statuses. |
UpdatedAt | string | The time the subscription was last modified, in ISO 8601 format. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::PricingPlanManager::Subscription
Resources:
MyResource:
Type: AWS::PricingPlanManager::Subscription
Properties:
PlanFamily: "CloudFront"
PlanTier: "value"
ResourceArns: "arn:aws:service:region:account:resource"Permissions CloudFormation needs in your IAM role to manage this resource.
pricingplanmanager:CreateSubscriptionpricingplanmanager:GetSubscriptionpricingplanmanager:ListSubscriptionspricingplanmanager:CancelSubscriptionChangecloudwatch:GetMetricDatashield:ListProtectionspricingplanmanager:GetSubscriptionpricingplanmanager:UpdateSubscriptionpricingplanmanager:GetSubscriptionpricingplanmanager:CancelSubscriptionChangepricingplanmanager:AssociateResourcesToSubscriptionpricingplanmanager:DisassociateResourcesFromSubscriptioncloudwatch:GetMetricDatashield:ListProtectionspricingplanmanager:CancelSubscriptionpricingplanmanager:CancelSubscriptionChangepricingplanmanager:GetSubscriptionpricingplanmanager:ListSubscriptionsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
PlanFamily