aws-cdk-lib.aws_quicksight.CfnTemplate.ShapeConditionalFormatProperty

interface ShapeConditionalFormatProperty

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

The shape conditional formatting of a filled map visual.

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 shapeConditionalFormatProperty: quicksight.CfnTemplate.ShapeConditionalFormatProperty = {
  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
backgroundColorIResolvable | ConditionalFormattingColorPropertyThe conditional formatting for the shape background color of a filled map visual.

backgroundColor

Type: IResolvable | ConditionalFormattingColorProperty

The conditional formatting for the shape background color of a filled map visual.