Skip to content
v2.275.0

PluginVisualSortConfigurationProperty Struct ​

Determines how the plugin visual sorts the data during query.

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 pluginVisualSortConfigurationProperty: quicksight.CfnTemplate.PluginVisualSortConfigurationProperty = {
  pluginVisualTableQuerySort: {
    itemsLimitConfiguration: {
      itemsLimit: 123,
    },
    rowSort: [{
      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 ​

pluginVisualTableQuerySortoptionalIResolvable | CfnTemplate.PluginVisualTableQuerySortPropertyplugin_visual_table_query_sortoptionaltyping.Union[IResolvable, PluginVisualTableQuerySortProperty]pluginVisualTableQuerySortoptionalIResolvablePluginVisualTableQuerySortoptionalIResolvablePluginVisualTableQuerySortoptionalinterface{}#
The table query sorting options for the plugin visual.