Skip to content
v2.273.0

FieldSortOptionsProperty Struct ​

The field sort options in a chart configuration.

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 fieldSortOptionsProperty: quicksight.CfnAnalysis.FieldSortOptionsProperty = {
  columnSort: {
    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',
      },
    },
  },
  fieldSort: {
    direction: 'direction',
    fieldId: 'fieldId',
  },
};

Properties ​

columnSortIResolvable | CfnAnalysis.ColumnSortPropertycolumn_sorttyping.Union[IResolvable, ColumnSortProperty]columnSortIResolvableColumnSortIResolvableColumnSortinterface{}#
The sort configuration for a column that is not used in a field well.
fieldSortIResolvable | CfnAnalysis.FieldSortPropertyfield_sorttyping.Union[IResolvable, FieldSortProperty]fieldSortIResolvableFieldSortIResolvableFieldSortinterface{}#
The sort configuration for a field in a field well.