PredefinedHierarchyProperty Struct
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
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 predefinedHierarchyProperty: quicksight.CfnAnalysis.PredefinedHierarchyProperty = {
columns: [{
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
}],
hierarchyId: 'hierarchyId',
// the properties below are optional
drillDownFilters: [{
categoryFilter: {
categoryValues: ['categoryValues'],
column: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
},
numericEqualityFilter: {
column: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
value: 123,
},
timeRangeFilter: {
column: {
columnName: 'columnName',
// the properties below are optional
dataSetIdentifier: 'dataSetIdentifier',
topicIdentifier: 'topicIdentifier',
},
rangeMaximum: 'rangeMaximum',
rangeMinimum: 'rangeMinimum',
timeGranularity: 'timeGranularity',
},
}],
};
Properties
columnsIResolvable | IResolvable | CfnAnalysis.ColumnIdentifierProperty[]columnstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnIdentifierProperty]]]columnsIResolvableColumnsIResolvableColumnsinterface{}required#The list of columns that define the predefined hierarchy.
drillDownFiltersoptionalIResolvable | IResolvable | CfnAnalysis.DrillDownFilterProperty[]drill_down_filtersoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DrillDownFilterProperty]]]drillDownFiltersoptionalIResolvableDrillDownFiltersoptionalIResolvableDrillDownFiltersoptionalinterface{}#The option that determines the drill down filters for the predefined hierarchy.
The hierarchy ID of the predefined hierarchy.