Interface CfnFlowSourceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowSourceProps.Jsii$Proxy
CfnFlowSource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.*;
CfnFlowSourceProps cfnFlowSourceProps = CfnFlowSourceProps.builder()
.description("description")
.name("name")
// the properties below are optional
.decryption(EncryptionProperty.builder()
.roleArn("roleArn")
// the properties below are optional
.algorithm("algorithm")
.constantInitializationVector("constantInitializationVector")
.deviceId("deviceId")
.keyType("keyType")
.region("region")
.resourceId("resourceId")
.secretArn("secretArn")
.url("url")
.build())
.entitlementArn("entitlementArn")
.flowArn("flowArn")
.gatewayBridgeSource(GatewayBridgeSourceProperty.builder()
.bridgeArn("bridgeArn")
// the properties below are optional
.vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
.vpcInterfaceName("vpcInterfaceName")
.build())
.build())
.ingestPort(123)
.maxBitrate(123)
.maxLatency(123)
.minLatency(123)
.protocol("protocol")
.senderControlPort(123)
.senderIpAddress("senderIpAddress")
.sourceListenerAddress("sourceListenerAddress")
.sourceListenerPort(123)
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlowSourcePropsstatic final classAn implementation forCfnFlowSourceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFlowSourceProps.Builderbuilder()default ObjectThe type of encryption that is used on the content ingested from this source.A description for the source.default StringThe ARN of the entitlement that allows you to subscribe to this flow.default StringThe Amazon Resource Name (ARN) of the flow this source is connected to.default ObjectThe bridge's source.default NumberThe port that the flow listens on for incoming content.default NumberThe smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.default NumberThe maximum latency in milliseconds.default NumberThe minimum latency in milliseconds for SRT-based streams.getName()The name of the source.default StringThe protocol that the source uses to deliver the content to MediaConnect.default NumberThe port that the flow uses to send outbound requests to initiate connection with the sender.default StringThe IP address that the flow communicates with to initiate connection with the sender.default StringSource IP or domain name for SRT-caller protocol.default NumberSource port for SRT-caller protocol.default StringThe stream ID that you want to use for this transport.default StringThe name of the VPC interface to use for this source.default StringThe range of IP addresses that should be allowed to contribute content to your source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
A description for the source.This value is not used or seen outside of the current MediaConnect account.
- See Also:
-
getName
The name of the source.- See Also:
-
getDecryption
The type of encryption that is used on the content ingested from this source.Allowable encryption types: static-key.
Returns union: either
IResolvableorCfnFlowSource.EncryptionProperty- See Also:
-
getEntitlementArn
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.
- See Also:
-
getFlowArn
The Amazon Resource Name (ARN) of the flow this source is connected to.The flow must have Failover enabled to add an additional source.
- See Also:
-
getGatewayBridgeSource
The bridge's source.Returns union: either
IResolvableorCfnFlowSource.GatewayBridgeSourceProperty- See Also:
-
getIngestPort
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.
- See Also:
-
getMaxBitrate
The smoothing max bitrate (in bps) for RIST, RTP, and RTP-FEC streams.- See Also:
-
getMaxLatency
The maximum latency in milliseconds.This parameter applies only to RIST-based and Zixi-based streams.
- See Also:
-
getMinLatency
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.
- See Also:
-
getProtocol
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
FailoverModeproperty must be set toFAILOVER. TheFailoverModeproperty is found in theFailoverConfigresource of the same flow ARN you used for the source'sFlowArnproperty. SRT caller/listener does not support merge mode failover.- See Also:
-
getSenderControlPort
The port that the flow uses to send outbound requests to initiate connection with the sender.- See Also:
-
getSenderIpAddress
The IP address that the flow communicates with to initiate connection with the sender.- See Also:
-
getSourceListenerAddress
Source IP or domain name for SRT-caller protocol.- See Also:
-
getSourceListenerPort
Source port for SRT-caller protocol.- See Also:
-
getStreamId
The stream ID that you want to use for this transport.This parameter applies only to Zixi and SRT caller-based streams.
- See Also:
-
getVpcInterfaceName
The name of the VPC interface to use for this source.- See Also:
-
getWhitelistCidr
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.
- See Also:
-
builder
- Returns:
- a
CfnFlowSourceProps.BuilderofCfnFlowSourceProps
-