View a markdown version of this page

DateRange - Amazon Security Hub CSPM
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DateRange

A date range for the date filter.

Contents

Comparison

The condition to apply to a date range filter. If you specify WITHIN, Security Hub filters for dates within the specified date range. If you specify OLDER_THAN, Security Hub filters for dates before the specified date range. If you don't specify a value, the default is WITHIN.

Type: String

Valid Values: WITHIN | OLDER_THAN

Required: No

Unit

A date range unit for the date filter.

Type: String

Valid Values: DAYS

Required: No

Value

A date range value for the date filter.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: