Skip to content
v2.273.0

TableRowConditionalFormattingProperty Struct ​

The conditional formatting of a table row.

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 tableRowConditionalFormattingProperty: quicksight.CfnTemplate.TableRowConditionalFormattingProperty = {
  backgroundColor: {
    gradient: {
      color: {
        stops: [{
          gradientOffset: 123,

          // the properties below are optional
          color: 'color',
          dataValue: 123,
        }],
      },
      expression: 'expression',
    },
    solid: {
      expression: 'expression',

      // the properties below are optional
      color: 'color',
    },
  },
  textColor: {
    gradient: {
      color: {
        stops: [{
          gradientOffset: 123,

          // the properties below are optional
          color: 'color',
          dataValue: 123,
        }],
      },
      expression: 'expression',
    },
    solid: {
      expression: 'expression',

      // the properties below are optional
      color: 'color',
    },
  },
};

Properties ​

backgroundColorIResolvable | CfnTemplate.ConditionalFormattingColorPropertybackground_colortyping.Union[IResolvable, ConditionalFormattingColorProperty]backgroundColorIResolvableBackgroundColorIResolvableBackgroundColorinterface{}#
The conditional formatting color (solid, gradient) of the background for a table row.
The conditional formatting color (solid, gradient) of the text for a table row.