CfnSubscriptionPropsMixin
- class aws_cdk.cfn_property_mixins.aws_pricingplanmanager.CfnSubscriptionPropsMixin(props, *, strategy=None)
Bases:
MixinResource 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.
- See:
- CloudformationResource:
AWS::PricingPlanManager::Subscription
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_pricingplanmanager as pricingplanmanager import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_subscription_props_mixin = pricingplanmanager.CfnSubscriptionPropsMixin(pricingplanmanager.CfnSubscriptionMixinProps( plan_family="planFamily", plan_tier="planTier", resource_arns=["resourceArns"], usage_level="usageLevel" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::PricingPlanManager::Subscription.- Parameters:
props (
Union[CfnSubscriptionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['planFamily', 'planTier', 'resourceArns', 'usageLevel']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.