RouterInputConfiguration
- class aws_cdk.aws_mediaconnect_alpha.RouterInputConfiguration
Bases:
object(experimental) Factory class for creating Router Input configurations.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
# stack: Stack # media_live_channel: medialive.IChannel input = RouterInput(stack, "ChannelInput", router_input_name="channel-input", maximum_bitrate=Bitrate.mbps(20), routing_scope=RoutingScope.REGIONAL, tier=RouterInputTier.INPUT_50, configuration=RouterInputConfiguration.media_live_channel( channel=media_live_channel, output_name="router-ts", pipeline=MediaLivePipeline.PIPELINE_0 ) )
- Stability:
experimental
Static Methods
- classmethod failover(*, network_interface, protocols, availability_zone=None, source_priority=None)
(experimental) Create a failover Router Input configuration with two matching protocols.
- Parameters:
network_interface (
IRouterNetworkInterface) – (experimental) Network interface for the Router Input.protocols (
Sequence[RouterInputProtocol]) – (experimental) Array of exactly 2 protocol configurations for failover (must be same protocol type).availability_zone (
Optional[str]) – (experimental) The availability zone where the router input is located. Default: - assigned by the MediaConnect servicesource_priority (
Optional[SourcePriorityConfig]) – (experimental) Source priority configuration for failover. Default: SourcePriorityConfig.none()
- Return type:
- Returns:
RouterInputConfiguration instance for failover setup
- Stability:
experimental
- Throws:
Error if protocols don’t match or count is not exactly 2
- classmethod media_connect_flow(*, flow, flow_output, source_transit_decryption=None)
(experimental) Create a MediaConnect Flow Router Input configuration.
Use this when the source flow already exists and you want to connect immediately.
- Parameters:
flow (
IFlow) – (experimental) The MediaConnect flow to use as input.flow_output (
IFlowOutput) – (experimental) The flow output that feeds this router input.source_transit_decryption (
Union[TransitEncryption,Dict[str,Any],None]) – (experimental) Optional transit encryption configuration. Default: - Automatic encryption will be used
- Return type:
- Returns:
RouterInputConfiguration instance for MediaConnect Flow setup
- Stability:
experimental
- classmethod media_connect_flow_without_connection(*, availability_zone, source_transit_decryption=None)
(experimental) Create a MediaConnect Flow Router Input configuration without connecting to a specific flow Use this when you want to prepare the router input for a flow connection later.
- Parameters:
availability_zone (
str) – (experimental) Availability Zone the router input will be placed in.source_transit_decryption (
Union[TransitEncryption,Dict[str,Any],None]) – (experimental) Optional transit encryption configuration. Default: - Automatic encryption will be used
- Return type:
- Returns:
RouterInputConfiguration instance for MediaConnect Flow setup without connection
- Stability:
experimental
- classmethod media_live_channel(*, channel, output_name, pipeline, source_transit_decryption=None)
(experimental) Create a MediaLive Channel Router Input configuration.
Use this when the source MediaLive channel already exists and you want to ingest from one of its outputs immediately.
- Parameters:
channel (
IChannelRef) – (experimental) The MediaLive channel to use as input.output_name (
str) – (experimental) The name of the individual output (within the channel’s MediaConnect Router output group) to connect to this router input — not the name of the output group itself.pipeline (
MediaLivePipeline) – (experimental) The MediaLive pipeline to connect to this router input.source_transit_decryption (
Union[TransitEncryption,Dict[str,Any],None]) – (experimental) Optional transit encryption configuration. Must match the encryption type configured on the MediaLive channel’s MediaConnect Router output group. Default: - automatic encryption
- Return type:
- Returns:
RouterInputConfiguration instance for MediaLive channel setup
- Stability:
experimental
- classmethod media_live_channel_without_connection(*, availability_zone, source_transit_decryption=None)
(experimental) Create a MediaLive Channel Router Input configuration without a specific channel connection.
Use this when you want to set up the router input before the target MediaLive channel exists.
- Parameters:
availability_zone (
str) – (experimental) Availability Zone the router input will be placed in.source_transit_decryption (
Union[TransitEncryption,Dict[str,Any],None]) – (experimental) Optional transit encryption configuration. Default: - Automatic encryption will be used
- Return type:
- Returns:
RouterInputConfiguration instance for MediaLive channel setup without connection
- Stability:
experimental
- classmethod merge(*, merge_recovery_window, network_interface, protocols, availability_zone=None)
(experimental) Create a merge Router Input configuration with two matching non-SRT protocols.
- Parameters:
merge_recovery_window (
Duration) – (experimental) Recovery window for merge operation.network_interface (
IRouterNetworkInterface) – (experimental) Network interface for the Router Input.protocols (
Sequence[RouterInputProtocol]) – (experimental) Array of exactly 2 protocol configurations for merge (must be same non-SRT protocol type).availability_zone (
Optional[str]) – (experimental) The availability zone where the router input is located. Default: - assigned by the MediaConnect service
- Return type:
- Returns:
RouterInputConfiguration instance for merge setup
- Stability:
experimental
- Throws:
Error if protocols don’t match, count is not exactly 2, or SRT protocols are used
- classmethod standard(*, network_interface, protocol, availability_zone=None)
(experimental) Create a standard Router Input configuration with a single protocol.
- Parameters:
network_interface (
IRouterNetworkInterface) – (experimental) Network interface for the Router Input.protocol (
RouterInputProtocol) – (experimental) Protocol configuration for the input.availability_zone (
Optional[str]) – (experimental) The availability zone where the router input is located. Default: - assigned by the MediaConnect service
- Return type:
- Returns:
RouterInputConfiguration instance for standard setup
- Stability:
experimental