interface ComparisonFormatConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.ComparisonFormatConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.ComparisonFormatConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.ComparisonFormatConfigurationProperty |
TypeScript | @aws-cdk/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 * as quicksight from '@aws-cdk/aws-quicksight';
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
Name | Type | Description |
---|---|---|
number | IResolvable | Number | The number display format. |
percentage | IResolvable | Percentage | The percentage display format. |
numberDisplayFormatConfiguration?
Type:
IResolvable
|
Number
(optional)
The number display format.
percentageDisplayFormatConfiguration?
Type:
IResolvable
|
Percentage
(optional)
The percentage display format.