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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVpcInterfaceConfigstatic final classAn implementation forVpcInterfaceConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic VpcInterfaceConfig.Builderbuilder()getName()(experimental) Unique name for this VPC interface within the flow.(experimental) IDs of the network interfaces.default NetworkInterface(experimental) The type of network interface.getRole()(experimental) IAM role that MediaConnect assumes to create ENIs in your account.(experimental) Security groups to apply to the ENI.(experimental) Subnet where the ENI is created.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
(experimental) Unique name for this VPC interface within the flow.Cannot be changed after creation.
-
getRole
(experimental) IAM role that MediaConnect assumes to create ENIs in your account. -
getSecurityGroups
(experimental) Security groups to apply to the ENI. -
getSubnet
(experimental) Subnet where the ENI is created.Must be in the same Availability Zone as the flow.
-
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
(experimental) The type of network interface.Use
EFAfor CDI workflows.Default: - undefined; when omitted, MediaConnect applies NetworkInterface.ENA at deploy time
-
builder
- Returns:
- a
VpcInterfaceConfig.BuilderofVpcInterfaceConfig
-