interface PredefinedHierarchyProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDashboard.PredefinedHierarchyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_PredefinedHierarchyProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty |
Python | aws_cdk.aws_quicksight.CfnDashboard.PredefinedHierarchyProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnDashboard » PredefinedHierarchyProperty |
The option that determines the hierarchy of the fields that are defined during data preparation.
These fields are available to use in any analysis that uses the data source.
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 predefinedHierarchyProperty: quicksight.CfnDashboard.PredefinedHierarchyProperty = {
columns: [{
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
}],
hierarchyId: 'hierarchyId',
// the properties below are optional
drillDownFilters: [{
categoryFilter: {
categoryValues: ['categoryValues'],
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
},
numericEqualityFilter: {
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
value: 123,
},
timeRangeFilter: {
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
rangeMaximum: 'rangeMaximum',
rangeMinimum: 'rangeMinimum',
timeGranularity: 'timeGranularity',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
columns | IResolvable | IResolvable | Column [] | The list of columns that define the predefined hierarchy. |
hierarchy | string | The hierarchy ID of the predefined hierarchy. |
drill | IResolvable | IResolvable | Drill [] | The option that determines the drill down filters for the predefined hierarchy. |
columns
Type:
IResolvable
|
IResolvable
|
Column
[]
The list of columns that define the predefined hierarchy.
hierarchyId
Type:
string
The hierarchy ID of the predefined hierarchy.
drillDownFilters?
Type:
IResolvable
|
IResolvable
|
Drill
[]
(optional)
The option that determines the drill down filters for the predefined hierarchy.