interface DateRangeProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.SecurityHub.CfnAutomationRuleV2.DateRangeProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnAutomationRuleV2_DateRangeProperty | 
|  Java | software.amazon.awscdk.services.securityhub.CfnAutomationRuleV2.DateRangeProperty | 
|  Python | aws_cdk.aws_securityhub.CfnAutomationRuleV2.DateRangeProperty | 
|  TypeScript | aws-cdk-lib»aws_securityhub»CfnAutomationRuleV2»DateRangeProperty | 
A date range for the date filter.
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 dateRangeProperty: securityhub.CfnAutomationRuleV2.DateRangeProperty = {
  unit: 'unit',
  value: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| unit | string | A date range unit for the date filter. | 
| value | number | A date range value for the date filter. | 
unit
Type:
string
A date range unit for the date filter.
value
Type:
number
A date range value for the date filter.
