aws-cdk-lib.aws_quicksight.CfnTemplate.ComparisonFormatConfigurationProperty

interface ComparisonFormatConfigurationProperty

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

The format of the comparison.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 comparisonFormatConfigurationProperty: quicksight.CfnTemplate.ComparisonFormatConfigurationProperty = {
  numberDisplayFormatConfiguration: {
    decimalPlacesConfiguration: {
      decimalPlaces: 123,
    },
    negativeValueConfiguration: {
      displayMode: 'displayMode',
    },
    nullValueFormatConfiguration: {
      nullString: 'nullString',
    },
    numberScale: 'numberScale',
    prefix: 'prefix',
    separatorConfiguration: {
      decimalSeparator: 'decimalSeparator',
      thousandsSeparator: {
        symbol: 'symbol',
        visibility: 'visibility',
      },
    },
    suffix: 'suffix',
  },
  percentageDisplayFormatConfiguration: {
    decimalPlacesConfiguration: {
      decimalPlaces: 123,
    },
    negativeValueConfiguration: {
      displayMode: 'displayMode',
    },
    nullValueFormatConfiguration: {
      nullString: 'nullString',
    },
    prefix: 'prefix',
    separatorConfiguration: {
      decimalSeparator: 'decimalSeparator',
      thousandsSeparator: {
        symbol: 'symbol',
        visibility: 'visibility',
      },
    },
    suffix: 'suffix',
  },
};

Properties

NameTypeDescription
numberDisplayFormatConfiguration?IResolvable | NumberDisplayFormatConfigurationPropertyThe number display format.
percentageDisplayFormatConfiguration?IResolvable | PercentageDisplayFormatConfigurationPropertyThe percentage display format.

numberDisplayFormatConfiguration?

Type: IResolvable | NumberDisplayFormatConfigurationProperty (optional)

The number display format.


percentageDisplayFormatConfiguration?

Type: IResolvable | PercentageDisplayFormatConfigurationProperty (optional)

The percentage display format.