Skip to content
v2.274.0

Experimental

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

BridgeFlowSource Struct ​

The source of the bridge.

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

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 ​

flowIFlowflowIFlowflowIFlowFlowIFlowFlowIFlowrequired#
The cloud flow used as a source of this bridge.
vpcInterfaceoptionalVpcInterfaceConfigvpc_interfaceoptionalVpcInterfaceConfigvpcInterfaceoptionalVpcInterfaceConfigVpcInterfaceoptionalVpcInterfaceConfigVpcInterfaceoptionalVpcInterfaceConfig#
The VPC interface attachment to use for this source.

Default: no VPC interface