interface DisplayFormatOptionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTopic.DisplayFormatOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTopic_DisplayFormatOptionsProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTopic.DisplayFormatOptionsProperty |
Python | aws_cdk.aws_quicksight.CfnTopic.DisplayFormatOptionsProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTopic » DisplayFormatOptionsProperty |
A structure that represents additional options for display formatting.
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 displayFormatOptionsProperty: quicksight.CfnTopic.DisplayFormatOptionsProperty = {
blankCellFormat: 'blankCellFormat',
currencySymbol: 'currencySymbol',
dateFormat: 'dateFormat',
decimalSeparator: 'decimalSeparator',
fractionDigits: 123,
groupingSeparator: 'groupingSeparator',
negativeFormat: {
prefix: 'prefix',
suffix: 'suffix',
},
prefix: 'prefix',
suffix: 'suffix',
unitScaler: 'unitScaler',
useBlankCellFormat: false,
useGrouping: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| blank | string | Determines the blank cell format. |
| currency | string | The currency symbol, such as USD . |
| date | string | Determines the DateTime format. |
| decimal | string | Determines the decimal separator. |
| fraction | number | Determines the number of fraction digits. |
| grouping | string | Determines the grouping separator. |
| negative | IResolvable | Negative | The negative format. |
| prefix? | string | The prefix value for a display format. |
| suffix? | string | The suffix value for a display format. |
| unit | string | The unit scaler. |
| use | boolean | IResolvable | A Boolean value that indicates whether to use blank cell format. |
| use | boolean | IResolvable | A Boolean value that indicates whether to use grouping. |
blankCellFormat?
Type:
string
(optional)
Determines the blank cell format.
currencySymbol?
Type:
string
(optional)
The currency symbol, such as USD .
dateFormat?
Type:
string
(optional)
Determines the DateTime format.
decimalSeparator?
Type:
string
(optional)
Determines the decimal separator.
fractionDigits?
Type:
number
(optional, default: 0)
Determines the number of fraction digits.
groupingSeparator?
Type:
string
(optional)
Determines the grouping separator.
negativeFormat?
Type:
IResolvable | Negative
(optional)
The negative format.
prefix?
Type:
string
(optional)
The prefix value for a display format.
suffix?
Type:
string
(optional)
The suffix value for a display format.
unitScaler?
Type:
string
(optional)
The unit scaler.
Valid values for this structure are: NONE , AUTO , THOUSANDS , MILLIONS , BILLIONS , and TRILLIONS .
useBlankCellFormat?
Type:
boolean | IResolvable
(optional, default: false)
A Boolean value that indicates whether to use blank cell format.
useGrouping?
Type:
boolean | IResolvable
(optional, default: false)
A Boolean value that indicates whether to use grouping.

.NET
Go
Java
Python
TypeScript