Skip to content
v2.274.0

ConditionalFormattingGradientColorProperty Struct ​

Formatting configuration for gradient color.

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 ​

Determines the color.
expressionstringexpressionstrexpressionStringExpressionstringExpression*stringrequired#
The expression that determines the formatting configuration for gradient color.