AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MediaConnect::FlowSource

CfnFlowSource

The `AWS::MediaConnect::FlowSource` resource is usedt to add additional sources to an existing flow. Adding an additional source requires Failover to be enabled. When you enable Failover, the additional source must use the same protocol as the existing source. A source is the external video content that includes configuration information (encryption and source type) and a network address. Each flow has at least one source. A standard source comes from a source other than another AWS Elemental MediaConnect flow, such as an on-premises encoder.

Import

import { CfnFlowSource } from 'aws-cdk-lib/aws-mediaconnect';

Or use the module namespace:

import * as mediaconnect from 'aws-cdk-lib/aws-mediaconnect';
// mediaconnect.CfnFlowSource

Properties

Configuration passed to the constructor as CfnFlowSourceProps.

descriptionRequired
string

A description for the source. This value is not used or seen outside of the current MediaConnect account.

flowArnRequired
string

The Amazon Resource Name (ARN) of the flow this source is connected to. The flow must have Failover enabled to add an additional source.

nameRequired
string

The name of the source.

decryptionOptional
IResolvable | EncryptionProperty

The type of encryption that is used on the content ingested from this source. Allowable encryption types: static-key.

entitlementArnOptionalDeprecated
string

The ARN of the entitlement that allows you to subscribe to this flow. The entitlement is set by the flow originator, and the ARN is generated as part of the originator's flow.

Deprecated: this property has been deprecated

gatewayBridgeSourceOptional
IResolvable | GatewayBridgeSourceProperty

The bridge's source.

ingestPortOptional
number

The port that the flow listens on for incoming content. If the protocol of the source is Zixi, the port must be set to 2088.

maxBitrateOptional
number

The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.

maxLatencyOptional
number

The maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.

minLatencyOptional
number

The minimum latency in milliseconds for SRT-based streams. In streams that use the SRT protocol, this value that you set on your MediaConnect source or output represents the minimal potential latency of that connection. The latency of the stream is set to the highest number between the sender’s minimum latency and the receiver’s minimum latency.

protocolOptional
string

The protocol that the source uses to deliver the content to MediaConnect. Adding additional sources to an existing flow requires Failover to be enabled. When you enable Failover, the additional source must use the same protocol as the existing source. Only the following protocols support failover: Zixi-push, RTP-FEC, RTP, RIST and SRT protocols. If you use failover with SRT caller or listener, the `FailoverMode` property must be set to `FAILOVER` . The `FailoverMode` property is found in the `FailoverConfig` resource of the same flow ARN you used for the source's `FlowArn` property. SRT caller/listener does not support merge mode failover.

senderControlPortOptionalDeprecated
number

The port that the flow uses to send outbound requests to initiate connection with the sender.

Deprecated: this property has been deprecated

senderIpAddressOptionalDeprecated
string

The IP address that the flow communicates with to initiate connection with the sender.

Deprecated: this property has been deprecated

sourceListenerAddressOptional
string

Source IP or domain name for SRT-caller protocol.

sourceListenerPortOptional
number

Source port for SRT-caller protocol.

streamIdOptional
string

The stream ID that you want to use for this transport. This parameter applies only to Zixi and SRT caller-based streams.

tagsOptional
CfnTag[]

Key-value pairs that can be used to tag and organize this flow source.

vpcInterfaceNameOptional
string

The name of the VPC interface to use for this source.

whitelistCidrOptional
string

The range of IP addresses that should be allowed to contribute content to your source. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter