Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ChannelPlacementGroupProps Struct
Properties for creating a MediaLive Channel Placement Group.
Example
ts
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
channelPlacementGroupNamestringchannel_placement_group_namestrchannelPlacementGroupNameStringChannelPlacementGroupNamestringChannelPlacementGroupName*string= auto-generated name#The name of the channel placement group.
The cluster this channel placement group belongs to.
List of node IDs for the channel placement group.
tags{ [key: string]: string }tagstyping.Mapping[str, str]tagsMap<String, String>TagsIDictionary<string, string>Tags*map[string]*string= no tags#Tags to add to the channel placement group.