@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:36.973Z") @Stability(value=Stable) public class CfnFlowSource extends CfnResource implements IInspectable
The AWS::MediaConnect::FlowSource resource is the external video content that includes configuration information (encryption and source type) and a network address. Each flow has at least one source. A standard source comes from a source other than another AWS Elemental MediaConnect flow, such as an on-premises encoder. An entitled source comes from a MediaConnect flow that is owned by another AWS account and has granted an entitlement to your account.
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.*;
CfnFlowSource cfnFlowSource = CfnFlowSource.Builder.create(this, "MyCfnFlowSource")
.description("description")
.name("name")
// the properties below are optional
.decryption(EncryptionProperty.builder()
.algorithm("algorithm")
.roleArn("roleArn")
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.deviceId("deviceId")
.keyType("keyType")
.region("region")
.resourceId("resourceId")
.secretArn("secretArn")
.url("url")
.build())
.entitlementArn("entitlementArn")
.flowArn("flowArn")
.ingestPort(123)
.maxBitrate(123)
.maxLatency(123)
.protocol("protocol")
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnFlowSource.Builder
A fluent builder for
CfnFlowSource. |
static interface |
CfnFlowSource.EncryptionProperty
Information about the encryption of the flow.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFlowSource(Construct scope,
String id,
CfnFlowSourceProps props)
Create a new `AWS::MediaConnect::FlowSource`.
|
protected |
CfnFlowSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFlowSource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrIngestIp()
The IP address that the flow listens on for incoming content.
|
String |
getAttrSourceArn()
The ARN of the source.
|
String |
getAttrSourceIngestPort() |
protected Map<String,Object> |
getCfnProperties() |
Object |
getDecryption()
The type of encryption that is used on the content ingested from the source.
|
String |
getDescription()
A description of the source.
|
String |
getEntitlementArn()
The ARN of the entitlement that allows you to subscribe to the flow.
|
String |
getFlowArn()
The Amazon Resource Name (ARN) of the flow.
|
Number |
getIngestPort()
The port that the flow listens on for incoming content.
|
Number |
getMaxBitrate()
The maximum bitrate for RIST, RTP, and RTP-FEC streams.
|
Number |
getMaxLatency()
The maximum latency in milliseconds.
|
String |
getName()
The name of the source.
|
String |
getProtocol()
The protocol that the source uses to deliver the content to MediaConnect.
|
String |
getStreamId()
The stream ID that you want to use for the transport.
|
String |
getVpcInterfaceName()
The name of the VPC interface that you want to send your output to.
|
String |
getWhitelistCidr()
The range of IP addresses that are allowed to contribute content to your source.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDecryption(CfnFlowSource.EncryptionProperty value)
The type of encryption that is used on the content ingested from the source.
|
void |
setDecryption(IResolvable value)
The type of encryption that is used on the content ingested from the source.
|
void |
setDescription(String value)
A description of the source.
|
void |
setEntitlementArn(String value)
The ARN of the entitlement that allows you to subscribe to the flow.
|
void |
setFlowArn(String value)
The Amazon Resource Name (ARN) of the flow.
|
void |
setIngestPort(Number value)
The port that the flow listens on for incoming content.
|
void |
setMaxBitrate(Number value)
The maximum bitrate for RIST, RTP, and RTP-FEC streams.
|
void |
setMaxLatency(Number value)
The maximum latency in milliseconds.
|
void |
setName(String value)
The name of the source.
|
void |
setProtocol(String value)
The protocol that the source uses to deliver the content to MediaConnect.
|
void |
setStreamId(String value)
The stream ID that you want to use for the transport.
|
void |
setVpcInterfaceName(String value)
The name of the VPC interface that you want to send your output to.
|
void |
setWhitelistCidr(String value)
The range of IP addresses that are allowed to contribute content to your source.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFlowSource(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFlowSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFlowSource(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnFlowSourceProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrIngestIp()
@Stability(value=Stable) @NotNull public String getAttrSourceArn()
@Stability(value=Stable) @NotNull public String getAttrSourceIngestPort()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getDescription()
This description is not visible outside of the current AWS account.
@Stability(value=Stable)
public void setDescription(@NotNull
String value)
This description is not visible outside of the current AWS account.
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDecryption()
@Stability(value=Stable)
public void setDecryption(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDecryption(@Nullable
CfnFlowSource.EncryptionProperty value)
@Stability(value=Stable) @Nullable public 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)
public void setEntitlementArn(@Nullable
String value)
The entitlement is set by the content originator, and the ARN is generated as part of the originator's flow.
@Stability(value=Stable) @Nullable public String getFlowArn()
@Stability(value=Stable)
public void setFlowArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getIngestPort()
If the protocol of the source is Zixi, the port must be set to 2088.
@Stability(value=Stable)
public void setIngestPort(@Nullable
Number value)
If the protocol of the source is Zixi, the port must be set to 2088.
@Stability(value=Stable) @Nullable public Number getMaxBitrate()
@Stability(value=Stable)
public void setMaxBitrate(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getMaxLatency()
This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
@Stability(value=Stable)
public void setMaxLatency(@Nullable
Number value)
This parameter applies only to RIST-based, Zixi-based, and Fujitsu-based streams.
@Stability(value=Stable) @Nullable public String getProtocol()
@Stability(value=Stable)
public void setProtocol(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getStreamId()
This parameter applies only to Zixi-based streams.
@Stability(value=Stable)
public void setStreamId(@Nullable
String value)
This parameter applies only to Zixi-based streams.
@Stability(value=Stable) @Nullable public String getVpcInterfaceName()
@Stability(value=Stable)
public void setVpcInterfaceName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getWhitelistCidr()
Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
@Stability(value=Stable)
public void setWhitelistCidr(@Nullable
String value)
Format the IP addresses as a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
Copyright © 2022. All rights reserved.