BridgeSourceConfiguration

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

Bases: object

(experimental) Factory class for creating bridge source configurations.

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack
# bridge: Bridge
# flow: Flow


# Add a flow source to an egress bridge (requires failover to be enabled)
additional_source = BridgeSource(stack, "AdditionalSource",
    bridge_source_name="backup-source",
    bridge=bridge,
    source=BridgeSourceConfiguration.flow(
        flow=flow
    )
)
Parameters:
  • flow_config (Union[BridgeFlowSource, Dict[str, Any], None]) – flow source configuration.

  • 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

Static Methods

classmethod flow(*, flow, vpc_interface=None)

(experimental) Create a flow source configuration for a bridge source.

Parameters:
  • flow (IFlow) – (experimental) The cloud flow used as a source of this bridge.

  • vpc_interface (Union[VpcInterfaceConfig, Dict[str, Any], None]) – (experimental) The VPC interface attachment to use for this source. Default: - no VPC interface

Return type:

BridgeSourceConfiguration

Returns:

Bridge source configuration with flow source

Stability:

experimental

classmethod network(*, multicast_ip, network, port, protocol, multicast_source_ip=None)

(experimental) Create a network source configuration for a bridge source.

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

Return type:

BridgeSourceConfiguration

Returns:

Bridge source configuration with network source

Stability:

experimental