Skip to content
v2.277.0

NumberDisplayFormatConfigurationProperty Struct ​

The options that determine the number display format configuration.

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 numberDisplayFormatConfigurationProperty: quicksight.CfnAnalysis.NumberDisplayFormatConfigurationProperty = {
  decimalPlacesConfiguration: {
    decimalPlaces: 123,
  },
  negativeValueConfiguration: {
    displayMode: 'displayMode',
  },
  nullValueFormatConfiguration: {
    nullString: 'nullString',
  },
  numberScale: 'numberScale',
  prefix: 'prefix',
  separatorConfiguration: {
    decimalSeparator: 'decimalSeparator',
    thousandsSeparator: {
      groupingStyle: 'groupingStyle',
      symbol: 'symbol',
      visibility: 'visibility',
    },
  },
  suffix: 'suffix',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

number_display_format_configuration_property = quicksight.CfnAnalysis.NumberDisplayFormatConfigurationProperty(
    decimal_places_configuration=quicksight.CfnAnalysis.DecimalPlacesConfigurationProperty(
        decimal_places=123
    ),
    negative_value_configuration=quicksight.CfnAnalysis.NegativeValueConfigurationProperty(
        display_mode="displayMode"
    ),
    null_value_format_configuration=quicksight.CfnAnalysis.NullValueFormatConfigurationProperty(
        null_string="nullString"
    ),
    number_scale="numberScale",
    prefix="prefix",
    separator_configuration=quicksight.CfnAnalysis.NumericSeparatorConfigurationProperty(
        decimal_separator="decimalSeparator",
        thousands_separator=quicksight.CfnAnalysis.ThousandSeparatorOptionsProperty(
            grouping_style="groupingStyle",
            symbol="symbol",
            visibility="visibility"
        )
    ),
    suffix="suffix"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

NumberDisplayFormatConfigurationProperty numberDisplayFormatConfigurationProperty = NumberDisplayFormatConfigurationProperty.builder()
        .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
                .decimalPlaces(123)
                .build())
        .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
                .displayMode("displayMode")
                .build())
        .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
                .nullString("nullString")
                .build())
        .numberScale("numberScale")
        .prefix("prefix")
        .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
                .decimalSeparator("decimalSeparator")
                .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
                        .groupingStyle("groupingStyle")
                        .symbol("symbol")
                        .visibility("visibility")
                        .build())
                .build())
        .suffix("suffix")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var numberDisplayFormatConfigurationProperty = new NumberDisplayFormatConfigurationProperty {
    DecimalPlacesConfiguration = new DecimalPlacesConfigurationProperty {
        DecimalPlaces = 123
    },
    NegativeValueConfiguration = new NegativeValueConfigurationProperty {
        DisplayMode = "displayMode"
    },
    NullValueFormatConfiguration = new NullValueFormatConfigurationProperty {
        NullString = "nullString"
    },
    NumberScale = "numberScale",
    Prefix = "prefix",
    SeparatorConfiguration = new NumericSeparatorConfigurationProperty {
        DecimalSeparator = "decimalSeparator",
        ThousandsSeparator = new ThousandSeparatorOptionsProperty {
            GroupingStyle = "groupingStyle",
            Symbol = "symbol",
            Visibility = "visibility"
        }
    },
    Suffix = "suffix"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

numberDisplayFormatConfigurationProperty := &NumberDisplayFormatConfigurationProperty{
	DecimalPlacesConfiguration: &DecimalPlacesConfigurationProperty{
		DecimalPlaces: jsii.Number(123),
	},
	NegativeValueConfiguration: &NegativeValueConfigurationProperty{
		DisplayMode: jsii.String("displayMode"),
	},
	NullValueFormatConfiguration: &NullValueFormatConfigurationProperty{
		NullString: jsii.String("nullString"),
	},
	NumberScale: jsii.String("numberScale"),
	Prefix: jsii.String("prefix"),
	SeparatorConfiguration: &NumericSeparatorConfigurationProperty{
		DecimalSeparator: jsii.String("decimalSeparator"),
		ThousandsSeparator: &ThousandSeparatorOptionsProperty{
			GroupingStyle: jsii.String("groupingStyle"),
			Symbol: jsii.String("symbol"),
			Visibility: jsii.String("visibility"),
		},
	},
	Suffix: jsii.String("suffix"),
}

Properties ​

decimalPlacesConfigurationoptionalIResolvable | CfnAnalysis.DecimalPlacesConfigurationPropertydecimal_places_configurationoptionaltyping.Union[IResolvable, DecimalPlacesConfigurationProperty]decimalPlacesConfigurationoptionalIResolvableDecimalPlacesConfigurationoptionalIResolvableDecimalPlacesConfigurationoptionalinterface{}#
The option that determines the decimal places configuration.
negativeValueConfigurationoptionalIResolvable | CfnAnalysis.NegativeValueConfigurationPropertynegative_value_configurationoptionaltyping.Union[IResolvable, NegativeValueConfigurationProperty]negativeValueConfigurationoptionalIResolvableNegativeValueConfigurationoptionalIResolvableNegativeValueConfigurationoptionalinterface{}#
The options that determine the negative value configuration.
nullValueFormatConfigurationoptionalIResolvable | CfnAnalysis.NullValueFormatConfigurationPropertynull_value_format_configurationoptionaltyping.Union[IResolvable, NullValueFormatConfigurationProperty]nullValueFormatConfigurationoptionalIResolvableNullValueFormatConfigurationoptionalIResolvableNullValueFormatConfigurationoptionalinterface{}#
The options that determine the null value format configuration.
numberScaleoptionalstringnumber_scaleoptionalstrnumberScaleoptionalStringNumberScaleoptionalstringNumberScaleoptional*string#
Determines the number scale value of the number format.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string#
Determines the prefix value of the number format.
separatorConfigurationoptionalIResolvable | CfnAnalysis.NumericSeparatorConfigurationPropertyseparator_configurationoptionaltyping.Union[IResolvable, NumericSeparatorConfigurationProperty]separatorConfigurationoptionalIResolvableSeparatorConfigurationoptionalIResolvableSeparatorConfigurationoptionalinterface{}#
The options that determine the numeric separator configuration.
suffixoptionalstringsuffixoptionalstrsuffixoptionalStringSuffixoptionalstringSuffixoptional*string#
Determines the suffix value of the number format.