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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::MediaConnect::Flow.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnFlowPropsMixin

      @Stability(Stable) public CfnFlowPropsMixin(@NotNull CfnFlowMixinProps props)
      Create a mixin to apply properties to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnFlowMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()