Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
InputCodec Class
The codec for the input specification.
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';
const inputCodec = medialive_alpha.InputCodec.AVC;
python
# 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
input_codec = medialive_alpha.InputCodec.AVC
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
InputCodec inputCodec = InputCodec.AVC;
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
var inputCodec = InputCodec.AVC;
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
inputCodec := medialive_alpha.InputCodec_AVC()
Properties
AVC (H.264).
HEVC (H.265).
MPEG2.
The underlying string value passed to CloudFormation.
Methods
of(value: string): InputCodec // chainable@staticmethod def of(value: str) -> InputCodecpublic static InputCodec of(String value)public static InputCodec Of(string value)func Of(Value *string) InputCodecstatic#A value not yet modelled by AWS CDK.