Skip to content
v2.278.0

ChannelPlacementGroupReference Struct ​

A reference to a ChannelPlacementGroup 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 channelPlacementGroupReference: interfaces_medialive.ChannelPlacementGroupReference = {
  channelPlacementGroupArn: 'channelPlacementGroupArn',
  channelPlacementGroupId: 'channelPlacementGroupId',
  clusterId: 'clusterId',
};
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_placement_group_reference = interfaces_medialive.ChannelPlacementGroupReference(
    channel_placement_group_arn="channelPlacementGroupArn",
    channel_placement_group_id="channelPlacementGroupId",
    cluster_id="clusterId"
)
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.*;

ChannelPlacementGroupReference channelPlacementGroupReference = ChannelPlacementGroupReference.builder()
        .channelPlacementGroupArn("channelPlacementGroupArn")
        .channelPlacementGroupId("channelPlacementGroupId")
        .clusterId("clusterId")
        .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 channelPlacementGroupReference = new ChannelPlacementGroupReference {
    ChannelPlacementGroupArn = "channelPlacementGroupArn",
    ChannelPlacementGroupId = "channelPlacementGroupId",
    ClusterId = "clusterId"
};
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"

channelPlacementGroupReference := &ChannelPlacementGroupReference{
	ChannelPlacementGroupArn: jsii.String("channelPlacementGroupArn"),
	ChannelPlacementGroupId: jsii.String("channelPlacementGroupId"),
	ClusterId: jsii.String("clusterId"),
}

Properties ​

channelPlacementGroupArnstringchannel_placement_group_arnstrchannelPlacementGroupArnStringChannelPlacementGroupArnstringChannelPlacementGroupArn*string required #
The ARN of the ChannelPlacementGroup resource.
channelPlacementGroupIdstringchannel_placement_group_idstrchannelPlacementGroupIdStringChannelPlacementGroupIdstringChannelPlacementGroupId*string required #
The Id of the ChannelPlacementGroup resource.
clusterIdstringcluster_idstrclusterIdStringClusterIdstringClusterId*string required #
The ClusterId of the ChannelPlacementGroup resource.