aws-cdk-lib.aws_securityhub.CfnAutomationRule.DateFilterProperty

interface DateFilterProperty

LanguageType name
.NETAmazon.CDK.AWS.SecurityHub.CfnAutomationRule.DateFilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnAutomationRule_DateFilterProperty
Javasoftware.amazon.awscdk.services.securityhub.CfnAutomationRule.DateFilterProperty
Pythonaws_cdk.aws_securityhub.CfnAutomationRule.DateFilterProperty
TypeScript aws-cdk-lib » aws_securityhub » CfnAutomationRule » DateFilterProperty

A date filter for querying findings.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const dateFilterProperty: securityhub.CfnAutomationRule.DateFilterProperty = {
  dateRange: {
    unit: 'unit',
    value: 123,
  },
  end: 'end',
  start: 'start',
};

Properties

NameTypeDescription
dateRange?IResolvable | DateRangePropertyA date range for the date filter.
end?stringA timestamp that provides the end date for the date filter.
start?stringA timestamp that provides the start date for the date filter.

dateRange?

Type: IResolvable | DateRangeProperty (optional)

A date range for the date filter.


end?

Type: string (optional)

A timestamp that provides the end date for the date filter.

A correctly formatted example is 2020-05-21T20:16:34.724Z . The value cannot contain spaces, and date and time should be separated by T . For more information, see RFC 3339 section 5.6, Internet Date/Time Format .


start?

Type: string (optional)

A timestamp that provides the start date for the date filter.

A correctly formatted example is 2020-05-21T20:16:34.724Z . The value cannot contain spaces, and date and time should be separated by T . For more information, see RFC 3339 section 5.6, Internet Date/Time Format .