aws-cdk-lib.aws_quicksight.CfnDashboard.ColumnSortProperty

interface ColumnSortProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.ColumnSortProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_ColumnSortProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.ColumnSortProperty
TypeScript aws-cdk-lib » 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 { aws_quicksight as quicksight } from 'aws-cdk-lib';
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

NameTypeDescription
directionstringThe sort direction.
sortByIResolvable | ColumnIdentifierPropertyCfnDashboard.ColumnSortProperty.SortBy.
aggregationFunction?IResolvable | AggregationFunctionPropertyThe aggregation function that is defined in the column sort.

direction

Type: string

The sort direction.


sortBy

Type: IResolvable | ColumnIdentifierProperty

CfnDashboard.ColumnSortProperty.SortBy.


aggregationFunction?

Type: IResolvable | AggregationFunctionProperty (optional)

The aggregation function that is defined in the column sort.