java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.mediaconnect.alpha.VideoRange
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.237Z") @Stability(Experimental) public class VideoRange extends software.amazon.jsii.JsiiObject
(experimental) Options for Video Range.

Example:

 Stack stack;
 IRole role;
 ISecurityGroup sg1;
 ISecurityGroup sg2;
 ISubnet subnet;
 VpcInterfaceConfig efaInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
         .vpcInterfaceName("efa-interface")
         .role(role)
         .securityGroups(List.of(sg1))
         .subnet(subnet)
         .networkInterfaceType(NetworkInterface.EFA)
         .build());
 VpcInterfaceConfig enaInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
         .vpcInterfaceName("ena-interface")
         .role(role)
         .securityGroups(List.of(sg2))
         .subnet(subnet)
         .networkInterfaceType(NetworkInterface.ENA)
         .build());
 MediaStream videoStream = MediaStream.video(MediaStreamVideo.builder()
         .mediaStreamId(1)
         .mediaStreamName("video")
         .videoFormat(MediaVideoFormat.UHD_2160P)
         .fmtp(FmtpVideo.builder()
                 .exactFramerate(Framerate.FPS_59_94)
                 .par(PixelAspectRatio.SQUARE)
                 .colorimetry(Colorimetry.BT2020)
                 .videoRange(VideoRange.FULL)
                 .scanMode(ScanMode.PROGRESSIVE)
                 .tcs(Tcs.PQ)
                 .build())
         .build());
 Flow flow = Flow.Builder.create(stack, "MyJpegXsFlow")
         .flowSize(FlowSize.LARGE_4X) // Required for JPEG XS
         .vpcInterfaces(List.of(efaInterface, enaInterface))
         .mediaStreams(List.of(videoStream))
         .source(SourceConfiguration.jpegXs(SourceJpegXs.builder()
                 .flowSourceName("jpegxs-source")
                 .maxSyncBuffer(100)
                 .mediaStreamSourceConfigurations(List.of(MediaStreamSourceConfigurationJpegXs.builder()
                         .encoding(Encoding.JXSV)
                         .port(5000)
                         .inputInterface(List.of(efaInterface, enaInterface)) // 2 interfaces for redundancy
                         .mediaStream(videoStream)
                         .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 VideoRange
    (experimental) Option for Full.
    static final VideoRange
    (experimental) Option for Full Protect.
    static final VideoRange
    (experimental) Option for Narrow.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    (experimental) The video range string value.
    static VideoRange
    of(String value)
    (experimental) Use a custom video range value.
    (experimental) Returns the string value.

    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, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • FULL

      @Stability(Experimental) public static final VideoRange FULL
      (experimental) Option for Full.
    • FULLPROTECT

      @Stability(Experimental) public static final VideoRange FULLPROTECT
      (experimental) Option for Full Protect.
    • NARROW

      @Stability(Experimental) public static final VideoRange NARROW
      (experimental) Option for Narrow.
  • Constructor Details

    • VideoRange

      protected VideoRange(software.amazon.jsii.JsiiObjectRef objRef)
    • VideoRange

      protected VideoRange(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • of

      @Stability(Experimental) @NotNull public static VideoRange of(@NotNull String value)
      (experimental) Use a custom video range value.

      Parameters:
      value - This parameter is required.
    • toString

      @Stability(Experimental) @NotNull public String toString()
      (experimental) Returns the string value.
      Overrides:
      toString in class Object
    • getValue

      @Stability(Experimental) @NotNull public String getValue()
      (experimental) The video range string value.