Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ColorCorrection Struct
A color space correction rule.
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 colorSpace: medialive_alpha.ColorSpace;
declare const lut: medialive_alpha.Lut;
const colorCorrection: medialive_alpha.ColorCorrection = {
inputColorSpace: colorSpace,
outputColorSpace: colorSpace,
// the properties below are optional
lut: lut,
};
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
# color_space: medialive_alpha.ColorSpace
# lut: medialive_alpha.Lut
color_correction = medialive_alpha.ColorCorrection(
input_color_space=color_space,
output_color_space=color_space,
# the properties below are optional
lut=lut
)
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.*;
ColorSpace colorSpace;
Lut lut;
ColorCorrection colorCorrection = ColorCorrection.builder()
.inputColorSpace(colorSpace)
.outputColorSpace(colorSpace)
// the properties below are optional
.lut(lut)
.build();
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;
ColorSpace colorSpace;
Lut lut;
var colorCorrection = new ColorCorrection {
InputColorSpace = colorSpace,
OutputColorSpace = colorSpace,
// the properties below are optional
Lut = lut
};
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"
var colorSpace ColorSpace
var lut Lut
colorCorrection := &ColorCorrection{
InputColorSpace: colorSpace,
OutputColorSpace: colorSpace,
// the properties below are optional
Lut: lut,
}
Properties
inputColorSpaceColorSpaceinput_color_spaceColorSpaceinputColorSpaceColorSpaceInputColorSpaceColorSpaceInputColorSpaceColorSpacerequired#The input color space to match.
The 3D LUT file for the color correction.
Default: no LUT file
MediaLive reads the LUT from S3 at runtime, so it must be an S3 location — provide it via Lut.fromBucket() (which uses the secure s3ssl:// form and auto-grants the channel role read access) or Lut.url() with an s3:///s3ssl:// URL.
outputColorSpaceColorSpaceoutput_color_spaceColorSpaceoutputColorSpaceColorSpaceOutputColorSpaceColorSpaceOutputColorSpaceColorSpacerequired#The output color space to convert to.