Skip to content
v2.274.0

SankeyDiagramSortConfigurationProperty Struct ​

The sort configuration of a sankey diagram.

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 sankeyDiagramSortConfigurationProperty: quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty = {
  destinationItemsLimit: {
    itemsLimit: 123,
    otherCategories: 'otherCategories',
  },
  sourceItemsLimit: {
    itemsLimit: 123,
    otherCategories: 'otherCategories',
  },
  weightSort: [{
    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 ​

destinationItemsLimitoptionalIResolvable | CfnDashboard.ItemsLimitConfigurationPropertydestination_items_limitoptionaltyping.Union[IResolvable, ItemsLimitConfigurationProperty]destinationItemsLimitoptionalIResolvableDestinationItemsLimitoptionalIResolvableDestinationItemsLimitoptionalinterface{}#
The limit on the number of destination nodes that are displayed in a sankey diagram.
sourceItemsLimitoptionalIResolvable | CfnDashboard.ItemsLimitConfigurationPropertysource_items_limitoptionaltyping.Union[IResolvable, ItemsLimitConfigurationProperty]sourceItemsLimitoptionalIResolvableSourceItemsLimitoptionalIResolvableSourceItemsLimitoptionalinterface{}#
The limit on the number of source nodes that are displayed in a sankey diagram.
weightSortoptionalIResolvable | IResolvable | CfnDashboard.FieldSortOptionsProperty[]weight_sortoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FieldSortOptionsProperty]]]weightSortoptionalIResolvableWeightSortoptionalIResolvableWeightSortoptionalinterface{}#
The sort configuration of the weight fields.