interface VpcInterfaceConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.VpcInterfaceConfig |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#VpcInterfaceConfig |
Java | software.amazon.awscdk.services.mediaconnect.alpha.VpcInterfaceConfig |
Python | aws_cdk.aws_mediaconnect_alpha.VpcInterfaceConfig |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป VpcInterfaceConfig |
Obtainable from
Flow.addVpcInterface(), Vpc.define(), Vpc.fromNetworkInterfaces()
VPC Interface configuration.
Example
declare const stack: Stack;
declare const gateway: Gateway;
declare const flow: Flow;
declare const vpcInterface: VpcInterfaceConfig;
declare const productionNetwork: GatewayNetwork;
const egressBridge = new Bridge(stack, 'MyEgressBridge', {
bridgeName: 'my-egress-bridge',
config: BridgeConfiguration.egress({
maxBitrate: Bitrate.mbps(10),
flowSources: [{
name: 'cloud-source',
source: {
flow: flow,
vpcInterface: vpcInterface,
},
}],
networkOutputs: [{
name: 'on-prem-output',
output: BridgeOutputConfiguration.network({
ipAddress: '192.168.1.200',
port: 5001,
network: productionNetwork,
protocol: BridgeProtocol.RTP,
ttl: 50,
}),
}],
}),
gateway: gateway,
});
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unique name for this VPC interface within the flow. |
| role | IRole | IAM role that MediaConnect assumes to create ENIs in your account. |
| security | ISecurity[] | Security groups to apply to the ENI. |
| subnet | ISubnet | Subnet where the ENI is created. |
| network | string[] | IDs of the network interfaces. |
| network | Network | The type of network interface. |
name
Type:
string
Unique name for this VPC interface within the flow.
Cannot be changed after creation.
role
Type:
IRole
IAM role that MediaConnect assumes to create ENIs in your account.
securityGroups
Type:
ISecurity[]
Security groups to apply to the ENI.
subnet
Type:
ISubnet
Subnet where the ENI is created.
Must be in the same Availability Zone as the flow.
networkInterfaceIds?
Type:
string[]
(optional, default: MediaConnect creates network interfaces automatically)
IDs of the network interfaces.
Set this when importing existing ENIs via
VpcInterface.fromNetworkInterfaces(); leave unset to have MediaConnect create them.
networkInterfaceType?
Type:
Network
(optional, default: undefined; when omitted, MediaConnect applies NetworkInterface.ENA at deploy time)
The type of network interface.
Use EFA for CDI workflows.

.NET
Go
Java
Python
TypeScript (