interface ExplicitHierarchyProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.ExplicitHierarchyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_ExplicitHierarchyProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.ExplicitHierarchyProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.ExplicitHierarchyProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » ExplicitHierarchyProperty |
The option that determines the hierarchy of the fields that are built within a visual's field wells.
These fields can't be duplicated to other visuals.
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 explicitHierarchyProperty: quicksight.CfnTemplate.ExplicitHierarchyProperty = {
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 explicit hierarchy. |
hierarchy | string | The hierarchy ID of the explicit hierarchy. |
drill | IResolvable | IResolvable | Drill [] | The option that determines the drill down filters for the explicit hierarchy. |
columns
Type:
IResolvable
|
IResolvable
|
Column
[]
The list of columns that define the explicit hierarchy.
hierarchyId
Type:
string
The hierarchy ID of the explicit hierarchy.
drillDownFilters?
Type:
IResolvable
|
IResolvable
|
Drill
[]
(optional)
The option that determines the drill down filters for the explicit hierarchy.