Interface CfnFlowMediaStreamProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowMediaStreamProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:55.637Z")
@Stability(Stable)
public interface CfnFlowMediaStreamProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.mediaconnect.*;
CfnFlowMediaStreamProps cfnFlowMediaStreamProps = CfnFlowMediaStreamProps.builder()
.flowArn("flowArn")
.mediaStreamId(123)
.mediaStreamName("mediaStreamName")
.mediaStreamType("mediaStreamType")
// the properties below are optional
.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")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.videoFormat("videoFormat")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFlowMediaStreamPropsstatic final classAn implementation forCfnFlowMediaStreamProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAttributes that are related to the media stream.default NumberThe sample rate (in Hz) for the stream.default StringA description that can help you quickly identify what your media stream is used for.The Amazon Resource Name (ARN) of the flow that the media stream belongs to.A unique identifier for the media stream.A name that helps you distinguish one media stream from another.The type of media stream.getTags()The key-value pairs that can be used to tag and organize the media stream.default StringThe resolution of the video.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFlowArn
The Amazon Resource Name (ARN) of the flow that the media stream belongs to.- See Also:
-
getMediaStreamId
A unique identifier for the media stream.- See Also:
-
getMediaStreamName
A name that helps you distinguish one media stream from another.- See Also:
-
getMediaStreamType
The type of media stream.- See Also:
-
getAttributes
Attributes that are related to the media stream.Returns union: either
IResolvableorCfnFlowMediaStream.MediaStreamAttributesProperty- See Also:
-
getClockRate
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.
- See Also:
-
getDescription
A description that can help you quickly identify what your media stream is used for.- See Also:
-
getTags
The key-value pairs that can be used to tag and organize the media stream.- See Also:
-
getVideoFormat
The resolution of the video.Required for a video media stream and rejected for other media stream types.
- See Also:
-
builder
- Returns:
- a
CfnFlowMediaStreamProps.BuilderofCfnFlowMediaStreamProps
-