Interface CfnFlow.SourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlow.SourceProperty.Jsii$Proxy
- Enclosing class:
CfnFlow
If you are creating a flow with a VPC source, you must first create the flow with a temporary standard source by doing the following:
- Use CloudFormation to create a flow with a standard source that uses the flow’s public IP address.
- Use CloudFormation to create the VPC interface to add to this flow. This can also be done as part of the previous step.
- After CloudFormation has created the flow and the VPC interface, update the source to point to the VPC interface that you created.
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.*;
SourceProperty sourceProperty = SourceProperty.builder()
.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())
.description("description")
.entitlementArn("entitlementArn")
.gatewayBridgeSource(GatewayBridgeSourceProperty.builder()
.bridgeArn("bridgeArn")
// the properties below are optional
.vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
.vpcInterfaceName("vpcInterfaceName")
.build())
.build())
.ingestIp("ingestIp")
.ingestPort(123)
.maxBitrate(123)
.maxLatency(123)
.maxSyncBuffer(123)
.mediaStreamSourceConfigurations(List.of(MediaStreamSourceConfigurationProperty.builder()
.encodingName("encodingName")
.mediaStreamName("mediaStreamName")
// the properties below are optional
.inputConfigurations(List.of(InputConfigurationProperty.builder()
.inputPort(123)
.interface(InterfaceProperty.builder()
.name("name")
.build())
.build()))
.build()))
.minLatency(123)
.name("name")
.protocol("protocol")
.senderControlPort(123)
.senderIpAddress("senderIpAddress")
.sourceArn("sourceArn")
.sourceIngestPort("sourceIngestPort")
.sourceListenerAddress("sourceListenerAddress")
.sourceListenerPort(123)
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlow.SourcePropertystatic final classAn implementation forCfnFlow.SourceProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe type of encryption that is used on the content ingested from this source.default StringA description for the source.default StringThe ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.default ObjectThe source configuration for cloud flows receiving a stream from a bridge.default StringThe IP address that the flow will be listening on for incoming content.default NumberThe port that the flow will be listening on for incoming content.default NumberThe maximum bitrate for RIST, RTP, and RTP-FEC streams.default NumberThe maximum latency in milliseconds for a RIST or Zixi-based source.default NumberThe size of the buffer (in milliseconds) to use to sync incoming source data.default ObjectThe media streams that are associated with the source, and the parameters for those associations.default NumberThe minimum latency in milliseconds for SRT-based streams.default StringgetName()The name of the source.default StringThe protocol that is used by the source.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 StringThe ARN of the source.default StringThe port that the flow listens on for incoming content.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 the transport.default StringThe name of the VPC interface that is used 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
-
getDecryption
The type of encryption that is used on the content ingested from this source.Returns union: either
IResolvableorCfnFlow.EncryptionProperty- See Also:
-
getDescription
A description for the source.This value is not used or seen outside of the current MediaConnect account.
- See Also:
-
getEntitlementArn
The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.The entitlement is set by the content originator and the ARN is generated as part of the originator's flow.
- See Also:
-
getGatewayBridgeSource
The source configuration for cloud flows receiving a stream from a bridge.Returns union: either
IResolvableorCfnFlow.GatewayBridgeSourceProperty- See Also:
-
getIngestIp
The IP address that the flow will be listening on for incoming content.- See Also:
-
getIngestPort
The port that the flow will be listening on for incoming content.- See Also:
-
getMaxBitrate
The maximum bitrate for RIST, RTP, and RTP-FEC streams.- See Also:
-
getMaxLatency
The maximum latency in milliseconds for a RIST or Zixi-based source.- See Also:
-
getMaxSyncBuffer
The size of the buffer (in milliseconds) to use to sync incoming source data.- See Also:
-
getMediaStreamSourceConfigurations
The media streams that are associated with the source, and the parameters for those associations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFlow.MediaStreamSourceConfigurationProperty>- 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:
-
getName
The name of the source.- See Also:
-
getProtocol
The protocol that is used by the source.AWS CloudFormation does not currently support CDI or ST 2110 JPEG XS source protocols.
AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
- 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:
-
getSourceArn
The ARN of the source.- See Also:
-
getSourceIngestPort
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:
-
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 the transport.This parameter applies only to Zixi-based streams.
- See Also:
-
getVpcInterfaceName
The name of the VPC interface that is used 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
CfnFlow.SourceProperty.BuilderofCfnFlow.SourceProperty
-