aws-cdk-lib.aws_quicksight.CfnDashboard.AggregationSortConfigurationProperty

interface AggregationSortConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.AggregationSortConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_AggregationSortConfigurationProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.AggregationSortConfigurationProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » AggregationSortConfigurationProperty

The configuration options to sort aggregated values.

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 aggregationSortConfigurationProperty: quicksight.CfnDashboard.AggregationSortConfigurationProperty = {
  column: {
    columnName: 'columnName',
    dataSetIdentifier: 'dataSetIdentifier',
  },
  sortDirection: 'sortDirection',

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

Properties

NameTypeDescription
columnIResolvable | ColumnIdentifierPropertyThe column that determines the sort order of aggregated values.
sortDirectionstringThe sort direction of values.
aggregationFunction?IResolvable | AggregationFunctionPropertyThe function that aggregates the values in Column .

column

Type: IResolvable | ColumnIdentifierProperty

The column that determines the sort order of aggregated values.


sortDirection

Type: string

The sort direction of values.

  • ASC : Sort in ascending order.
  • DESC : Sort in descending order.

aggregationFunction?

Type: IResolvable | AggregationFunctionProperty (optional)

The function that aggregates the values in Column .