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

    Fields
    Modifier and Type
    Field
    Description
    static 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

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

    Modifier and Type
    Method
    Description
    (experimental) The underlying string value passed to CloudFormation.
    of(String value)
    (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, jsiiStaticSet

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • EMBEDDED

      @Stability(Experimental) public static final TimecodeSource EMBEDDED
      (experimental) Use embedded timecode from the source.

      Falls back to zero-based if not detected.

    • SYSTEMCLOCK

      @Stability(Experimental) public static final TimecodeSource SYSTEMCLOCK
      (experimental) Use the system clock (UTC).
    • ZEROBASED

      @Stability(Experimental) public static final TimecodeSource 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

      @Stability(Experimental) @NotNull public static TimecodeSource of(@NotNull String value)
      (experimental) A value not yet modelled by AWS CDK.

      Parameters:
      value - This parameter is required.
    • getValue

      @Stability(Experimental) @NotNull public String getValue()
      (experimental) The underlying string value passed to CloudFormation.