# CfnChannelProps

Properties for defining a `CfnChannel`.

Extends: CfnChannelProps
Used as props by: CfnChannel

- Source: Generated code
- Type last changed: v2.61.0 · 19 Jan 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const cfnChannelProps: mediapackage.CfnChannelProps = {
  id: 'id',

  // the properties below are optional
  description: 'description',
  egressAccessLogs: {
    logGroupName: 'logGroupName',
  },
  hlsIngest: {
    ingestEndpoints: [{
      id: 'id',
      password: 'password',
      url: 'url',
      username: 'username',
    }],
  },
  ingressAccessLogs: {
    logGroupName: 'logGroupName',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `description`: string — Any descriptive information that you want to add to the channel for future identification purposes.

- `egressAccessLogs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.LogConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mediapackage.CfnChannel.LogConfigurationProperty.html) — Configures egress access logs.

- `hlsIngest`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.HlsIngestProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mediapackage.CfnChannel.HlsIngestProperty.html) — The input URL where the source stream should be sent.

- `id`: string (required) — Unique identifier that you assign to the channel.

- `ingressAccessLogs`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnChannel.LogConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mediapackage.CfnChannel.LogConfigurationProperty.html) — Configures ingress access logs.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags to assign to the channel.
