EgressBridgeConfiguration

class aws_cdk.aws_mediaconnect_alpha.EgressBridgeConfiguration(*, flow_sources, max_bitrate, network_outputs)

Bases: object

(experimental) Egress bridge configuration.

Parameters:
  • flow_sources (Sequence[Union[BridgeFlowInput, Dict[str, Any]]]) – (experimental) The flow sources for the egress bridge.

  • max_bitrate (Bitrate) – (experimental) The maximum expected bitrate (in bps) of the bridge.

  • network_outputs (Sequence[Union[BridgeNetworkOutput, Dict[str, Any]]]) – (experimental) The network outputs for the egress bridge.

Stability:

experimental

ExampleMetadata:

infused

Example:

from aws_cdk.aws_mediaconnect_alpha import BridgeFlowInput, BridgeFlowSource, BridgeNetworkOutput
# stack: Stack
# gateway: Gateway
# flow: Flow
# vpc_interface: VpcInterfaceConfig
# production_network: GatewayNetwork


egress_bridge = Bridge(stack, "MyEgressBridge",
    bridge_name="my-egress-bridge",
    config=BridgeConfiguration.egress(
        max_bitrate=Bitrate.mbps(10),
        flow_sources=[BridgeFlowInput(
            name="cloud-source",
            source=BridgeFlowSource(
                flow=flow,
                vpc_interface=vpc_interface
            )
        )],
        network_outputs=[BridgeNetworkOutput(
            name="on-prem-output",
            output=BridgeOutputConfiguration.network(
                ip_address="192.168.1.200",
                port=5001,
                network=production_network,
                protocol=BridgeProtocol.RTP,
                ttl=50
            )
        )]
    ),
    gateway=gateway
)

Attributes

flow_sources

(experimental) The flow sources for the egress bridge.

Stability:

experimental

max_bitrate

(experimental) The maximum expected bitrate (in bps) of the bridge.

Stability:

experimental

network_outputs

(experimental) The network outputs for the egress bridge.

Stability:

experimental