Skip to content
v2.273.0

FilledMapShapeConditionalFormattingProperty Struct ​

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

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 filledMapShapeConditionalFormattingProperty: quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty = {
  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 ​

fieldIdstringfield_idstrfieldIdStringFieldIdstringFieldId*stringrequired#
The field ID of the filled map shape.
The conditional formatting that determines the background color of a filled map's shape.