CfnFlowMediaStreamPropsMixin
- class aws_cdk.cfn_property_mixins.aws_mediaconnect.CfnFlowMediaStreamPropsMixin(props, *, strategy=None)
Bases:
MixinResource 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.
- See:
- CloudformationResource:
AWS::MediaConnect::FlowMediaStream
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_mediaconnect as mediaconnect import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_flow_media_stream_props_mixin = mediaconnect.CfnFlowMediaStreamPropsMixin(mediaconnect.CfnFlowMediaStreamMixinProps( attributes=mediaconnect.CfnFlowMediaStreamPropsMixin.MediaStreamAttributesProperty( fmtp=mediaconnect.CfnFlowMediaStreamPropsMixin.FmtpProperty( channel_order="channelOrder", colorimetry="colorimetry", exact_framerate="exactFramerate", par="par", range="range", scan_mode="scanMode", tcs="tcs" ), lang="lang" ), clock_rate=123, description="description", flow_arn="flowArn", media_stream_id=123, media_stream_name="mediaStreamName", media_stream_type="mediaStreamType", tags=[cdk.CfnTag( key="key", value="value" )], video_format="videoFormat" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::MediaConnect::FlowMediaStream.- Parameters:
props (
Union[CfnFlowMediaStreamMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['attributes', 'clockRate', 'description', 'flowArn', 'mediaStreamId', 'mediaStreamName', 'mediaStreamType', 'tags', 'videoFormat']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
FmtpProperty
- class CfnFlowMediaStreamPropsMixin.FmtpProperty(*, channel_order=None, colorimetry=None, exact_framerate=None, par=None, range=None, scan_mode=None, tcs=None)
Bases:
objectA set of parameters that define the media stream.
- Parameters:
channel_order (
Optional[str]) – The format of the audio channel. Can only be specified for an audio media stream.colorimetry (
Optional[str]) – The format used for the representation of color.exact_framerate (
Optional[str]) – The frame rate for the video stream, in frames/second. For example: 60000/1001.par (
Optional[str]) – The pixel aspect ratio (PAR) of the video.range (
Optional[str]) – The encoding range of the video.scan_mode (
Optional[str]) – The type of compression that was used to smooth the video’s appearance.tcs (
Optional[str]) – The transfer characteristic system (TCS) that is used in the video.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_mediaconnect as mediaconnect fmtp_property = mediaconnect.CfnFlowMediaStreamPropsMixin.FmtpProperty( channel_order="channelOrder", colorimetry="colorimetry", exact_framerate="exactFramerate", par="par", range="range", scan_mode="scanMode", tcs="tcs" )
Attributes
- channel_order
The format of the audio channel.
Can only be specified for an audio media stream.
- colorimetry
The format used for the representation of color.
- exact_framerate
The frame rate for the video stream, in frames/second.
For example: 60000/1001.
- par
The pixel aspect ratio (PAR) of the video.
- range
The encoding range of the video.
- scan_mode
The type of compression that was used to smooth the video’s appearance.
- tcs
The transfer characteristic system (TCS) that is used in the video.
MediaStreamAttributesProperty
- class CfnFlowMediaStreamPropsMixin.MediaStreamAttributesProperty(*, fmtp=None, lang=None)
Bases:
objectAttributes that are related to the media stream.
- Parameters:
fmtp (
Union[IResolvable,FmtpProperty,Dict[str,Any],None]) – A set of parameters that define the media stream.lang (
Optional[str]) – The audio language, in a format that is recognized by the receiver. Can only be specified for an audio media stream.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_mediaconnect as mediaconnect media_stream_attributes_property = mediaconnect.CfnFlowMediaStreamPropsMixin.MediaStreamAttributesProperty( fmtp=mediaconnect.CfnFlowMediaStreamPropsMixin.FmtpProperty( channel_order="channelOrder", colorimetry="colorimetry", exact_framerate="exactFramerate", par="par", range="range", scan_mode="scanMode", tcs="tcs" ), lang="lang" )
Attributes
- fmtp
A set of parameters that define the media stream.
- lang
The audio language, in a format that is recognized by the receiver.
Can only be specified for an audio media stream.