Class TimecodeSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.TimecodeSource
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.388Z")
@Stability(Experimental)
public class TimecodeSource
extends software.amazon.jsii.JsiiObject
(experimental) The source of timecode for the channel outputs.
Example:
Stack stack;
IInput input;
IBucket bucket;
EncodeConfiguration video;
EncodeConfiguration audio;
Channel.Builder.create(stack, "Channel")
.inputs(List.of(InputAttachment.builder().input(input).build()))
.timecodeConfig(TimecodeConfig.builder()
.source(TimecodeSource.EMBEDDED)
.build())
.globalConfiguration(GlobalConfiguration.builder()
.outputLocking(OutputLocking.epoch())
.outputTimingSource(OutputTimingSource.INPUT_CLOCK)
.build())
.outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video, audio)).outputName("hls_out").build()))
.build())))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimecodeSource(experimental) Use embedded timecode from the source.static final TimecodeSource(experimental) Use the system clock (UTC).static final TimecodeSource(experimental) Start at 00:00:00:00. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTimecodeSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedTimecodeSource(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongetValue()(experimental) The underlying string value passed to CloudFormation.static TimecodeSource(experimental) A value not yet modelled by AWS CDK.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
EMBEDDED
(experimental) Use embedded timecode from the source.Falls back to zero-based if not detected.
-
SYSTEMCLOCK
(experimental) Use the system clock (UTC). -
ZEROBASED
(experimental) Start at 00:00:00:00.
-
-
Constructor Details
-
TimecodeSource
protected TimecodeSource(software.amazon.jsii.JsiiObjectRef objRef) -
TimecodeSource
protected TimecodeSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
of
(experimental) A value not yet modelled by AWS CDK.- Parameters:
value- This parameter is required.
-
getValue
(experimental) The underlying string value passed to CloudFormation.
-