aws-cdk-lib.aws_quicksight.CfnTopic.TopicRelativeDateFilterProperty

interface TopicRelativeDateFilterProperty

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

A structure that represents a relative date filter.

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 topicRelativeDateFilterProperty: quicksight.CfnTopic.TopicRelativeDateFilterProperty = {
  constant: {
    constantType: 'constantType',
    singularConstant: 'singularConstant',
  },
  relativeDateFilterFunction: 'relativeDateFilterFunction',
  timeGranularity: 'timeGranularity',
};

Properties

NameTypeDescription
constant?IResolvable | TopicSingularFilterConstantPropertyThe constant used in a relative date filter.
relativeDateFilterFunction?stringThe function to be used in a relative date filter to determine the range of dates to include in the results.
timeGranularity?stringThe level of time precision that is used to aggregate DateTime values.

constant?

Type: IResolvable | TopicSingularFilterConstantProperty (optional)

The constant used in a relative date filter.


relativeDateFilterFunction?

Type: string (optional)

The function to be used in a relative date filter to determine the range of dates to include in the results.

Valid values for this structure are BEFORE , AFTER , and BETWEEN .


timeGranularity?

Type: string (optional)

The level of time precision that is used to aggregate DateTime values.