Skip to content
v2.275.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

VpcInterfaceConfig Struct ​

VPC Interface configuration.

Example ​

ts
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 ​

namestringnamestrnameStringNamestringName*stringrequired#
Unique name for this VPC interface within the flow.

Cannot be changed after creation.

networkInterfaceIdsoptionalstring[]network_interface_idsoptionaltyping.List[str]networkInterfaceIdsoptionalList<String>NetworkInterfaceIdsoptionalstring[]NetworkInterfaceIdsoptional*[]*string#
IDs of the network interfaces.

Default: MediaConnect creates network interfaces automatically

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

networkInterfaceTypeoptionalNetworkInterfacenetwork_interface_typeoptionalNetworkInterfacenetworkInterfaceTypeoptionalNetworkInterfaceNetworkInterfaceTypeoptionalNetworkInterfaceNetworkInterfaceTypeoptionalNetworkInterface#
The type of network interface.

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

Use EFA for CDI workflows.

roleIRoleroleIRoleroleIRoleRoleIRoleRoleIRolerequired#
IAM role that MediaConnect assumes to create ENIs in your account.
securityGroupsISecurityGroup[]security_groupstyping.List[ISecurityGroup]securityGroupsList<ISecurityGroup>SecurityGroupsISecurityGroup[]SecurityGroups*[]ISecurityGrouprequired#
Security groups to apply to the ENI.
subnetISubnetsubnetISubnetsubnetISubnetSubnetISubnetSubnetISubnetrequired#
Subnet where the ENI is created.

Must be in the same Availability Zone as the flow.