interface SankeyDiagramSortConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.SankeyDiagramSortConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_SankeyDiagramSortConfigurationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnDashboard » SankeyDiagramSortConfigurationProperty |
The sort configuration of a sankey diagram.
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 sankeyDiagramSortConfigurationProperty: quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty = {
destinationItemsLimit: {
itemsLimit: 123,
otherCategories: 'otherCategories',
},
sourceItemsLimit: {
itemsLimit: 123,
otherCategories: 'otherCategories',
},
weightSort: [{
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 |
---|---|---|
destination | IResolvable | Items | The limit on the number of destination nodes that are displayed in a sankey diagram. |
source | IResolvable | Items | The limit on the number of source nodes that are displayed in a sankey diagram. |
weight | IResolvable | IResolvable | Field [] | The sort configuration of the weight fields. |
destinationItemsLimit?
Type:
IResolvable
|
Items
(optional)
The limit on the number of destination nodes that are displayed in a sankey diagram.
sourceItemsLimit?
Type:
IResolvable
|
Items
(optional)
The limit on the number of source nodes that are displayed in a sankey diagram.
weightSort?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
The sort configuration of the weight fields.