interface AnywhereSettings
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.AnywhereSettings |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#AnywhereSettings |
Java | software.amazon.awscdk.services.medialive.alpha.AnywhereSettings |
Python | aws_cdk.aws_medialive_alpha.AnywhereSettings |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป AnywhereSettings |
Anywhere settings for running the channel on AWS Elemental Anywhere.
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 for this channel. |
| channel | IChannel | The channel placement group for this channel. |
cluster
Type:
ICluster
The cluster for this channel.
channelPlacementGroup?
Type:
IChannel
(optional, default: no placement group)
The channel placement group for this channel.

.NET
Go
Java
Python
TypeScript (