AnywhereSettings
- class aws_cdk.aws_medialive_alpha.AnywhereSettings(*, cluster, channel_placement_group=None)
Bases:
object(experimental) Anywhere settings for running the channel on AWS Elemental Anywhere.
- Parameters:
cluster (
IClusterRef) – (experimental) The cluster for this channel.channel_placement_group (
Optional[IChannelPlacementGroupRef]) – (experimental) The channel placement group for this channel. Default: - no placement group
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# stack: Stack # cluster: medialive.ICluster # input: medialive.IInput # video: medialive.EncodeConfiguration # bucket: s3.IBucket cpg = medialive.ChannelPlacementGroup(stack, "CPG", channel_placement_group_name="my-cpg", cluster=cluster ) medialive.Channel(stack, "AnywhereChannel", inputs=[medialive.InputAttachment(input=input)], anywhere_settings=medialive.AnywhereSettings(cluster=cluster, channel_placement_group=cpg), output_groups=[ medialive.OutputGroupConfiguration.hls( name="hls", destinations=[medialive.OutputDestination.to_bucket(bucket, "live/stream")], outputs=[medialive.HlsOutputDefinition(encodes=[video], output_name="hls_out")] ) ] )
Attributes
- channel_placement_group
(experimental) The channel placement group for this channel.
- Default:
no placement group
- Stability:
experimental
- cluster
(experimental) The cluster for this channel.
- Stability:
experimental