BridgeProps

class aws_cdk.aws_mediaconnect_alpha.BridgeProps(*, config, gateway, bridge_name=None, source_failover_config=None)

Bases: object

(experimental) Properties for the Bridge.

Parameters:
  • config (BridgeConfiguration) – (experimental) The bridge configuration specifying ingress or egress settings.

  • gateway (IGateway) – (experimental) The gateway that the bridge is associated with.

  • bridge_name (Optional[str]) – (experimental) The name of the bridge. Cannot be modified after the bridge is created. Default: - autogenerated

  • source_failover_config (Optional[BridgeFailoverConfig]) – (experimental) The source failover configuration for the bridge. Default: - No failover configuration

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
)

Attributes

bridge_name

(experimental) The name of the bridge.

Cannot be modified after the bridge is created.

Default:
  • autogenerated

Stability:

experimental

config

(experimental) The bridge configuration specifying ingress or egress settings.

Stability:

experimental

gateway

(experimental) The gateway that the bridge is associated with.

Stability:

experimental

source_failover_config

(experimental) The source failover configuration for the bridge.

Default:
  • No failover configuration

Stability:

experimental