Skip to content
v2.278.0

ChannelReference Struct ​

A reference to a Channel resource.

Example ​

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
# 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
// 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();
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"
};
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 ​

channelArnstringchannel_arnstrchannelArnStringChannelArnstringChannelArn*string required #
The ARN of the Channel resource.
channelIdstringchannel_idstrchannelIdStringChannelIdstringChannelId*string required #
The Id of the Channel resource.