Class CfnFlowMediaStream
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.mediaconnect.CfnFlowMediaStream
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IFlowMediaStreamRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:55.635Z")
@Stability(Stable)
public class CfnFlowMediaStream
extends CfnResource
implements IInspectable, IFlowMediaStreamRef, ITaggableV2
Resource schema for AWS::MediaConnect::FlowMediaStream.
A media stream represents a single track or stream of media containing video, audio, or ancillary data that is transported using the SMPTE 2110 JPEG XS or CDI protocol.
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.*;
CfnFlowMediaStream cfnFlowMediaStream = CfnFlowMediaStream.Builder.create(this, "MyCfnFlowMediaStream")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnFlowMediaStream.static interfaceA set of parameters that define the media stream.static interfaceAttributes that are related to the media stream.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.mediaconnect.IFlowMediaStreamRef
IFlowMediaStreamRef.Jsii$Default, IFlowMediaStreamRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnFlowMediaStream(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFlowMediaStream(software.amazon.jsii.JsiiObjectRef objRef) CfnFlowMediaStream(software.constructs.Construct scope, String id, CfnFlowMediaStreamProps props) Create a newAWS::MediaConnect::FlowMediaStream. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForFlowMediaStream(IFlowMediaStreamRef resource) The Amazon Resource Name (ARN) of the media stream, composed of the flow ARN followed by /mediaStream/ and the media stream name.The format type number (sometimes referred to as RTP payload type) of the media stream.Attributes that are related to the media stream.Tag Manager which manages the tags for this resource.The sample rate (in Hz) for the stream.A 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 reference to a FlowMediaStream resource.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.The resolution of the video.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnFlowMediaStream.renderProperties(Map<String, Object> props) voidsetAttributes(IResolvable value) Attributes that are related to the media stream.voidAttributes that are related to the media stream.voidsetClockRate(Number value) The sample rate (in Hz) for the stream.voidsetDescription(String value) A description that can help you quickly identify what your media stream is used for.voidsetFlowArn(String value) The Amazon Resource Name (ARN) of the flow that the media stream belongs to.voidsetMediaStreamId(Number value) A unique identifier for the media stream.voidsetMediaStreamName(String value) A name that helps you distinguish one media stream from another.voidsetMediaStreamType(String value) The type of media stream.voidThe key-value pairs that can be used to tag and organize the media stream.voidsetVideoFormat(String value) The resolution of the video.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFlowMediaStream
protected CfnFlowMediaStream(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFlowMediaStream
protected CfnFlowMediaStream(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFlowMediaStream
@Stability(Stable) public CfnFlowMediaStream(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFlowMediaStreamProps props) Create a newAWS::MediaConnect::FlowMediaStream.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForFlowMediaStream
@Stability(Stable) @NotNull public static String arnForFlowMediaStream(@NotNull IFlowMediaStreamRef resource) - Parameters:
resource- This parameter is required.
-
isCfnFlowMediaStream
Checks whether the given object is a CfnFlowMediaStream.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the media stream, composed of the flow ARN followed by /mediaStream/ and the media stream name. -
getAttrFmt
The format type number (sometimes referred to as RTP payload type) of the media stream.MediaConnect assigns this value to the media stream.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getFlowMediaStreamRef
A reference to a FlowMediaStream resource.- Specified by:
getFlowMediaStreamRefin interfaceIFlowMediaStreamRef
-
getFlowArn
The Amazon Resource Name (ARN) of the flow that the media stream belongs to. -
setFlowArn
The Amazon Resource Name (ARN) of the flow that the media stream belongs to. -
getMediaStreamId
A unique identifier for the media stream. -
setMediaStreamId
A unique identifier for the media stream. -
getMediaStreamName
A name that helps you distinguish one media stream from another. -
setMediaStreamName
A name that helps you distinguish one media stream from another. -
getMediaStreamType
The type of media stream. -
setMediaStreamType
The type of media stream. -
getAttributes
Attributes that are related to the media stream.Returns union: either
IResolvableorCfnFlowMediaStream.MediaStreamAttributesProperty -
setAttributes
Attributes that are related to the media stream. -
setAttributes
@Stability(Stable) public void setAttributes(@Nullable CfnFlowMediaStream.MediaStreamAttributesProperty value) Attributes that are related to the media stream. -
getClockRate
The sample rate (in Hz) for the stream. -
setClockRate
The sample rate (in Hz) for the stream. -
getDescription
A description that can help you quickly identify what your media stream is used for. -
setDescription
A description that can help you quickly identify what your media stream is used for. -
getTags
The key-value pairs that can be used to tag and organize the media stream. -
setTags
The key-value pairs that can be used to tag and organize the media stream. -
getVideoFormat
The resolution of the video. -
setVideoFormat
The resolution of the video.
-