Class CfnFlowPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:01.308Z")
@Stability(Stable)
public class CfnFlowPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::MediaConnect::Flow resource defines a connection between one or more video sources and one or more outputs.
For each flow, you specify the transport protocol to use, encryption information, and details for any outputs or entitlements that you want. AWS Elemental MediaConnect returns an ingest endpoint where you can send your live video as a single unicast stream. The service replicates and distributes the video to every output that you specify, whether inside or outside the AWS Cloud. You can also set up entitlements on a flow to allow other AWS accounts to access your content.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.*;
import software.amazon.awscdk.*;
Object automatic;
IMergeStrategy mergeStrategy;
CfnFlowPropsMixin cfnFlowPropsMixin = CfnFlowPropsMixin.Builder.create(CfnFlowMixinProps.builder()
.availabilityZone("availabilityZone")
.flowSize("flowSize")
.maintenance(MaintenanceProperty.builder()
.maintenanceDay("maintenanceDay")
.maintenanceStartHour("maintenanceStartHour")
.build())
.mediaStreams(List.of(MediaStreamProperty.builder()
.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)
.mediaStreamId(123)
.mediaStreamName("mediaStreamName")
.mediaStreamType("mediaStreamType")
.videoFormat("videoFormat")
.build()))
.name("name")
.ndiConfig(NdiConfigProperty.builder()
.machineName("machineName")
.ndiDiscoveryServers(List.of(NdiDiscoveryServerConfigProperty.builder()
.discoveryServerAddress("discoveryServerAddress")
.discoveryServerPort(123)
.vpcInterfaceAdapter("vpcInterfaceAdapter")
.build()))
.ndiState("ndiState")
.build())
.source(SourceProperty.builder()
.decryption(EncryptionProperty.builder()
.algorithm("algorithm")
.constantInitializationVector("constantInitializationVector")
.deviceId("deviceId")
.keyType("keyType")
.region("region")
.resourceId("resourceId")
.roleArn("roleArn")
.secretArn("secretArn")
.url("url")
.build())
.description("description")
.entitlementArn("entitlementArn")
.gatewayBridgeSource(GatewayBridgeSourceProperty.builder()
.bridgeArn("bridgeArn")
.vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
.vpcInterfaceName("vpcInterfaceName")
.build())
.build())
.ingestIp("ingestIp")
.ingestPort(123)
.maxBitrate(123)
.maxLatency(123)
.maxSyncBuffer(123)
.mediaStreamSourceConfigurations(List.of(MediaStreamSourceConfigurationProperty.builder()
.encodingName("encodingName")
.inputConfigurations(List.of(InputConfigurationProperty.builder()
.inputPort(123)
.interface(InterfaceProperty.builder()
.name("name")
.build())
.build()))
.mediaStreamName("mediaStreamName")
.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())
.encryptionKeyType("encryptionKeyType")
.build())
.senderControlPort(123)
.senderIpAddress("senderIpAddress")
.sourceArn("sourceArn")
.sourceIngestPort("sourceIngestPort")
.sourceListenerAddress("sourceListenerAddress")
.sourceListenerPort(123)
.streamId("streamId")
.vpcInterfaceName("vpcInterfaceName")
.whitelistCidr("whitelistCidr")
.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")
.networkInterfaceIds(List.of("networkInterfaceIds"))
.networkInterfaceType("networkInterfaceType")
.roleArn("roleArn")
.securityGroupIds(List.of("securityGroupIds"))
.subnetId("subnetId")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSpecifies the configuration for audio stream metrics monitoring.static interfaceConfigures settings for theBlackFramesmetric.static final classA fluent builder forCfnFlowPropsMixin.static interfaceEncryption information.static interfaceThe settings for source failover.static interfaceExample:static interfaceThe configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.static interfaceA set of parameters that define the media stream.static interfaceConfigures settings for theFrozenFramesmetric.static interfaceThe source configuration for cloud flows receiving a stream from a bridge.static interfaceThe transport parameters that are associated with an incoming media stream.static interfaceThe VPC interface that is used for the media stream associated with the source or output.static interfaceThe maintenance setting of a flow.static interfaceAttributes that are related to the media stream.static interfaceA media stream represents one component of your content, such as video, audio, or ancillary data.static interfaceThe media stream that is associated with the source, and the parameters for that association.static interfaceSpecifies the configuration settings for NDI outputs.static interfaceSpecifies the configuration settings for individual NDI discovery servers.static interfaceThe configuration settings for transit encryption of a flow source using AWS Secrets Manager, including the secret ARN and role ARN.static interfaceConfigures settings for theSilentAudiometric.static interfaceTheSourceMonitoringConfigproperty type specifies the source monitoring settings for anAWS::MediaConnect::Flow.static interfaceThe priority you want to assign to a source.static interfaceThe details of the sources of the flow.static interfaceSpecifies the configuration for video stream metrics monitoring.static interfaceThe settings for attaching a VPC interface to an resource.static interfaceThe details of a VPC interface.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::MediaConnect::Flow.CfnFlowPropsMixin(CfnFlowMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::MediaConnect::Flow.protectedCfnFlowPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFlowPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnFlowMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnFlowPropsMixin
protected CfnFlowPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFlowPropsMixin
protected CfnFlowPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFlowPropsMixin
@Stability(Stable) public CfnFlowPropsMixin(@NotNull CfnFlowMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::MediaConnect::Flow.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnFlowPropsMixin
Create a mixin to apply properties toAWS::MediaConnect::Flow.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-