BridgeConfiguration

class aws_cdk.aws_mediaconnect_alpha.BridgeConfiguration(*args: Any, **kwargs)

Bases: object

(experimental) Bridge configuration to set ingress and egress options on the bridge.

Stability:

experimental

ExampleMetadata:

infused

Example:

from aws_cdk.aws_mediaconnect_alpha import BridgeNetworkInput, BridgeNetworkSource
# stack: Stack


production_network = GatewayNetwork.define(
    cidr_block="192.168.1.0/24",
    name="production-network"
)

gateway = Gateway(stack, "MyGateway",
    gateway_name="my-gateway",
    egress_cidr_blocks=["10.0.0.0/16"],
    networks=[production_network]
)

ingress_bridge = Bridge(stack, "MyIngressBridge",
    bridge_name="my-ingress-bridge",
    config=BridgeConfiguration.ingress(
        max_bitrate=Bitrate.mbps(10),
        max_outputs=2,
        network_sources=[BridgeNetworkInput(
            name="on-prem-source",
            source=BridgeNetworkSource(
                protocol=BridgeProtocol.RTP,
                network=production_network,
                multicast_ip="239.1.1.1",
                port=5000
            )
        )]
    ),
    gateway=gateway
)

Static Methods

classmethod egress(*, flow_sources, max_bitrate, network_outputs)

(experimental) An egress bridge is a cloud-to-ground bridge.

The content comes from an existing MediaConnect flow and is delivered to your premises.

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

Return type:

BridgeConfiguration

classmethod ingress(*, max_bitrate, max_outputs, network_sources)

(experimental) An ingress bridge is a ground-to-cloud bridge.

The content originates at your premises and is delivered to the cloud.

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

  • max_outputs (Union[int, float]) – (experimental) The maximum number of outputs on the ingress bridge.

  • network_sources (Sequence[Union[BridgeNetworkInput, Dict[str, Any]]]) – (experimental) The network sources for the ingress bridge.

Stability:

experimental

Return type:

BridgeConfiguration