Interface BridgeFlowSource

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BridgeFlowSource.Jsii$Proxy

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.132Z") @Stability(Experimental) public interface BridgeFlowSource extends software.amazon.jsii.JsiiSerializable
(experimental) The source of the bridge.

A flow source originates in MediaConnect as an existing cloud flow.

Example:

 Stack stack;
 Gateway gateway;
 Flow flow;
 VpcInterfaceConfig vpcInterface;
 GatewayNetwork productionNetwork;
 Bridge egressBridge = Bridge.Builder.create(stack, "MyEgressBridge")
         .bridgeName("my-egress-bridge")
         .config(BridgeConfiguration.egress(EgressBridgeConfiguration.builder()
                 .maxBitrate(Bitrate.mbps(10))
                 .flowSources(List.of(BridgeFlowInput.builder()
                         .name("cloud-source")
                         .source(BridgeFlowSource.builder()
                                 .flow(flow)
                                 .vpcInterface(vpcInterface)
                                 .build())
                         .build()))
                 .networkOutputs(List.of(BridgeNetworkOutput.builder()
                         .name("on-prem-output")
                         .output(BridgeOutputConfiguration.network(BridgeNetworkOutputProps.builder()
                                 .ipAddress("192.168.1.200")
                                 .port(5001)
                                 .network(productionNetwork)
                                 .protocol(BridgeProtocol.RTP)
                                 .ttl(50)
                                 .build()))
                         .build()))
                 .build()))
         .gateway(gateway)
         .build();
 
  • Method Details

    • getFlow

      @Stability(Experimental) @NotNull IFlow getFlow()
      (experimental) The cloud flow used as a source of this bridge.
    • getVpcInterface

      @Stability(Experimental) @Nullable default VpcInterfaceConfig getVpcInterface()
      (experimental) The VPC interface attachment to use for this source.

      Default: - no VPC interface

    • builder

      @Stability(Experimental) static BridgeFlowSource.Builder builder()
      Returns:
      a BridgeFlowSource.Builder of BridgeFlowSource