Pipeline
- class aws_cdk.aws_medialive_alpha.Pipeline(*args: Any, **kwargs)
Bases:
object(experimental) MediaLive pipeline (channel pipeline 0 or 1).
STANDARDchannels run two redundant pipelines (PIPELINE_0,PIPELINE_1).SINGLE_PIPELINEchannels run onlyPIPELINE_0.- Stability:
experimental
- ExampleMetadata:
infused
Example:
# channel: medialive.Channel # stack: Stack channel.metric_dropped_frames(medialive.Pipeline.PIPELINE_0).create_alarm(stack, "DroppedFrames", threshold=1, evaluation_periods=2 ) channel.metric_svq_time(medialive.Pipeline.PIPELINE_0).create_alarm(stack, "SvqTime", threshold=0, evaluation_periods=1 ) # Custom metric by name with sum statistic channel.metric("Output4xxErrors", medialive.Pipeline.PIPELINE_0, statistic="sum")
Methods
- to_string()
(experimental) Returns the CloudWatch dimension value for this pipeline (
'0'or'1').- Stability:
experimental
- Return type:
str
Attributes
- PIPELINE_0 = <aws_cdk.aws_medialive_alpha.Pipeline object>
- PIPELINE_1 = <aws_cdk.aws_medialive_alpha.Pipeline object>