# GaugeChartConditionalFormattingOptionProperty

Conditional formatting options of a `GaugeChartVisual` .

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 gaugeChartConditionalFormattingOptionProperty: quicksight.CfnTemplate.GaugeChartConditionalFormattingOptionProperty = {
  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

- `arc`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.GaugeChartArcConditionalFormattingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.GaugeChartArcConditionalFormattingProperty.html) — The options that determine the presentation of the arc of a `GaugeChartVisual` .

- `primaryValue`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTemplate.GaugeChartPrimaryValueConditionalFormattingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTemplate.GaugeChartPrimaryValueConditionalFormattingProperty.html) — The conditional formatting for the primary value of a `GaugeChartVisual` .
