# ChannelReference

A reference to a Channel resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as interfaces_medialive } from 'aws-cdk-lib/interfaces';
const channelReference: interfaces_medialive.ChannelReference = {
  channelArn: 'channelArn',
  channelId: 'channelId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_medialive as interfaces_medialive

channel_reference = interfaces_medialive.ChannelReference(
    channel_arn="channelArn",
    channel_id="channelId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.medialive.*;

ChannelReference channelReference = ChannelReference.builder()
        .channelArn("channelArn")
        .channelId("channelId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.MediaLive;

var channelReference = new ChannelReference {
    ChannelArn = "channelArn",
    ChannelId = "channelId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

channelReference := &ChannelReference{
	ChannelArn: jsii.String("channelArn"),
	ChannelId: jsii.String("channelId"),
}
```

## Properties

- `channelArn`: string (required) — The ARN of the Channel resource.

- `channelId`: string (required) — The Id of the Channel resource.
