Skip to content
v2.278.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

PipelineLockingMethod Class ​

The method MediaLive uses to synchronise pipelines for pipeline output locking.

Example ​

ts
// Video-aligned pipeline locking — useful when sources lack reliable timecodes
const locking = medialive.OutputLocking.pipeline({
  method: medialive.PipelineLockingMethod.VIDEO_ALIGNMENT,
});
python
# Video-aligned pipeline locking — useful when sources lack reliable timecodes
locking = medialive.OutputLocking.pipeline(
    method=medialive.PipelineLockingMethod.VIDEO_ALIGNMENT
)
java
// Video-aligned pipeline locking — useful when sources lack reliable timecodes
OutputLocking locking = OutputLocking.pipeline(PipelineOutputLockingProps.builder()
        .method(PipelineLockingMethod.VIDEO_ALIGNMENT)
        .build());
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// Video-aligned pipeline locking — useful when sources lack reliable timecodes
var locking = OutputLocking.Pipeline(new PipelineOutputLockingProps {
    Method = PipelineLockingMethod.VIDEO_ALIGNMENT
});
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// Video-aligned pipeline locking — useful when sources lack reliable timecodes
locking := medialive.OutputLocking_Pipeline(&PipelineOutputLockingProps{
	Method: medialive.PipelineLockingMethod_VIDEO_ALIGNMENT(),
})

Properties ​

SOURCE_TIMECODEPipelineLockingMethodSOURCE_TIMECODEPipelineLockingMethodSOURCE_TIMECODEPipelineLockingMethodSOURCE_TIMECODEPipelineLockingMethodSOURCE_TIMECODEPipelineLockingMethod static #
Use the timecode in the source (the default).

Requires reliable embedded timecodes.

valuestringvaluestrvalueStringValuestringValue*string #
The underlying string value passed to CloudFormation.
VIDEO_ALIGNMENTPipelineLockingMethodVIDEO_ALIGNMENTPipelineLockingMethodVIDEO_ALIGNMENTPipelineLockingMethodVIDEO_ALIGNMENTPipelineLockingMethodVIDEO_ALIGNMENTPipelineLockingMethod static #
Lock frames the encoder identifies as having matching content (visual signature comparison).

Does not require embedded timecodes; existing timecodes are ignored for locking decisions.

Methods ​

of(value: string): PipelineLockingMethod // chainable@staticmethod def of(value: str) -> PipelineLockingMethodpublic static PipelineLockingMethod of(String value)public static PipelineLockingMethod Of(string value)func Of(Value *string) PipelineLockingMethod static #
A value not yet modelled by AWS CDK.