# CfnLicenseConfigurationProps

Properties for defining a `CfnLicenseConfiguration`.

Extends: CfnLicenseConfigurationProps
Used as props by: CfnLicenseConfiguration

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_licensemanager as licensemanager } from 'aws-cdk-lib';
const cfnLicenseConfigurationProps: licensemanager.CfnLicenseConfigurationProps = {
  licenseCountingType: 'licenseCountingType',
  name: 'name',

  // the properties below are optional
  description: 'description',
  disassociateWhenNotFound: false,
  licenseCount: 123,
  licenseCountHardLimit: false,
  licenseExpiry: 123,
  licenseRules: ['licenseRules'],
  productInformationList: [{
    productInformationFilterList: [{
      productInformationFilterComparator: 'productInformationFilterComparator',
      productInformationFilterName: 'productInformationFilterName',

      // the properties below are optional
      productInformationFilterValue: ['productInformationFilterValue'],
    }],
    resourceType: 'resourceType',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string — Description of the license configuration.

- `disassociateWhenNotFound`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — When true, disassociates a resource when software is uninstalled.

- `licenseCount`: number — Number of licenses managed by the license configuration.

- `licenseCountHardLimit`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Indicates whether hard or soft license enforcement is used.

  Exceeding a hard limit blocks the launch of new instances.

- `licenseCountingType`: string (required) — Dimension used to track the license inventory.

- `licenseExpiry`: number — License configuration expiry as an epoch timestamp (seconds since 1970-01-01T00:00:00Z).

- `licenseRules`: string[] — License rules.

  The syntax is #name=value (for example, #allowedTenancy=EC2-DedicatedHost).

- `name`: string (required) — Name of the license configuration.

- `productInformationList`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLicenseConfiguration.ProductInformationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_licensemanager.CfnLicenseConfiguration.ProductInformationProperty.html)[] — Product information.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags to add to the license configuration.
