# CfnSubscriptionProps

Properties for defining a `CfnSubscription`.

Used as props by: [CfnSubscription](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_pricingplanmanager.CfnSubscription.html)

- Source: Generated at build time
- Type last changed: v2.269.0 · 10 Sep 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pricingplanmanager as pricingplanmanager } from 'aws-cdk-lib';
const cfnSubscriptionProps: pricingplanmanager.CfnSubscriptionProps = {
  planFamily: 'planFamily',
  planTier: 'planTier',
  resourceArns: ['resourceArns'],

  // the properties below are optional
  usageLevel: 'usageLevel',
};
```

Python:

```python
# 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"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pricingplanmanager.*;

CfnSubscriptionProps cfnSubscriptionProps = CfnSubscriptionProps.builder()
        .planFamily("planFamily")
        .planTier("planTier")
        .resourceArns(List.of("resourceArns"))

        // the properties below are optional
        .usageLevel("usageLevel")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PricingPlanManager;

var cfnSubscriptionProps = new CfnSubscriptionProps {
    PlanFamily = "planFamily",
    PlanTier = "planTier",
    ResourceArns = new [] { "resourceArns" },

    // the properties below are optional
    UsageLevel = "usageLevel"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnSubscriptionProps := &CfnSubscriptionProps{
	PlanFamily: jsii.String("planFamily"),
	PlanTier: jsii.String("planTier"),
	ResourceArns: []*string{
		jsii.String("resourceArns"),
	},

	// the properties below are optional
	UsageLevel: jsii.String("usageLevel"),
}
```

## Properties

- `planFamily`: string (required) — The name of the pricing plan family.

- `planTier`: string (required) — The tier of the pricing plan.

  CloudFormation does not change the tier of an existing subscription; a stack update that changes the tier, upgrading or downgrading it, is rejected.

- `resourceArns`: string[] (required) — The ARNs of resources associated with the subscription.

- `usageLevel`: string
