Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AnywhereSettings Struct
Anywhere settings for running the channel on AWS Elemental Anywhere.
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
channelPlacementGroupIChannelPlacementGroupRefchannel_placement_groupIChannelPlacementGroupRefchannelPlacementGroupIChannelPlacementGroupRefChannelPlacementGroupIChannelPlacementGroupRefChannelPlacementGroupIChannelPlacementGroupRef= no placement group#The channel placement group for this channel.
The cluster for this channel.