aws-cdk-lib.aws_quicksight.CfnDashboard.TreeMapSortConfigurationProperty

interface TreeMapSortConfigurationProperty

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

The sort configuration of a tree map.

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 treeMapSortConfigurationProperty: quicksight.CfnDashboard.TreeMapSortConfigurationProperty = {
  treeMapGroupItemsLimitConfiguration: {
    itemsLimit: 123,
    otherCategories: 'otherCategories',
  },
  treeMapSort: [{
    columnSort: {
      direction: 'direction',
      sortBy: {
        columnName: 'columnName',
        dataSetIdentifier: 'dataSetIdentifier',
      },

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

Properties

NameTypeDescription
treeMapGroupItemsLimitConfiguration?IResolvable | ItemsLimitConfigurationPropertyThe limit on the number of groups that are displayed.
treeMapSort?IResolvable | IResolvable | FieldSortOptionsProperty[]The sort configuration of group by fields.

treeMapGroupItemsLimitConfiguration?

Type: IResolvable | ItemsLimitConfigurationProperty (optional)

The limit on the number of groups that are displayed.


treeMapSort?

Type: IResolvable | IResolvable | FieldSortOptionsProperty[] (optional)

The sort configuration of group by fields.