interface DateMeasureFieldProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.DateMeasureFieldProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.DateMeasureFieldProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.DateMeasureFieldProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnTemplate » DateMeasureFieldProperty |
The measure type field with date type columns.
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 dateMeasureFieldProperty: quicksight.CfnTemplate.DateMeasureFieldProperty = {
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
fieldId: 'fieldId',
// the properties below are optional
aggregationFunction: 'aggregationFunction',
formatConfiguration: {
dateTimeFormat: 'dateTimeFormat',
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
Name | Type | Description |
---|---|---|
column | IResolvable | Column | The column that is used in the DateMeasureField . |
field | string | The custom field ID. |
aggregation | string | The aggregation function of the measure field. |
format | IResolvable | Date | The format configuration of the field. |
column
Type:
IResolvable
|
Column
The column that is used in the DateMeasureField
.
fieldId
Type:
string
The custom field ID.
aggregationFunction?
Type:
string
(optional)
The aggregation function of the measure field.
formatConfiguration?
Type:
IResolvable
|
Date
(optional)
The format configuration of the field.