java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.Pipeline
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.305Z") @Stability(Experimental) public class Pipeline extends software.amazon.jsii.JsiiObject
(experimental) MediaLive pipeline (channel pipeline 0 or 1).

STANDARD channels run two redundant pipelines (PIPELINE_0, PIPELINE_1). SINGLE_PIPELINE channels run only PIPELINE_0.

Example:

 Channel channel;
 Stack stack;
 channel.metricDroppedFrames(Pipeline.PIPELINE_0).createAlarm(stack, "DroppedFrames", CreateAlarmOptions.builder()
         .threshold(1)
         .evaluationPeriods(2)
         .build());
 channel.metricSvqTime(Pipeline.PIPELINE_0).createAlarm(stack, "SvqTime", CreateAlarmOptions.builder()
         .threshold(0)
         .evaluationPeriods(1)
         .build());
 // Custom metric by name with sum statistic
 channel.metric("Output4xxErrors", Pipeline.PIPELINE_0, MetricOptions.builder().statistic("sum").build());
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Pipeline
    (experimental) Pipeline 0.
    static final Pipeline
    (experimental) Pipeline 1.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Pipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Pipeline(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Returns the CloudWatch dimension value for this pipeline ('0' or '1').

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • PIPELINE_0

      @Stability(Experimental) public static final Pipeline PIPELINE_0
      (experimental) Pipeline 0.

      Always available on every channel.

    • PIPELINE_1

      @Stability(Experimental) public static final Pipeline PIPELINE_1
      (experimental) Pipeline 1.

      Available only on STANDARD channels.

  • Constructor Details

    • Pipeline

      protected Pipeline(software.amazon.jsii.JsiiObjectRef objRef)
    • Pipeline

      protected Pipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • toString

      @Stability(Experimental) @NotNull public String toString()
      (experimental) Returns the CloudWatch dimension value for this pipeline ('0' or '1').
      Overrides:
      toString in class Object