interface GaugeChartConditionalFormattingProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.GaugeChartConditionalFormattingProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_GaugeChartConditionalFormattingProperty | 
  Java | software.amazon.awscdk.services.quicksight.CfnTemplate.GaugeChartConditionalFormattingProperty | 
  Python | aws_cdk.aws_quicksight.CfnTemplate.GaugeChartConditionalFormattingProperty | 
  TypeScript  | aws-cdk-lib » aws_quicksight » CfnTemplate » GaugeChartConditionalFormattingProperty | 
The conditional formatting of a GaugeChartVisual .
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 gaugeChartConditionalFormattingProperty: quicksight.CfnTemplate.GaugeChartConditionalFormattingProperty = {
  conditionalFormattingOptions: [{
    arc: {
      foregroundColor: {
        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',
        },
      },
    },
    primaryValue: {
      icon: {
        customCondition: {
          expression: 'expression',
          iconOptions: {
            icon: 'icon',
            unicodeIcon: 'unicodeIcon',
          },
          // the properties below are optional
          color: 'color',
          displayConfiguration: {
            iconDisplayOption: 'iconDisplayOption',
          },
        },
        iconSet: {
          expression: 'expression',
          // the properties below are optional
          iconSetType: 'iconSetType',
        },
      },
      textColor: {
        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
| Name | Type | Description | 
|---|---|---|
| conditional | IResolvable | (IResolvable | Gauge)[] | Conditional formatting options of a GaugeChartVisual . | 
conditionalFormattingOptions?
Type:
IResolvable | (IResolvable | Gauge)[]
(optional)
Conditional formatting options of a GaugeChartVisual .

 .NET
 Go
 Java
 Python
 TypeScript