aws-cdk-lib.aws_quicksight.CfnTemplate.DateTimeHierarchyProperty

interface DateTimeHierarchyProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.DateTimeHierarchyProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_DateTimeHierarchyProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.DateTimeHierarchyProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.DateTimeHierarchyProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTemplate » DateTimeHierarchyProperty

The option that determines the hierarchy of any DateTime fields.

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

NameTypeDescription
hierarchyIdstringThe hierarchy ID of the DateTime hierarchy.
drillDownFilters?IResolvable | IResolvable | DrillDownFilterProperty[]The option that determines the drill down filters for the DateTime hierarchy.

hierarchyId

Type: string

The hierarchy ID of the DateTime hierarchy.


drillDownFilters?

Type: IResolvable | IResolvable | DrillDownFilterProperty[] (optional)

The option that determines the drill down filters for the DateTime hierarchy.