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.

BridgeNetworkOutputProps Struct ​

Properties for a bridge network output.

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 ​

ipAddressstringip_addressstripAddressStringIpAddressstringIpAddress*stringrequired#
The IP address where the output will send content.
The gateway network this output sends content out of.

Use {@link GatewayNetwork.define} to create the network and pass the same instance to the gateway and to each output that uses it.

portnumberportint | floatportNumberPortdoublePort*float64required#
The port to use for the output.
protocolBridgeProtocolprotocolBridgeProtocolprotocolBridgeProtocolProtocolBridgeProtocolProtocolBridgeProtocolrequired#
The protocol to use for the output.
ttlnumberttlint | floatttlNumberTtldoubleTtl*float64required#
Time to live (TTL) for the output packets in hops (1-255).

TTL represents the maximum number of network hops a packet can traverse before being discarded.