interface FieldSortOptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.FieldSortOptionsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_FieldSortOptionsProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.FieldSortOptionsProperty |
Python | aws_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: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
},
fieldSort: {
direction: 'direction',
fieldId: 'fieldId',
},
};
Properties
Name | Type | Description |
---|---|---|
column | IResolvable | Column | The sort configuration for a column that is not used in a field well. |
field | IResolvable | Field | The sort configuration for a field in a field well. |
columnSort?
Type:
IResolvable
|
Column
(optional)
The sort configuration for a column that is not used in a field well.
fieldSort?
Type:
IResolvable
|
Field
(optional)
The sort configuration for a field in a field well.