interface TopicRelativeDateFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnTopicPropsMixin.TopicRelativeDateFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnTopicPropsMixin_TopicRelativeDateFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnTopicPropsMixin.TopicRelativeDateFilterProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnTopicPropsMixin.TopicRelativeDateFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnTopicPropsMixin » 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 { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const topicRelativeDateFilterProperty: quicksight_mixins.CfnTopicPropsMixin.TopicRelativeDateFilterProperty = {
constant: {
constantType: 'constantType',
singularConstant: 'singularConstant',
},
relativeDateFilterFunction: 'relativeDateFilterFunction',
timeGranularity: 'timeGranularity',
};
Properties
| Name | Type | Description |
|---|---|---|
| constant? | IResolvable | Topic | The constant used in a relative date filter. |
| relative | string | The function to be used in a relative date filter to determine the range of dates to include in the results. |
| time | string | The level of time precision that is used to aggregate DateTime values. |
constant?
Type:
IResolvable | Topic
(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.

.NET
Go
Java
Python
TypeScript