> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ChannelPlacementGroupProps

Properties for creating a MediaLive Channel Placement Group.

Extends: ChannelPlacementGroupProps
Used as props by: ChannelPlacementGroup

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/channel-placement-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/channel-placement-group.ts#L28)

## Example

```ts
declare const stack: Stack;
declare const cluster: medialive.ICluster;
declare const input: medialive.IInput;
declare const video: medialive.EncodeConfiguration;
declare const bucket: s3.IBucket;

const cpg = new medialive.ChannelPlacementGroup(stack, 'CPG', {
  channelPlacementGroupName: 'my-cpg',
  cluster,
});

new medialive.Channel(stack, 'AnywhereChannel', {
  inputs: [{ input }],
  anywhereSettings: { cluster, channelPlacementGroup: cpg },
  outputGroups: [
    medialive.OutputGroupConfiguration.hls({
      name: 'hls',
      destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
      outputs: [{ encodes: [video], outputName: 'hls_out' }],
    }),
  ],
});
```

## Properties

- `channelPlacementGroupName`: string — The name of the channel placement group.

  **Default:** auto-generated name

- `cluster`: [IClusterRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_medialive.IClusterRef.html) (required) — The cluster this channel placement group belongs to.

- `nodes`: string[] — List of node IDs for the channel placement group.

  **Default:** no nodes

- `tags`: { [key: string]: string } — Tags to add to the channel placement group.

  **Default:** no tags
