Interface VpcInterfaceConfig

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

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-31T10:49:55.237Z") @Stability(Experimental) public interface VpcInterfaceConfig extends software.amazon.jsii.JsiiSerializable
(experimental) VPC Interface configuration.

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

    • getName

      @Stability(Experimental) @NotNull String getName()
      (experimental) Unique name for this VPC interface within the flow.

      Cannot be changed after creation.

    • getRole

      @Stability(Experimental) @NotNull IRole getRole()
      (experimental) IAM role that MediaConnect assumes to create ENIs in your account.
    • getSecurityGroups

      @Stability(Experimental) @NotNull List<ISecurityGroup> getSecurityGroups()
      (experimental) Security groups to apply to the ENI.
    • getSubnet

      @Stability(Experimental) @NotNull ISubnet getSubnet()
      (experimental) Subnet where the ENI is created.

      Must be in the same Availability Zone as the flow.

    • getNetworkInterfaceIds

      @Stability(Experimental) @Nullable default List<String> getNetworkInterfaceIds()
      (experimental) IDs of the network interfaces.

      Set this when importing existing ENIs via VpcInterface.fromNetworkInterfaces(); leave unset to have MediaConnect create them.

      Default: - MediaConnect creates network interfaces automatically

    • getNetworkInterfaceType

      @Stability(Experimental) @Nullable default NetworkInterface getNetworkInterfaceType()
      (experimental) The type of network interface.

      Use EFA for CDI workflows.

      Default: - undefined; when omitted, MediaConnect applies NetworkInterface.ENA at deploy time

    • builder

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