class Pipeline
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.Pipeline |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#Pipeline |
Java | software.amazon.awscdk.services.medialive.alpha.Pipeline |
Python | aws_cdk.aws_medialive_alpha.Pipeline |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป Pipeline |
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
declare const channel: medialive.Channel;
declare const stack: Stack;
channel.metricDroppedFrames(medialive.Pipeline.PIPELINE_0).createAlarm(stack, 'DroppedFrames', {
threshold: 1,
evaluationPeriods: 2,
});
channel.metricSvqTime(medialive.Pipeline.PIPELINE_0).createAlarm(stack, 'SvqTime', {
threshold: 0,
evaluationPeriods: 1,
});
// Custom metric by name with sum statistic
channel.metric('Output4xxErrors', medialive.Pipeline.PIPELINE_0, { statistic: 'sum' });
Properties
| Name | Type | Description |
|---|---|---|
| static PIPELINE_0 | Pipeline | Pipeline 0. |
| static PIPELINE_1 | Pipeline | Pipeline 1. |
static PIPELINE_0
Type:
Pipeline
Pipeline 0.
Always available on every channel.
static PIPELINE_1
Type:
Pipeline
Pipeline 1.
Available only on STANDARD channels.
Methods
| Name | Description |
|---|---|
| to | Returns the CloudWatch dimension value for this pipeline ('0' or '1'). |
toString()
public toString(): string
Returns
string
Returns the CloudWatch dimension value for this pipeline ('0' or '1').

.NET
Go
Java
Python
TypeScript (