aws-cdk-lib.aws_quicksight.CfnTemplate.FieldSortOptionsProperty

interface FieldSortOptionsProperty

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

The field sort options in a chart configuration.

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 fieldSortOptionsProperty: quicksight.CfnTemplate.FieldSortOptionsProperty = {
  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
columnSort?IResolvable | ColumnSortPropertyThe sort configuration for a column that is not used in a field well.
fieldSort?IResolvable | FieldSortPropertyThe sort configuration for a field in a field well.

columnSort?

Type: IResolvable | ColumnSortProperty (optional)

The sort configuration for a column that is not used in a field well.


fieldSort?

Type: IResolvable | FieldSortProperty (optional)

The sort configuration for a field in a field well.