# ConditionalFormattingIconProperty

The formatting configuration for the icon.

- 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 conditionalFormattingIconProperty: quicksight.CfnDashboard.ConditionalFormattingIconProperty = {
  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',
  },
};
```

## Properties

- `customCondition`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.ConditionalFormattingCustomIconConditionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.ConditionalFormattingCustomIconConditionProperty.html) — Determines the custom condition for an icon set.

- `iconSet`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDashboard.ConditionalFormattingIconSetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDashboard.ConditionalFormattingIconSetProperty.html) — Formatting configuration for icon set.
