DataPathSortProperty Struct
Allows data paths to be sorted by a specific data value.
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 dataPathSortProperty: quicksight.CfnAnalysis.DataPathSortProperty = {
direction: 'direction',
sortPaths: [{
dataPathType: {
pivotTableDataPathType: 'pivotTableDataPathType',
},
fieldId: 'fieldId',
fieldValue: 'fieldValue',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight
data_path_sort_property = quicksight.CfnAnalysis.DataPathSortProperty(
direction="direction",
sort_paths=[quicksight.CfnAnalysis.DataPathValueProperty(
data_path_type=quicksight.CfnAnalysis.DataPathTypeProperty(
pivot_table_data_path_type="pivotTableDataPathType"
),
field_id="fieldId",
field_value="fieldValue"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
DataPathSortProperty dataPathSortProperty = DataPathSortProperty.builder()
.direction("direction")
.sortPaths(List.of(DataPathValueProperty.builder()
.dataPathType(DataPathTypeProperty.builder()
.pivotTableDataPathType("pivotTableDataPathType")
.build())
.fieldId("fieldId")
.fieldValue("fieldValue")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;
var dataPathSortProperty = new DataPathSortProperty {
Direction = "direction",
SortPaths = new [] { new DataPathValueProperty {
DataPathType = new DataPathTypeProperty {
PivotTableDataPathType = "pivotTableDataPathType"
},
FieldId = "fieldId",
FieldValue = "fieldValue"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
dataPathSortProperty := &DataPathSortProperty{
Direction: jsii.String("direction"),
SortPaths: []interface{}{
&DataPathValueProperty{
DataPathType: &DataPathTypeProperty{
PivotTableDataPathType: jsii.String("pivotTableDataPathType"),
},
FieldId: jsii.String("fieldId"),
FieldValue: jsii.String("fieldValue"),
},
},
}
Properties
Determines the sort direction.
sortPathsIResolvable | IResolvable | CfnAnalysis.DataPathValueProperty[]sort_pathstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DataPathValueProperty]]]sortPathsIResolvableSortPathsIResolvableSortPathsinterface{}required#The list of data paths that need to be sorted.