> **Experimental**
>
> `@aws-cdk/aws-ivs-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# ChannelProps

Properties for creating a new Channel.

Used as props by: [Channel](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.Channel.html)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/channel.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-ivs-alpha/lib/channel.ts#L126)

## Example

TypeScript:

```ts
const myChannel = new ivs.Channel(this, 'myChannel', {
  type: ivs.ChannelType.ADVANCED_HD,
  preset: ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY,
});
```

Python:

```python
my_channel = ivs.Channel(self, "myChannel",
    type=ivs.ChannelType.ADVANCED_HD,
    preset=ivs.Preset.CONSTRAINED_BANDWIDTH_DELIVERY
)
```

Java:

```java
Channel myChannel = Channel.Builder.create(this, "myChannel")
        .type(ChannelType.ADVANCED_HD)
        .preset(Preset.CONSTRAINED_BANDWIDTH_DELIVERY)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.IVS.Alpha
var myChannel = new Channel(this, "myChannel", new ChannelProps {
    Type = ChannelType.ADVANCED_HD,
    Preset = Preset.CONSTRAINED_BANDWIDTH_DELIVERY
});
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdkivsalpha/v2
myChannel := ivs.NewChannel(this, jsii.String("myChannel"), &ChannelProps{
	Type: ivs.ChannelType_ADVANCED_HD,
	Preset: ivs.Preset_CONSTRAINED_BANDWIDTH_DELIVERY,
})
```

## Properties

- `authorized`: boolean = false — Whether the channel is authorized.

  If you wish to make an authorized channel, you will need to ensure that
  a PlaybackKeyPair has been uploaded to your account as this is used to
  validate the signed JWT that is required for authorization

- `channelName`: string — A name for the channel.

  **Default:** Automatically generated name

- `containerFormat`: [ContainerFormat](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.ContainerFormat.html) — Indicates which content-packaging format is used (MPEG-TS or fMP4).

  **Default:** `ContainerFormat.FRAGMENTED_MP4` is automatically set when the `multitrackInputConfiguration` is specified. If not specified, it remains undefined and uses the IVS default setting (TS).

  If `multitrackInputConfiguration` is specified, only fMP4 can be used.
  Otherwise, `containerFormat` may be set to `ContainerFormat.TS` or `ContainerFormat.FRAGMENTED_MP4`.

- `insecureIngest`: boolean = false — Whether the channel allows insecure RTMP ingest.

- `latencyMode`: [LatencyMode](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.LatencyMode.html) = LatencyMode.LOW — Channel latency mode.

- `multitrackInputConfiguration`: [MultitrackInputConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.MultitrackInputConfiguration.html) — Object specifying multitrack input configuration. You must specify `multitrackInputConfiguration` if you want to use MultiTrack Video.

  **Default:** undefined - IVS default setting is not use MultiTrack Video.

  `multitrackInputConfiguration` is only supported for `ChannelType.STANDARD`.

- `preset`: [Preset](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.Preset.html) — An optional transcode preset for the channel.

  **Default:** Preset.HIGHER_BANDWIDTH_DELIVERY if channelType is ADVANCED_SD or ADVANCED_HD, none otherwise

  Can be used for ADVANCED_HD and ADVANCED_SD channel types.
  When LOW or STANDARD is used, the preset will be overridden and set to none regardless of the value provided.

- `recordingConfiguration`: [IRecordingConfiguration](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.IRecordingConfiguration.html) — A recording configuration for the channel.

  **Default:** recording is disabled

- `type`: [ChannelType](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-ivs-alpha.ChannelType.html) = ChannelType.STANDARD — The channel type, which determines the allowable resolution and bitrate.

  If you exceed the allowable resolution or bitrate, the stream will disconnect immediately
