interface ColumnSortProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.ColumnSortProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.ColumnSortProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.ColumnSortProperty |
TypeScript | @aws-cdk/aws-quicksight » CfnAnalysis » 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.CfnAnalysis.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 | CfnAnalysis.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
CfnAnalysis.ColumnSortProperty.SortBy
.
aggregationFunction?
Type:
IResolvable
|
Aggregation
(optional)
The aggregation function that is defined in the column sort.