CreateSubscriptionInput
¶
Source code in docs_src/capo_pricing_plan_manager/types/create_subscription_input.py
approval_mode
instance-attribute
¶
approval_mode: NotRequired[ApprovalMode]
Determines whether the subscription requires explicit approval before billing starts. Set to MANUAL to require a separate ApprovePaidSubscription call, or IMMEDIATE to activate the subscription right away. For paid tier plans, this defaults to MANUAL if not specified. For the FREE plan tier, only IMMEDIATE is supported, and it is the default.
client_token
instance-attribute
¶
client_token: NotRequired[IdempotencyToken]
A unique, case-sensitive identifier that you provide to ensure that the request is handled only once. If you send the same request with the same client token, the API returns the original response without creating a duplicate subscription.
plan_family
instance-attribute
¶
plan_family: str
The pricing plan family to subscribe to, such as CloudFront.
plan_tier
instance-attribute
¶
plan_tier: str
The tier level for the subscription, such as FREE, PRO, BUSINESS, or PREMIUM.
resource_arns
instance-attribute
¶
resource_arns: ResourceArns
The ARNs of the resources to include in the subscription. Specify one or more supported resources.
For subscriptions in the CloudFront plan family, the resources must include exactly one Amazon CloudFront distribution and exactly one WAF web ACL. You can also include other supported resources, such as Amazon Route 53 hosted zones and CloudFront KeyValueStores.