Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
InputSpecification Class
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.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
declare const cdiInputResolution: medialive_alpha.CdiInputResolution;
declare const inputCodec: medialive_alpha.InputCodec;
declare const inputMaximumBitrate: medialive_alpha.InputMaximumBitrate;
declare const inputResolution: medialive_alpha.InputResolution;
const inputSpecification = medialive_alpha.InputSpecification.cdi(/* all optional props */ {
cdiResolution: cdiInputResolution,
codec: inputCodec,
maximumBitrate: inputMaximumBitrate,
resolution: inputResolution,
});
Initializer
ts
new InputSpecification()
python
InputSpecification()
java
new InputSpecification()
csharp
new InputSpecification()
go
NewInputSpecification()
Methods
cdi(props?: CdiInputSpecificationProps): InputSpecification // chainable@staticmethod def cdi(props: typing.Optional[CdiInputSpecificationProps] = None) -> InputSpecificationpublic static InputSpecification cdi(CdiInputSpecificationProps props)public static InputSpecification Cdi(CdiInputSpecificationProps? props = null)func Cdi(Props CdiInputSpecificationProps) InputSpecificationstatic#CDI (uncompressed) inputs.
Adds the maximum CDI input resolution.
elementalLink(): InputSpecification // chainable@staticmethod def elemental_link() -> InputSpecificationpublic static InputSpecification elementalLink()public static InputSpecification ElementalLink()func ElementalLink() InputSpecificationstatic#Elemental Link inputs.
No additional specification is required.
standard(props?: StandardInputSpecificationProps): InputSpecification // chainable@staticmethod def standard(props: typing.Optional[StandardInputSpecificationProps] = None) -> InputSpecificationpublic static InputSpecification standard(StandardInputSpecificationProps props)public static InputSpecification Standard(StandardInputSpecificationProps? props = null)func Standard(Props StandardInputSpecificationProps) InputSpecificationstatic#Standard inputs ("Other" in the console) — the most common case.