Class CfnFlowSourceProps
Properties for defining a CfnFlowSource
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.MediaConnect
Assembly: Amazon.CDK.AWS.MediaConnect.dll
Syntax (csharp)
public class CfnFlowSourceProps : Object, ICfnFlowSourceProps
Syntax (vb)
Public Class CfnFlowSourceProps
Inherits Object
Implements ICfnFlowSourceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;
var cfnFlowSourceProps = new CfnFlowSourceProps {
Description = "description",
Name = "name",
// the properties below are optional
Decryption = new EncryptionProperty {
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",
IngestPort = 123,
MaxBitrate = 123,
MaxLatency = 123,
MinLatency = 123,
Protocol = "protocol",
SenderControlPort = 123,
SenderIpAddress = "senderIpAddress",
SourceListenerAddress = "sourceListenerAddress",
SourceListenerPort = 123,
StreamId = "streamId",
VpcInterfaceName = "vpcInterfaceName",
WhitelistCidr = "whitelistCidr"
};
Synopsis
Constructors
CfnFlowSourceProps() |
Properties
Decryption | The type of encryption that is used on the content ingested from the source. |
Description | A description of the source. |
EntitlementArn | The ARN of the entitlement that allows you to subscribe to the flow. |
FlowArn | The Amazon Resource Name (ARN) of the flow this source is connected to. |
IngestPort | The port that the flow listens on for incoming content. |
MaxBitrate | The maximum bitrate for RIST, RTP, and RTP-FEC streams. |
MaxLatency | The maximum latency in milliseconds. |
MinLatency | The minimum latency in milliseconds for SRT-based streams. |
Name | The name of the source. |
Protocol | The protocol that the source uses to deliver the content to MediaConnect. |
SenderControlPort | The port that the flow uses to send outbound requests to initiate connection with the sender. |
SenderIpAddress | The IP address that the flow communicates with to initiate connection with the sender. |
SourceListenerAddress | Source IP or domain name for SRT-caller protocol. |
SourceListenerPort | Source port for SRT-caller protocol. |
StreamId | The stream ID that you want to use for this transport. |
VpcInterfaceName | The name of the VPC interface that you want to send your output to. |
WhitelistCidr | The range of IP addresses that are allowed to contribute content to your source. |
Constructors
CfnFlowSourceProps()
public CfnFlowSourceProps()
Properties
Decryption
The type of encryption that is used on the content ingested from the source.
public object Decryption { get; set; }
Property Value
System.Object
Remarks
Description
A description of the source.
public string Description { get; set; }
Property Value
System.String
Remarks
This description is not visible outside of the current AWS account.
EntitlementArn
The ARN of the entitlement that allows you to subscribe to the flow.
public string EntitlementArn { get; set; }
Property Value
System.String
Remarks
The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.
FlowArn
The Amazon Resource Name (ARN) of the flow this source is connected to.
public string FlowArn { get; set; }
Property Value
System.String
Remarks
The flow must have Failover enabled to add an additional source.
IngestPort
The port that the flow listens on for incoming content.
public Nullable<double> IngestPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
If the protocol of the source is Zixi, the port must be set to 2088.
MaxBitrate
The maximum bitrate for RIST, RTP, and RTP-FEC streams.
public Nullable<double> MaxBitrate { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
MaxLatency
The maximum latency in milliseconds.
public Nullable<double> MaxLatency { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
MinLatency
The minimum latency in milliseconds for SRT-based streams.
public Nullable<double> MinLatency { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
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.
Name
The name of the source.
public string Name { get; set; }
Property Value
System.String
Remarks
Protocol
The protocol that the source uses to deliver the content to MediaConnect.
public string Protocol { get; set; }
Property Value
System.String
Remarks
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
The port that the flow uses to send outbound requests to initiate connection with the sender.
public Nullable<double> SenderControlPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
SenderIpAddress
The IP address that the flow communicates with to initiate connection with the sender.
public string SenderIpAddress { get; set; }
Property Value
System.String
Remarks
SourceListenerAddress
Source IP or domain name for SRT-caller protocol.
public string SourceListenerAddress { get; set; }
Property Value
System.String
Remarks
SourceListenerPort
Source port for SRT-caller protocol.
public Nullable<double> SourceListenerPort { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
StreamId
The stream ID that you want to use for this transport.
public string StreamId { get; set; }
Property Value
System.String
Remarks
This parameter applies only to Zixi and SRT caller-based streams.
VpcInterfaceName
The name of the VPC interface that you want to send your output to.
public string VpcInterfaceName { get; set; }
Property Value
System.String
Remarks
WhitelistCidr
The range of IP addresses that are allowed to contribute content to your source.
public string WhitelistCidr { get; set; }
Property Value
System.String
Remarks
Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.