Skip to content
v2.273.0

DateTimeHierarchyProperty Struct ​

The option that determines the hierarchy of any DateTime fields.

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 dateTimeHierarchyProperty: quicksight.CfnAnalysis.DateTimeHierarchyProperty = {
  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 ​

drillDownFiltersIResolvable | IResolvable | CfnAnalysis.DrillDownFilterProperty[]drill_down_filterstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, DrillDownFilterProperty]]]drillDownFiltersIResolvableDrillDownFiltersIResolvableDrillDownFiltersinterface{}#
The option that determines the drill down filters for the `DateTime` hierarchy.
hierarchyIdstringhierarchy_idstrhierarchyIdStringHierarchyIdstringHierarchyId*stringrequired#
The hierarchy ID of the `DateTime` hierarchy.