BridgeFlowSource
- class aws_cdk.aws_mediaconnect_alpha.BridgeFlowSource(*, flow, vpc_interface=None)
Bases:
object(experimental) The source of the bridge.
A flow source originates in MediaConnect as an existing cloud flow.
- 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
- 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
(experimental) The cloud flow used as a source of this bridge.
- Stability:
experimental
- vpc_interface
(experimental) The VPC interface attachment to use for this source.
- Default:
no VPC interface
- Stability:
experimental