aws-cdk-lib.aws_quicksight.CfnTemplate.GaugeChartPrimaryValueConditionalFormattingProperty

interface GaugeChartPrimaryValueConditionalFormattingProperty

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

The conditional formatting for the primary value 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 gaugeChartPrimaryValueConditionalFormattingProperty: quicksight.CfnTemplate.GaugeChartPrimaryValueConditionalFormattingProperty = {
  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

NameTypeDescription
icon?IResolvable | ConditionalFormattingIconPropertyThe conditional formatting of the primary value icon.
textColor?IResolvable | ConditionalFormattingColorPropertyThe conditional formatting of the primary value text color.

icon?

Type: IResolvable | ConditionalFormattingIconProperty (optional)

The conditional formatting of the primary value icon.


textColor?

Type: IResolvable | ConditionalFormattingColorProperty (optional)

The conditional formatting of the primary value text color.