# PartitionSpecProperty

Partition specification.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const partitionSpecProperty: msk.CfnChannel.PartitionSpecProperty = {
  partitionStrategy: 'partitionStrategy',

  // the properties below are optional
  sourceList: [{
    sourceName: 'sourceName',
  }],
};
```

## Properties

- `partitionStrategy`: string (required) — Partition strategy for MSK channel.

- `sourceList`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.PartitionSourceProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_msk.CfnChannel.PartitionSourceProperty.html)[] — Source list.
