Skip to content
v2.274.0

DataPathSortProperty Struct ​

Allows data paths to be sorted by a specific data value.

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 dataPathSortProperty: quicksight.CfnDashboard.DataPathSortProperty = {
  direction: 'direction',
  sortPaths: [{
    dataPathType: {
      pivotTableDataPathType: 'pivotTableDataPathType',
    },
    fieldId: 'fieldId',
    fieldValue: 'fieldValue',
  }],
};

Properties ​

directionstringdirectionstrdirectionStringDirectionstringDirection*stringrequired#
Determines the sort direction.
sortPathsIResolvable | IResolvable | CfnDashboard.DataPathValueProperty[]sort_pathstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataPathValueProperty]]]sortPathsIResolvableSortPathsIResolvableSortPathsinterface{}required#
The list of data paths that need to be sorted.