Interface CfnFlowProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowProps.Jsii$Proxy
CfnFlow.
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.*;
Object automatic;
CfnFlowProps cfnFlowProps = CfnFlowProps.builder()
.name("name")
.source(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")
.routerIntegrationState("routerIntegrationState")
.routerIntegrationTransitDecryption(FlowTransitEncryptionProperty.builder()
.encryptionKeyConfiguration(FlowTransitEncryptionKeyConfigurationProperty.builder()
.automatic(automatic)
.secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
.roleArn("roleArn")
.secretArn("secretArn")
.build())
.build())
// the properties below are optional
.encryptionKeyType("encryptionKeyType")
.build())
.senderControlPort(123)
.senderIpAddress("senderIpAddress")
.sourceArn("sourceArn")
.sourceIngestPort("sourceIngestPort")
.sourceListenerAddress("sourceListenerAddress")
.sourceListenerPort(123)
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.build())
// the properties below are optional
.availabilityZone("availabilityZone")
.flowSize("flowSize")
.maintenance(MaintenanceProperty.builder()
.maintenanceDay("maintenanceDay")
.maintenanceStartHour("maintenanceStartHour")
.build())
.mediaStreams(List.of(MediaStreamProperty.builder()
.mediaStreamId(123)
.mediaStreamName("mediaStreamName")
.mediaStreamType("mediaStreamType")
// the properties below are optional
.attributes(MediaStreamAttributesProperty.builder()
.fmtp(FmtpProperty.builder()
.channelOrder("channelOrder")
.colorimetry("colorimetry")
.exactFramerate("exactFramerate")
.par("par")
.range("range")
.scanMode("scanMode")
.tcs("tcs")
.build())
.lang("lang")
.build())
.clockRate(123)
.description("description")
.fmt(123)
.videoFormat("videoFormat")
.build()))
.ndiConfig(NdiConfigProperty.builder()
.machineName("machineName")
.ndiDiscoveryServers(List.of(NdiDiscoveryServerConfigProperty.builder()
.discoveryServerAddress("discoveryServerAddress")
.vpcInterfaceAdapter("vpcInterfaceAdapter")
// the properties below are optional
.discoveryServerPort(123)
.build()))
.ndiState("ndiState")
.build())
.sourceFailoverConfig(FailoverConfigProperty.builder()
.failoverMode("failoverMode")
.recoveryWindow(123)
.sourcePriority(SourcePriorityProperty.builder()
.primarySource("primarySource")
.build())
.state("state")
.build())
.sourceMonitoringConfig(SourceMonitoringConfigProperty.builder()
.audioMonitoringSettings(List.of(AudioMonitoringSettingProperty.builder()
.silentAudio(SilentAudioProperty.builder()
.state("state")
.thresholdSeconds(123)
.build())
.build()))
.contentQualityAnalysisState("contentQualityAnalysisState")
.thumbnailState("thumbnailState")
.videoMonitoringSettings(List.of(VideoMonitoringSettingProperty.builder()
.blackFrames(BlackFramesProperty.builder()
.state("state")
.thresholdSeconds(123)
.build())
.frozenFrames(FrozenFramesProperty.builder()
.state("state")
.thresholdSeconds(123)
.build())
.build()))
.build())
.vpcInterfaces(List.of(VpcInterfaceProperty.builder()
.name("name")
.roleArn("roleArn")
.securityGroupIds(List.of("securityGroupIds"))
.subnetId("subnetId")
// the properties below are optional
.networkInterfaceIds(List.of("networkInterfaceIds"))
.networkInterfaceType("networkInterfaceType")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlowPropsstatic final classAn implementation forCfnFlowProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFlowProps.Builderbuilder()default StringThe Availability Zone that you want to create the flow in.default StringDetermines the processing capacity and feature set of the flow.default ObjectThe maintenance settings you want to use for the flow.default ObjectThe media streams that are associated with the flow.getName()The name of the flow.default ObjectSpecifies the configuration settings for NDI outputs.The settings for the source that you want to use for the new flow.default ObjectThe settings for source failover.default ObjectThe settings for source monitoring.default ObjectThe VPC Interfaces for this flow.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the flow.- See Also:
-
getSource
The settings for the source that you want to use for the new flow.Returns union: either
IResolvableorCfnFlow.SourceProperty- See Also:
-
getAvailabilityZone
The Availability Zone that you want to create the flow in.These options are limited to the Availability Zones within the current AWS Region.
- See Also:
-
getFlowSize
Determines the processing capacity and feature set of the flow.Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.
- See Also:
-
getMaintenance
The maintenance settings you want to use for the flow.Returns union: either
IResolvableorCfnFlow.MaintenanceProperty- See Also:
-
getMediaStreams
The media streams that are associated with the flow.After you associate a media stream with a source, you can also associate it with outputs on the flow.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFlow.MediaStreamProperty>- See Also:
-
getNdiConfig
Specifies the configuration settings for NDI outputs.Required when the flow includes NDI outputs.
Returns union: either
IResolvableorCfnFlow.NdiConfigProperty- See Also:
-
getSourceFailoverConfig
The settings for source failover.Returns union: either
IResolvableorCfnFlow.FailoverConfigProperty- See Also:
-
getSourceMonitoringConfig
The settings for source monitoring.Returns union: either
IResolvableorCfnFlow.SourceMonitoringConfigProperty- See Also:
-
getVpcInterfaces
The VPC Interfaces for this flow.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFlow.VpcInterfaceProperty>- See Also:
-
builder
- Returns:
- a
CfnFlowProps.BuilderofCfnFlowProps
-