Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
Pipeline Class
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
ts
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
Methods
toString(): stringdef to_string(self, ) -> strpublic String toString()public string ToString()func ToString() *string#Returns the CloudWatch dimension value for this pipeline (`'0'` or `'1'`).