AggregationSortConfigurationProperty Struct
The configuration options to sort aggregated values.
Example
ts
// 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 aggregationSortConfigurationProperty: quicksight.CfnDashboard.AggregationSortConfigurationProperty = {
column: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
sortDirection: 'sortDirection',
// the properties below are optional
aggregationFunction: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
};
Properties
aggregationFunctionIResolvable | CfnDashboard.AggregationFunctionPropertyaggregation_functiontyping.Union[IResolvable, AggregationFunctionProperty]aggregationFunctionIResolvableAggregationFunctionIResolvableAggregationFunctioninterface{}#The function that aggregates the values in `Column` .
columnIResolvable | CfnDashboard.ColumnIdentifierPropertycolumntyping.Union[IResolvable, ColumnIdentifierProperty]columnIResolvableColumnIResolvableColumninterface{}required#The column that determines the sort order of aggregated values.
sortDirectionstringsort_directionstrsortDirectionStringSortDirectionstringSortDirection*stringrequired#The sort direction of values.
ASC: Sort in ascending order.DESC: Sort in descending order.