interface ColumnSortProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.ColumnSortProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.ColumnSortProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnDashboard » ColumnSortProperty |
The sort configuration for a column that is not used in a field well.
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 columnSortProperty: quicksight.CfnDashboard.ColumnSortProperty = {
direction: 'direction',
sortBy: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
// the properties below are optional
aggregationFunction: {
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
};
Properties
Name | Type | Description |
---|---|---|
direction | string | The sort direction. |
sort | IResolvable | Column | CfnDashboard.ColumnSortProperty.SortBy . |
aggregation | IResolvable | Aggregation | The aggregation function that is defined in the column sort. |
direction
Type:
string
The sort direction.
sortBy
Type:
IResolvable
|
Column
CfnDashboard.ColumnSortProperty.SortBy
.
aggregationFunction?
Type:
IResolvable
|
Aggregation
(optional)
The aggregation function that is defined in the column sort.