# ConditionalFormattingGradientColorProperty

Formatting configuration for gradient color.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const conditionalFormattingGradientColorProperty: quicksight.CfnAnalysis.ConditionalFormattingGradientColorProperty = {
  color: {
    stops: [{
      gradientOffset: 123,

      // the properties below are optional
      color: 'color',
      dataValue: 123,
    }],
  },
  expression: 'expression',
};
```

## Properties

- `color`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.GradientColorProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.GradientColorProperty.html) (required) — Determines the color.

- `expression`: string (required) — The expression that determines the formatting configuration for gradient color.
