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

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

Example:

 Stack stack;
 IRole role;
 ISecurityGroup securityGroup;
 ISubnet subnet;
 VpcInterfaceConfig efaInterface = VpcInterface.define(VpcInterfaceDefineProps.builder()
         .vpcInterfaceName("efa-interface")
         .role(role)
         .securityGroups(List.of(securityGroup))
         .subnet(subnet)
         .networkInterfaceType(NetworkInterface.EFA)
         .build());
 MediaStream videoStream = MediaStream.video(MediaStreamVideo.builder()
         .mediaStreamId(1)
         .mediaStreamName("video")
         .videoFormat(MediaVideoFormat.HD_1080P)
         .fmtp(FmtpVideo.builder()
                 .exactFramerate(Framerate.FPS_29_97)
                 .par(PixelAspectRatio.SQUARE)
                 .build())
         .build());
 Flow flow = Flow.Builder.create(stack, "MyCdiFlow")
         .flowSize(FlowSize.LARGE_4X) // Required for CDI and JPEG XS
         .vpcInterfaces(List.of(efaInterface))
         .mediaStreams(List.of(videoStream))
         .source(SourceConfiguration.cdi(SourceCdi.builder()
                 .flowSourceName("cdi-source")
                 .vpcInterface(efaInterface)
                 .port(5000)
                 .maxSyncBuffer(100)
                 .mediaStreamSourceConfigurations(List.of(MediaStreamSourceConfigurationCdi.builder()
                         .encoding(Encoding.RAW)
                         .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 FlowSize
    (experimental) Large flow size.
    static final FlowSize
    (experimental) Option for large 4x flow size.
    static final FlowSize
    (experimental) Medium flow size.
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    (experimental) The flow size string value.
    static FlowSize
    of(String value)
    (experimental) Use a custom flow size 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

  • Constructor Details

    • FlowSize

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

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

    • of

      @Stability(Experimental) @NotNull public static FlowSize of(@NotNull String value)
      (experimental) Use a custom flow size value.

      Parameters:
      value - The flow size string 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 flow size string value.