aws-cdk-lib.aws_quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty

interface FilledMapShapeConditionalFormattingProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.FilledMapShapeConditionalFormattingProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_FilledMapShapeConditionalFormattingProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.FilledMapShapeConditionalFormattingProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » FilledMapShapeConditionalFormattingProperty

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

Example

// 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

NameTypeDescription
fieldIdstringThe field ID of the filled map shape.
format?IResolvable | ShapeConditionalFormatPropertyThe conditional formatting that determines the background color of a filled map's shape.

fieldId

Type: string

The field ID of the filled map shape.


format?

Type: IResolvable | ShapeConditionalFormatProperty (optional)

The conditional formatting that determines the background color of a filled map's shape.