# CfnFlowOutputProps

Properties for defining a `CfnFlowOutput`.

Used as props by: [CfnFlowOutput](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.html)

- Source: Generated at build time
- Type last changed: v2.278.0 · 20 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';

declare const automatic: any;
declare const public_: any;
const cfnFlowOutputProps: mediaconnect.CfnFlowOutputProps = {
  flowArn: 'flowArn',

  // the properties below are optional
  cidrAllowList: ['cidrAllowList'],
  description: 'description',
  destination: 'destination',
  encryption: {
    roleArn: 'roleArn',
    secretArn: 'secretArn',

    // the properties below are optional
    algorithm: 'algorithm',
    keyType: 'keyType',
  },
  maxLatency: 123,
  mediaStreamOutputConfigurations: [{
    encodingName: 'encodingName',
    mediaStreamName: 'mediaStreamName',

    // the properties below are optional
    destinationConfigurations: [{
      destinationIp: 'destinationIp',
      destinationPort: 123,
      interface: {
        name: 'name',
      },
    }],
    encodingParameters: {
      compressionFactor: 123,

      // the properties below are optional
      encoderProfile: 'encoderProfile',
    },
  }],
  minLatency: 123,
  name: 'name',
  ndiAudioReferenceLevel: 123,
  ndiOutputTimecodeSource: 'ndiOutputTimecodeSource',
  ndiProgramName: 'ndiProgramName',
  ndiSpeedHqQuality: 123,
  outputStatus: 'outputStatus',
  port: 123,
  protocol: 'protocol',
  remoteId: 'remoteId',
  routerIntegrationState: 'routerIntegrationState',
  routerIntegrationTransitEncryption: {
    encryptionKeyConfiguration: {
      automatic: automatic,
      secretsManager: {
        roleArn: 'roleArn',
        secretArn: 'secretArn',
      },
    },

    // the properties below are optional
    encryptionKeyType: 'encryptionKeyType',
  },
  rtmpPushSettings: {
    applicationName: 'applicationName',
    streamName: 'streamName',

    // the properties below are optional
    tlsEncryption: {
      encryptionConfiguration: {
        public: public_,
      },

      // the properties below are optional
      encryptionType: 'encryptionType',
    },
  },
  smoothingLatency: 123,
  streamId: 'streamId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  vpcInterfaceAttachment: {
    vpcInterfaceName: 'vpcInterfaceName',
  },
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

# automatic: Any
# public_: Any

cfn_flow_output_props = mediaconnect.CfnFlowOutputProps(
    flow_arn="flowArn",

    # the properties below are optional
    cidr_allow_list=["cidrAllowList"],
    description="description",
    destination="destination",
    encryption=mediaconnect.CfnFlowOutput.EncryptionProperty(
        role_arn="roleArn",
        secret_arn="secretArn",

        # the properties below are optional
        algorithm="algorithm",
        key_type="keyType"
    ),
    max_latency=123,
    media_stream_output_configurations=[mediaconnect.CfnFlowOutput.MediaStreamOutputConfigurationProperty(
        encoding_name="encodingName",
        media_stream_name="mediaStreamName",

        # the properties below are optional
        destination_configurations=[mediaconnect.CfnFlowOutput.DestinationConfigurationProperty(
            destination_ip="destinationIp",
            destination_port=123,
            interface=mediaconnect.CfnFlowOutput.InterfaceProperty(
                name="name"
            )
        )],
        encoding_parameters=mediaconnect.CfnFlowOutput.EncodingParametersProperty(
            compression_factor=123,

            # the properties below are optional
            encoder_profile="encoderProfile"
        )
    )],
    min_latency=123,
    name="name",
    ndi_audio_reference_level=123,
    ndi_output_timecode_source="ndiOutputTimecodeSource",
    ndi_program_name="ndiProgramName",
    ndi_speed_hq_quality=123,
    output_status="outputStatus",
    port=123,
    protocol="protocol",
    remote_id="remoteId",
    router_integration_state="routerIntegrationState",
    router_integration_transit_encryption=mediaconnect.CfnFlowOutput.FlowTransitEncryptionProperty(
        encryption_key_configuration=mediaconnect.CfnFlowOutput.FlowTransitEncryptionKeyConfigurationProperty(
            automatic=automatic,
            secrets_manager=mediaconnect.CfnFlowOutput.SecretsManagerEncryptionKeyConfigurationProperty(
                role_arn="roleArn",
                secret_arn="secretArn"
            )
        ),

        # the properties below are optional
        encryption_key_type="encryptionKeyType"
    ),
    rtmp_push_settings=mediaconnect.CfnFlowOutput.RtmpPushSettingsProperty(
        application_name="applicationName",
        stream_name="streamName",

        # the properties below are optional
        tls_encryption=mediaconnect.CfnFlowOutput.TlsEncryptionProperty(
            encryption_configuration=mediaconnect.CfnFlowOutput.TlsEncryptionConfigurationProperty(
                public=public_
            ),

            # the properties below are optional
            encryption_type="encryptionType"
        )
    ),
    smoothing_latency=123,
    stream_id="streamId",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    vpc_interface_attachment=mediaconnect.CfnFlowOutput.VpcInterfaceAttachmentProperty(
        vpc_interface_name="vpcInterfaceName"
    )
)
```

Java:

```java
// 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;
Object public_;

CfnFlowOutputProps cfnFlowOutputProps = CfnFlowOutputProps.builder()
        .flowArn("flowArn")

        // the properties below are optional
        .cidrAllowList(List.of("cidrAllowList"))
        .description("description")
        .destination("destination")
        .encryption(EncryptionProperty.builder()
                .roleArn("roleArn")
                .secretArn("secretArn")

                // the properties below are optional
                .algorithm("algorithm")
                .keyType("keyType")
                .build())
        .maxLatency(123)
        .mediaStreamOutputConfigurations(List.of(MediaStreamOutputConfigurationProperty.builder()
                .encodingName("encodingName")
                .mediaStreamName("mediaStreamName")

                // the properties below are optional
                .destinationConfigurations(List.of(DestinationConfigurationProperty.builder()
                        .destinationIp("destinationIp")
                        .destinationPort(123)
                        .interface(InterfaceProperty.builder()
                                .name("name")
                                .build())
                        .build()))
                .encodingParameters(EncodingParametersProperty.builder()
                        .compressionFactor(123)

                        // the properties below are optional
                        .encoderProfile("encoderProfile")
                        .build())
                .build()))
        .minLatency(123)
        .name("name")
        .ndiAudioReferenceLevel(123)
        .ndiOutputTimecodeSource("ndiOutputTimecodeSource")
        .ndiProgramName("ndiProgramName")
        .ndiSpeedHqQuality(123)
        .outputStatus("outputStatus")
        .port(123)
        .protocol("protocol")
        .remoteId("remoteId")
        .routerIntegrationState("routerIntegrationState")
        .routerIntegrationTransitEncryption(FlowTransitEncryptionProperty.builder()
                .encryptionKeyConfiguration(FlowTransitEncryptionKeyConfigurationProperty.builder()
                        .automatic(automatic)
                        .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                .roleArn("roleArn")
                                .secretArn("secretArn")
                                .build())
                        .build())

                // the properties below are optional
                .encryptionKeyType("encryptionKeyType")
                .build())
        .rtmpPushSettings(RtmpPushSettingsProperty.builder()
                .applicationName("applicationName")
                .streamName("streamName")

                // the properties below are optional
                .tlsEncryption(TlsEncryptionProperty.builder()
                        .encryptionConfiguration(TlsEncryptionConfigurationProperty.builder()
                                .public(public_)
                                .build())

                        // the properties below are optional
                        .encryptionType("encryptionType")
                        .build())
                .build())
        .smoothingLatency(123)
        .streamId("streamId")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
                .vpcInterfaceName("vpcInterfaceName")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var automatic;
var public_;

var cfnFlowOutputProps = new CfnFlowOutputProps {
    FlowArn = "flowArn",

    // the properties below are optional
    CidrAllowList = new [] { "cidrAllowList" },
    Description = "description",
    Destination = "destination",
    Encryption = new EncryptionProperty {
        RoleArn = "roleArn",
        SecretArn = "secretArn",

        // the properties below are optional
        Algorithm = "algorithm",
        KeyType = "keyType"
    },
    MaxLatency = 123,
    MediaStreamOutputConfigurations = new [] { new MediaStreamOutputConfigurationProperty {
        EncodingName = "encodingName",
        MediaStreamName = "mediaStreamName",

        // the properties below are optional
        DestinationConfigurations = new [] { new DestinationConfigurationProperty {
            DestinationIp = "destinationIp",
            DestinationPort = 123,
            Interface = new InterfaceProperty {
                Name = "name"
            }
        } },
        EncodingParameters = new EncodingParametersProperty {
            CompressionFactor = 123,

            // the properties below are optional
            EncoderProfile = "encoderProfile"
        }
    } },
    MinLatency = 123,
    Name = "name",
    NdiAudioReferenceLevel = 123,
    NdiOutputTimecodeSource = "ndiOutputTimecodeSource",
    NdiProgramName = "ndiProgramName",
    NdiSpeedHqQuality = 123,
    OutputStatus = "outputStatus",
    Port = 123,
    Protocol = "protocol",
    RemoteId = "remoteId",
    RouterIntegrationState = "routerIntegrationState",
    RouterIntegrationTransitEncryption = new FlowTransitEncryptionProperty {
        EncryptionKeyConfiguration = new FlowTransitEncryptionKeyConfigurationProperty {
            Automatic = automatic,
            SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
                RoleArn = "roleArn",
                SecretArn = "secretArn"
            }
        },

        // the properties below are optional
        EncryptionKeyType = "encryptionKeyType"
    },
    RtmpPushSettings = new RtmpPushSettingsProperty {
        ApplicationName = "applicationName",
        StreamName = "streamName",

        // the properties below are optional
        TlsEncryption = new TlsEncryptionProperty {
            EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
                Public = public_
            },

            // the properties below are optional
            EncryptionType = "encryptionType"
        }
    },
    SmoothingLatency = 123,
    StreamId = "streamId",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    VpcInterfaceAttachment = new VpcInterfaceAttachmentProperty {
        VpcInterfaceName = "vpcInterfaceName"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var automatic interface{}
var public_ interface{}

cfnFlowOutputProps := &CfnFlowOutputProps{
	FlowArn: jsii.String("flowArn"),

	// the properties below are optional
	CidrAllowList: []*string{
		jsii.String("cidrAllowList"),
	},
	Description: jsii.String("description"),
	Destination: jsii.String("destination"),
	Encryption: &EncryptionProperty{
		RoleArn: jsii.String("roleArn"),
		SecretArn: jsii.String("secretArn"),

		// the properties below are optional
		Algorithm: jsii.String("algorithm"),
		KeyType: jsii.String("keyType"),
	},
	MaxLatency: jsii.Number(123),
	MediaStreamOutputConfigurations: []interface{}{
		&MediaStreamOutputConfigurationProperty{
			EncodingName: jsii.String("encodingName"),
			MediaStreamName: jsii.String("mediaStreamName"),

			// the properties below are optional
			DestinationConfigurations: []interface{}{
				&DestinationConfigurationProperty{
					DestinationIp: jsii.String("destinationIp"),
					DestinationPort: jsii.Number(123),
					Interface: &InterfaceProperty{
						Name: jsii.String("name"),
					},
				},
			},
			EncodingParameters: &EncodingParametersProperty{
				CompressionFactor: jsii.Number(123),

				// the properties below are optional
				EncoderProfile: jsii.String("encoderProfile"),
			},
		},
	},
	MinLatency: jsii.Number(123),
	Name: jsii.String("name"),
	NdiAudioReferenceLevel: jsii.Number(123),
	NdiOutputTimecodeSource: jsii.String("ndiOutputTimecodeSource"),
	NdiProgramName: jsii.String("ndiProgramName"),
	NdiSpeedHqQuality: jsii.Number(123),
	OutputStatus: jsii.String("outputStatus"),
	Port: jsii.Number(123),
	Protocol: jsii.String("protocol"),
	RemoteId: jsii.String("remoteId"),
	RouterIntegrationState: jsii.String("routerIntegrationState"),
	RouterIntegrationTransitEncryption: &FlowTransitEncryptionProperty{
		EncryptionKeyConfiguration: &FlowTransitEncryptionKeyConfigurationProperty{
			Automatic: automatic,
			SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
				RoleArn: jsii.String("roleArn"),
				SecretArn: jsii.String("secretArn"),
			},
		},

		// the properties below are optional
		EncryptionKeyType: jsii.String("encryptionKeyType"),
	},
	RtmpPushSettings: &RtmpPushSettingsProperty{
		ApplicationName: jsii.String("applicationName"),
		StreamName: jsii.String("streamName"),

		// the properties below are optional
		TlsEncryption: &TlsEncryptionProperty{
			EncryptionConfiguration: &TlsEncryptionConfigurationProperty{
				Public: public_,
			},

			// the properties below are optional
			EncryptionType: jsii.String("encryptionType"),
		},
	},
	SmoothingLatency: jsii.Number(123),
	StreamId: jsii.String("streamId"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	VpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
		VpcInterfaceName: jsii.String("vpcInterfaceName"),
	},
}
```

## Properties

- `cidrAllowList`: string[] — The range of IP addresses that should be allowed to initiate output requests to this flow.

  These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.

- `description`: string — A description of the output.

  This description appears only on the MediaConnect console and will not be seen by the end user.

- `destination`: string — The IP address where you want to send the output.

- `encryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.EncryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.EncryptionProperty.html) — The type of key used for the encryption.

  If no `keyType` is provided, the service will use the default setting (static-key). Allowable encryption types: static-key.

- `flowArn`: string (required) — The Amazon Resource Name (ARN) of the flow this output is attached to.

- `maxLatency`: number — The maximum latency in milliseconds.

  This parameter applies only to RIST-based and Zixi-based streams.

- `mediaStreamOutputConfigurations`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.MediaStreamOutputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.MediaStreamOutputConfigurationProperty.html)[] — The media streams that are associated with the output, and the parameters for those associations.

- `minLatency`: number — The minimum latency in milliseconds for SRT-based streams.

  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.

- `name`: string — The name of the bridge's output.

- `ndiAudioReferenceLevel`: number — The audio reference level of the NDI receiver, in dBFS.

- `ndiOutputTimecodeSource`: string — The timecode source for the NDI output.

- `ndiProgramName`: string — A suffix for the names of the NDI sources that the flow creates.

  If a custom name isn't specified, MediaConnect uses the output name.

- `ndiSpeedHqQuality`: number — A quality setting for the NDI Speed HQ encoder.

- `outputStatus`: string — An indication of whether the output should transmit data or not.

- `port`: number — The port to use when content is distributed to this output.

- `protocol`: string — The protocol to use for the output.

  > AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.

- `remoteId`: string — The remote ID for the Zixi-pull stream.

- `routerIntegrationState`: string

- `routerIntegrationTransitEncryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.FlowTransitEncryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.FlowTransitEncryptionProperty.html) — Encryption information.

- `rtmpPushSettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.RtmpPushSettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.RtmpPushSettingsProperty.html) — The settings for an output that pushes a stream to a destination using the RTMP (Real-Time Messaging Protocol) protocol, or RTMPS (RTMP over TLS) when TLS encryption is specified.

  These settings include the application and stream names, and optional TLS encryption configuration.

- `smoothingLatency`: number — The smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.

- `streamId`: string — The stream ID that you want to use for this transport.

  This parameter applies only to Zixi and SRT caller-based streams.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Key-value pairs that can be used to tag and organize this flow output.

- `vpcInterfaceAttachment`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowOutput.VpcInterfaceAttachmentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnFlowOutput.VpcInterfaceAttachmentProperty.html) — The name of the VPC interface attachment to use for this output.
