InputSpecification
- class aws_cdk.aws_medialive_alpha.InputSpecification
Bases:
object(experimental) The input specification for a channel.
Use the static factory methods to select the input type — mirroring the console’s “Other” / “CDI” / “Elemental Link” choice.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_medialive_alpha as medialive_alpha # cdi_input_resolution: medialive_alpha.CdiInputResolution # input_codec: medialive_alpha.InputCodec # input_maximum_bitrate: medialive_alpha.InputMaximumBitrate # input_resolution: medialive_alpha.InputResolution input_specification = medialive_alpha.InputSpecification.cdi( cdi_resolution=cdi_input_resolution, codec=input_codec, maximum_bitrate=input_maximum_bitrate, resolution=input_resolution )
- Stability:
experimental
Static Methods
- classmethod cdi(*, cdi_resolution=None, codec=None, maximum_bitrate=None, resolution=None)
(experimental) CDI (uncompressed) inputs.
Adds the maximum CDI input resolution.
- Parameters:
cdi_resolution (
Optional[CdiInputResolution]) – (experimental) The maximum resolution of the most demanding CDI input. Default: CdiInputResolution.HDcodec (
Optional[InputCodec]) – (experimental) The codec of the input. This should match the codec of your source content, not the output codec. Default: InputCodec.AVCmaximum_bitrate (
Optional[InputMaximumBitrate]) – (experimental) The maximum bitrate of the input. Default: InputMaximumBitrate.MAX_20_MBPSresolution (
Optional[InputResolution]) – (experimental) The resolution of the input. Default: InputResolution.HD
- Stability:
experimental
- Return type:
- classmethod elemental_link()
(experimental) Elemental Link inputs.
No additional specification is required.
- Stability:
experimental
- Return type:
- classmethod standard(*, codec=None, maximum_bitrate=None, resolution=None)
(experimental) Standard inputs (“Other” in the console) — the most common case.
- Parameters:
codec (
Optional[InputCodec]) – (experimental) The codec of the input. This should match the codec of your source content, not the output codec. Default: InputCodec.AVCmaximum_bitrate (
Optional[InputMaximumBitrate]) – (experimental) The maximum bitrate of the input. Default: InputMaximumBitrate.MAX_20_MBPSresolution (
Optional[InputResolution]) – (experimental) The resolution of the input. Default: InputResolution.HD
- Stability:
experimental
- Return type: