BridgeNetworkSource

class aws_cdk.aws_mediaconnect_alpha.BridgeNetworkSource(*, multicast_ip, network, port, protocol, multicast_source_ip=None)

Bases: object

(experimental) Bridge network source options.

Parameters:
  • multicast_ip (str) – (experimental) The network source multicast IP. Must be a valid Multicast IP address.

  • network (GatewayNetwork) – (experimental) The gateway network this source listens on. Use {@link GatewayNetwork.define} to create the network and pass the same instance to the gateway and to each source that uses it.

  • port (Union[int, float]) – (experimental) The network source port.

  • protocol (BridgeProtocol) – (experimental) The network source protocol.

  • multicast_source_ip (Optional[str]) – (experimental) The setting related to the multicast source. The IP address of the source for source-specific multicast (SSM). Default: - no multicast source IP

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

multicast_ip

(experimental) The network source multicast IP.

Must be a valid Multicast IP address.

Stability:

experimental

multicast_source_ip

(experimental) The setting related to the multicast source.

The IP address of the source for source-specific multicast (SSM).

Default:
  • no multicast source IP

Stability:

experimental

network

(experimental) The gateway network this source listens on.

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

Stability:

experimental

port

(experimental) The network source port.

Stability:

experimental

protocol

(experimental) The network source protocol.

Stability:

experimental