Skip to content
v2.274.0

FilledMapConditionalFormattingOptionProperty Struct ​

Conditional formatting options of a FilledMapVisual .

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 filledMapConditionalFormattingOptionProperty: quicksight.CfnDashboard.FilledMapConditionalFormattingOptionProperty = {
  shape: {
    fieldId: 'fieldId',

    // the properties below are optional
    format: {
      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',
        },
      },
    },
  },
};

Properties ​

The conditional formatting that determines the shape of the filled map.