interface CfnFlowMediaStreamProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.CfnFlowMediaStreamProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediaconnect#CfnFlowMediaStreamProps |
Java | software.amazon.awscdk.services.mediaconnect.CfnFlowMediaStreamProps |
Python | aws_cdk.aws_mediaconnect.CfnFlowMediaStreamProps |
TypeScript | aws-cdk-lib » aws_mediaconnect » CfnFlowMediaStreamProps |
Properties for defining a CfnFlowMediaStream.
Example
// 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';
const cfnFlowMediaStreamProps: mediaconnect.CfnFlowMediaStreamProps = {
flowArn: 'flowArn',
mediaStreamId: 123,
mediaStreamName: 'mediaStreamName',
mediaStreamType: 'mediaStreamType',
// the properties below are optional
attributes: {
fmtp: {
channelOrder: 'channelOrder',
colorimetry: 'colorimetry',
exactFramerate: 'exactFramerate',
par: 'par',
range: 'range',
scanMode: 'scanMode',
tcs: 'tcs',
},
lang: 'lang',
},
clockRate: 123,
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
videoFormat: 'videoFormat',
};
Properties
| Name | Type | Description |
|---|---|---|
| flow | string | The Amazon Resource Name (ARN) of the flow that the media stream belongs to. |
| media | number | A unique identifier for the media stream. |
| media | string | A name that helps you distinguish one media stream from another. |
| media | string | The type of media stream. |
| attributes? | IResolvable | Media | Attributes that are related to the media stream. |
| clock | number | The sample rate (in Hz) for the stream. |
| description? | string | A description that can help you quickly identify what your media stream is used for. |
| tags? | Cfn[] | The key-value pairs that can be used to tag and organize the media stream. |
| video | string | The resolution of the video. |
flowArn
Type:
string
The Amazon Resource Name (ARN) of the flow that the media stream belongs to.
mediaStreamId
Type:
number
A unique identifier for the media stream.
mediaStreamName
Type:
string
A name that helps you distinguish one media stream from another.
mediaStreamType
Type:
string
The type of media stream.
attributes?
Type:
IResolvable | Media
(optional)
Attributes that are related to the media stream.
clockRate?
Type:
number
(optional)
The sample rate (in Hz) for the stream.
If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.
description?
Type:
string
(optional)
A description that can help you quickly identify what your media stream is used for.
tags?
Type:
Cfn[]
(optional)
The key-value pairs that can be used to tag and organize the media stream.
videoFormat?
Type:
string
(optional)
The resolution of the video.
Required for a video media stream and rejected for other media stream types.

.NET
Go
Java
Python
TypeScript