Skip to content
v2.275.0

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,
};

Properties ​

inputColorSpaceColorSpaceinput_color_spaceColorSpaceinputColorSpaceColorSpaceInputColorSpaceColorSpaceInputColorSpaceColorSpacerequired#
The input color space to match.
lutoptionalLutlutoptionalLutlutoptionalLutLutoptionalLutLutoptionalLut#
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.