@Stability(value=Stable)
public static interface CfnFlow.SourceProperty
extends software.amazon.jsii.JsiiSerializable
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:
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")
.ingestIp("ingestIp")
.ingestPort(123)
.maxBitrate(123)
.maxLatency(123)
.minLatency(123)
.name("name")
.protocol("protocol")
.sourceArn("sourceArn")
.sourceIngestPort("sourceIngestPort")
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFlow.SourceProperty.Builder
A builder for
CfnFlow.SourceProperty |
static class |
CfnFlow.SourceProperty.Jsii$Proxy
An implementation for
CfnFlow.SourceProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFlow.SourceProperty.Builder |
builder() |
default Object |
getDecryption()
The type of encryption that is used on the content ingested from the source.
|
default String |
getDescription()
A description of the source.
|
default String |
getEntitlementArn()
The ARN of the entitlement that allows you to subscribe to content that comes from another AWS account.
|
default String |
getIngestIp()
The IP address that the flow listens on for incoming content.
|
default Number |
getIngestPort()
The port that the flow listens on for incoming content.
|
default Number |
getMaxBitrate()
The maximum bitrate for RIST, RTP, and RTP-FEC streams.
|
default Number |
getMaxLatency()
The maximum latency in milliseconds for a RIST or Zixi-based source.
|
default Number |
getMinLatency()
The minimum latency in milliseconds for SRT-based streams.
|
default String |
getName()
The name of the source.
|
default String |
getProtocol()
The protocol that is used by the source.
|
default String |
getSourceArn()
The ARN of the source.
|
default String |
getSourceIngestPort()
The port that the flow will be listening on for incoming content.
|
default String |
getStreamId()
The stream ID that you want to use for the transport.
|
default String |
getVpcInterfaceName()
The name of the VPC interface that the source content comes from.
|
default String |
getWhitelistCidr()
The range of IP addresses that are allowed to contribute content to your source.
|
@Stability(value=Stable) @Nullable default Object getDecryption()
@Stability(value=Stable) @Nullable default String getDescription()
This description is not visible outside of the current AWS account.
@Stability(value=Stable) @Nullable default String getEntitlementArn()
The entitlement is set by the content originator and the ARN is generated as part of the originator’s flow.
@Stability(value=Stable) @Nullable default String getIngestIp()
@Stability(value=Stable) @Nullable default Number getIngestPort()
If the protocol of the source is Zixi, the port must be set to 2088.
@Stability(value=Stable) @Nullable default Number getMaxBitrate()
@Stability(value=Stable) @Nullable default Number getMaxLatency()
@Stability(value=Stable) @Nullable default Number getMinLatency()
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.
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default String getProtocol()
For a full list of available protocols, see: Source protocols in the AWS Elemental MediaConnect API Reference .
@Stability(value=Stable) @Nullable default String getSourceArn()
@Stability(value=Stable) @Nullable default String getSourceIngestPort()
@Stability(value=Stable) @Nullable default String getStreamId()
This parameter applies only to Zixi-based streams.
@Stability(value=Stable) @Nullable default String getVpcInterfaceName()
@Stability(value=Stable) @Nullable default String getWhitelistCidr()
Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
@Stability(value=Stable) static CfnFlow.SourceProperty.Builder builder()
CfnFlow.SourceProperty.Builder of CfnFlow.SourcePropertyCopyright © 2022. All rights reserved.