interface DisplayFormatOptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTopic.DisplayFormatOptionsProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTopic.DisplayFormatOptionsProperty |
Python | aws_cdk.aws_quicksight.CfnTopic.DisplayFormatOptionsProperty |
TypeScript | @aws-cdk/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 * as quicksight from '@aws-cdk/aws-quicksight';
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)
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)
A Boolean value that indicates whether to use blank cell format.
useGrouping?
Type:
boolean |
IResolvable
(optional)
A Boolean value that indicates whether to use grouping.