CfnSubscriptionProps

class aws_cdk.aws_pricingplanmanager.CfnSubscriptionProps(*, plan_family, plan_tier, resource_arns, usage_level=None)

Bases: object

Properties for defining a CfnSubscription.

Parameters:
  • plan_family (str) – The name of the pricing plan family.

  • plan_tier (str) – The tier of the pricing plan. Upgrades take effect immediately. However, rolling back an upgrade does not revert billing instantly; it schedules a downgrade to the end of the current billing period, and the higher-tier charge applies for the remainder of that month. While a downgrade is scheduled, the CurrentPlanTier property reports the tier currently being billed.

  • resource_arns (Sequence[str]) – The ARNs of resources associated with the subscription.

  • usage_level (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pricingplanmanager-subscription.html

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 import aws_pricingplanmanager as pricingplanmanager

cfn_subscription_props = pricingplanmanager.CfnSubscriptionProps(
    plan_family="planFamily",
    plan_tier="planTier",
    resource_arns=["resourceArns"],

    # the properties below are optional
    usage_level="usageLevel"
)

Attributes

plan_family

The name of the pricing plan family.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pricingplanmanager-subscription.html#cfn-pricingplanmanager-subscription-planfamily

plan_tier

The tier of the pricing plan.

Upgrades take effect immediately. However, rolling back an upgrade does not revert billing instantly; it schedules a downgrade to the end of the current billing period, and the higher-tier charge applies for the remainder of that month. While a downgrade is scheduled, the CurrentPlanTier property reports the tier currently being billed.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pricingplanmanager-subscription.html#cfn-pricingplanmanager-subscription-plantier

resource_arns

The ARNs of resources associated with the subscription.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pricingplanmanager-subscription.html#cfn-pricingplanmanager-subscription-resourcearns

usage_level

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pricingplanmanager-subscription.html#cfn-pricingplanmanager-subscription-usagelevel

Type:

see