aws-cdk-lib.aws_quicksight.CfnTemplate.FilledMapConditionalFormattingOptionProperty

interface FilledMapConditionalFormattingOptionProperty

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

Conditional formatting options of a FilledMapVisual .

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 filledMapConditionalFormattingOptionProperty: quicksight.CfnTemplate.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

NameTypeDescription
shapeIResolvable | FilledMapShapeConditionalFormattingPropertyThe conditional formatting that determines the shape of the filled map.

shape

Type: IResolvable | FilledMapShapeConditionalFormattingProperty

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