aws-cdk-lib.aws_quicksight.CfnTemplate.StringFormatConfigurationProperty

interface StringFormatConfigurationProperty

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

Formatting configuration for string fields.

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 stringFormatConfigurationProperty: quicksight.CfnTemplate.StringFormatConfigurationProperty = {
  nullValueFormatConfiguration: {
    nullString: 'nullString',
  },
  numericFormatConfiguration: {
    currencyDisplayFormatConfiguration: {
      decimalPlacesConfiguration: {
        decimalPlaces: 123,
      },
      negativeValueConfiguration: {
        displayMode: 'displayMode',
      },
      nullValueFormatConfiguration: {
        nullString: 'nullString',
      },
      numberScale: 'numberScale',
      prefix: 'prefix',
      separatorConfiguration: {
        decimalSeparator: 'decimalSeparator',
        thousandsSeparator: {
          symbol: 'symbol',
          visibility: 'visibility',
        },
      },
      suffix: 'suffix',
      symbol: 'symbol',
    },
    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
nullValueFormatConfiguration?IResolvable | NullValueFormatConfigurationPropertyThe options that determine the null value format configuration.
numericFormatConfiguration?IResolvable | NumericFormatConfigurationPropertyThe formatting configuration for numeric strings.

nullValueFormatConfiguration?

Type: IResolvable | NullValueFormatConfigurationProperty (optional)

The options that determine the null value format configuration.


numericFormatConfiguration?

Type: IResolvable | NumericFormatConfigurationProperty (optional)

The formatting configuration for numeric strings.