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

Anywhere settings for running the channel on AWS Elemental Anywhere.

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

## 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

- `channelPlacementGroup`: [IChannelPlacementGroupRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_medialive.IChannelPlacementGroupRef.html) — The channel placement group for this channel.

  **Default:** no placement group

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