> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# ColorCorrection

A color space correction rule.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/color-correction.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-medialive-alpha/lib/color-correction.ts#L32)

## 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

- `inputColorSpace`: [ColorSpace](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ColorSpace.html) (required) — The input color space to match.

- `lut`: [Lut](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.Lut.html) — 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.

- `outputColorSpace`: [ColorSpace](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.ColorSpace.html) (required) — The output color space to convert to.
