AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MediaConnect::Flow

CfnFlow

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.

Import

import { CfnFlow } from 'aws-cdk-lib/aws-mediaconnect';

Or use the module namespace:

import * as mediaconnect from 'aws-cdk-lib/aws-mediaconnect';
// mediaconnect.CfnFlow

Properties

Configuration passed to the constructor as CfnFlowProps.

nameRequired
string

The name of the flow.

sourceRequired
IResolvable | SourceProperty

The settings for the source that you want to use for the new flow.

availabilityZoneOptional
string

The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.

encodingConfigOptional
IResolvable | EncodingConfigProperty
flowSizeOptional
string

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.

maintenanceOptional
IResolvable | MaintenanceProperty

The maintenance settings you want to use for the flow.

mediaStreamsOptional
IResolvable | IResolvable | MediaStreamProperty[]

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.

ndiConfigOptional
IResolvable | NdiConfigProperty

Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.

sourceFailoverConfigOptional
IResolvable | FailoverConfigProperty

The settings for source failover.

sourceMonitoringConfigOptional
IResolvable | SourceMonitoringConfigProperty

The settings for source monitoring.

tagsOptional
CfnTag[]

Key-value pairs that can be used to tag this flow.

vpcInterfacesOptional
IResolvable | IResolvable | VpcInterfaceProperty[]

The VPC Interfaces for this flow.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter