A structure that represents a relative date filter.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"Constant" : TopicSingularFilterConstant
,
"RelativeDateFilterFunction" : String
,
"TimeGranularity" : String
}
YAML
Constant:
TopicSingularFilterConstant
RelativeDateFilterFunction: String
TimeGranularity: String
Properties
Constant
-
The constant used in a relative date filter.
Required: No
Type: TopicSingularFilterConstant
Update requires: No interruption
RelativeDateFilterFunction
-
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
, andBETWEEN
.Required: No
Type: String
Allowed values:
PREVIOUS | THIS | LAST | NEXT | NOW
Update requires: No interruption
TimeGranularity
-
The level of time precision that is used to aggregate
DateTime
values.Required: No
Type: String
Allowed values:
SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR
Update requires: No interruption