interface CfnFlowSourceProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MediaConnect.CfnFlowSourceProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmediaconnect#CfnFlowSourceProps |
![]() | software.amazon.awscdk.services.mediaconnect.CfnFlowSourceProps |
![]() | aws_cdk.aws_mediaconnect.CfnFlowSourceProps |
![]() | aws-cdk-lib » aws_mediaconnect » CfnFlowSourceProps |
Properties for defining a CfnFlowSource
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const cfnFlowSourceProps: mediaconnect.CfnFlowSourceProps = {
description: 'description',
name: 'name',
// the properties below are optional
decryption: {
roleArn: 'roleArn',
// the properties below are optional
algorithm: 'algorithm',
constantInitializationVector: 'constantInitializationVector',
deviceId: 'deviceId',
keyType: 'keyType',
region: 'region',
resourceId: 'resourceId',
secretArn: 'secretArn',
url: 'url',
},
entitlementArn: 'entitlementArn',
flowArn: 'flowArn',
gatewayBridgeSource: {
bridgeArn: 'bridgeArn',
// the properties below are optional
vpcInterfaceAttachment: {
vpcInterfaceName: 'vpcInterfaceName',
},
},
ingestPort: 123,
maxBitrate: 123,
maxLatency: 123,
minLatency: 123,
protocol: 'protocol',
senderControlPort: 123,
senderIpAddress: 'senderIpAddress',
sourceListenerAddress: 'sourceListenerAddress',
sourceListenerPort: 123,
streamId: 'streamId',
vpcInterfaceName: 'vpcInterfaceName',
whitelistCidr: 'whitelistCidr',
};
Properties
Name | Type | Description |
---|---|---|
description | string | A description of the source. |
name | string | The name of the source. |
decryption? | IResolvable | Encryption | The type of encryption that is used on the content ingested from the source. |
entitlement | string | The ARN of the entitlement that allows you to subscribe to the flow. |
flow | string | The Amazon Resource Name (ARN) of the flow this source is connected to. |
gateway | IResolvable | Gateway | The source configuration for cloud flows receiving a stream from a bridge. |
ingest | number | The port that the flow listens on for incoming content. |
max | number | The maximum bitrate for RIST, RTP, and RTP-FEC streams. |
max | number | The maximum latency in milliseconds. |
min | number | The minimum latency in milliseconds for SRT-based streams. |
protocol? | string | The protocol that the source uses to deliver the content to MediaConnect. |
sender | number | The port that the flow uses to send outbound requests to initiate connection with the sender. |
sender | string | The IP address that the flow communicates with to initiate connection with the sender. |
source | string | Source IP or domain name for SRT-caller protocol. |
source | number | Source port for SRT-caller protocol. |
stream | string | The stream ID that you want to use for this transport. |
vpc | string | The name of the VPC interface that you want to send your output to. |
whitelist | string | The range of IP addresses that are allowed to contribute content to your source. |
description
Type:
string
A description of the source.
This description is not visible outside of the current AWS account.
name
Type:
string
The name of the source.
decryption?
Type:
IResolvable
|
Encryption
(optional)
The type of encryption that is used on the content ingested from the source.
entitlementArn?
Type:
string
(optional)
The ARN of the entitlement that allows you to subscribe to the flow.
The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.
flowArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the flow this source is connected to.
The flow must have Failover enabled to add an additional source.
gatewayBridgeSource?
Type:
IResolvable
|
Gateway
(optional)
The source configuration for cloud flows receiving a stream from a bridge.
ingestPort?
Type:
number
(optional)
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.
maxBitrate?
Type:
number
(optional)
The maximum bitrate for RIST, RTP, and RTP-FEC streams.
maxLatency?
Type:
number
(optional)
The maximum latency in milliseconds.
This parameter applies only to RIST-based and Zixi-based streams.
minLatency?
Type:
number
(optional)
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.
protocol?
Type:
string
(optional)
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.
senderControlPort?
Type:
number
(optional)
The port that the flow uses to send outbound requests to initiate connection with the sender.
senderIpAddress?
Type:
string
(optional)
The IP address that the flow communicates with to initiate connection with the sender.
sourceListenerAddress?
Type:
string
(optional)
Source IP or domain name for SRT-caller protocol.
sourceListenerPort?
Type:
number
(optional)
Source port for SRT-caller protocol.
streamId?
Type:
string
(optional)
The stream ID that you want to use for this transport.
This parameter applies only to Zixi and SRT caller-based streams.
vpcInterfaceName?
Type:
string
(optional)
The name of the VPC interface that you want to send your output to.
whitelistCidr?
Type:
string
(optional)
The range of IP addresses that are allowed to contribute content to your source.
Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.