interface KPIConditionalFormattingProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.KPIConditionalFormattingProperty | 
|  Java | software.amazon.awscdk.services.quicksight.CfnTemplate.KPIConditionalFormattingProperty | 
|  Python | aws_cdk.aws_quicksight.CfnTemplate.KPIConditionalFormattingProperty | 
|  TypeScript | @aws-cdk/aws-quicksight»CfnTemplate»KPIConditionalFormattingProperty | 
The conditional formatting of a KPI visual.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as quicksight from '@aws-cdk/aws-quicksight';
const kPIConditionalFormattingProperty: quicksight.CfnTemplate.KPIConditionalFormattingProperty = {
  conditionalFormattingOptions: [{
    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',
        },
      },
    },
    progressBar: {
      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',
        },
      },
    },
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| conditional | IResolvable | IResolvable | KPIConditional[] | The conditional formatting options of a KPI visual. | 
conditionalFormattingOptions?
Type:
IResolvable | IResolvable | KPIConditional[]
(optional)
The conditional formatting options of a KPI visual.
