interface ChannelPlacementGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.ChannelPlacementGroupProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#ChannelPlacementGroupProps |
Java | software.amazon.awscdk.services.medialive.alpha.ChannelPlacementGroupProps |
Python | aws_cdk.aws_medialive_alpha.ChannelPlacementGroupProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป ChannelPlacementGroupProps |
Properties for creating a MediaLive Channel Placement Group.
Example
declare const stack: Stack;
declare const cluster: medialive.ICluster;
declare const input: medialive.IInput;
declare const video: medialive.EncodeConfiguration;
declare const bucket: s3.IBucket;
const cpg = new medialive.ChannelPlacementGroup(stack, 'CPG', {
channelPlacementGroupName: 'my-cpg',
cluster,
});
new medialive.Channel(stack, 'AnywhereChannel', {
inputs: [{ input }],
anywhereSettings: { cluster, channelPlacementGroup: cpg },
outputGroups: [
medialive.OutputGroupConfiguration.hls({
name: 'hls',
destinations: [medialive.OutputDestination.toBucket(bucket, 'live/stream')],
outputs: [{ encodes: [video], outputName: 'hls_out' }],
}),
],
});
Properties
| Name | Type | Description |
|---|---|---|
| cluster | ICluster | The cluster this channel placement group belongs to. |
| channel | string | The name of the channel placement group. |
| nodes? | string[] | List of node IDs for the channel placement group. |
| tags? | { [string]: string } | Tags to add to the channel placement group. |
cluster
Type:
ICluster
The cluster this channel placement group belongs to.
channelPlacementGroupName?
Type:
string
(optional, default: auto-generated name)
The name of the channel placement group.
nodes?
Type:
string[]
(optional, default: no nodes)
List of node IDs for the channel placement group.
tags?
Type:
{ [string]: string }
(optional, default: no tags)
Tags to add to the channel placement group.

.NET
Go
Java
Python
TypeScript (