Skip to content
v2.273.0

ColumnSortProperty Struct ​

The sort configuration for a column that is not used in a field well.

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 columnSortProperty: quicksight.CfnAnalysis.ColumnSortProperty = {
  direction: 'direction',
  sortBy: {
    columnName: 'columnName',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
    topicIdentifier: 'topicIdentifier',
  },

  // the properties below are optional
  aggregationFunction: {
    attributeAggregationFunction: {
      simpleAttributeAggregation: 'simpleAttributeAggregation',
      valueForMultipleValues: 'valueForMultipleValues',
    },
    categoricalAggregationFunction: 'categoricalAggregationFunction',
    dateAggregationFunction: 'dateAggregationFunction',
    numericalAggregationFunction: {
      percentileAggregation: {
        percentileValue: 123,
      },
      simpleNumericalAggregation: 'simpleNumericalAggregation',
    },
  },
};

Properties ​

aggregationFunctionIResolvable | CfnAnalysis.AggregationFunctionPropertyaggregation_functiontyping.Union[IResolvable, AggregationFunctionProperty]aggregationFunctionIResolvableAggregationFunctionIResolvableAggregationFunctioninterface{}#
The aggregation function that is defined in the column sort.
directionstringdirectionstrdirectionStringDirectionstringDirection*stringrequired#
The sort direction.