interface DateRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins.CfnAutomationRulePropsMixin.DateRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecurityhub/mixins#CfnAutomationRulePropsMixin_DateRangeProperty |
Java | software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnAutomationRulePropsMixin.DateRangeProperty |
Python | aws_cdk.mixins_preview.aws_securityhub.mixins.CfnAutomationRulePropsMixin.DateRangeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_securityhub » mixins » CfnAutomationRulePropsMixin » 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 { mixins as securityhub_mixins } from '@aws-cdk/mixins-preview/aws-securityhub';
const dateRangeProperty: securityhub_mixins.CfnAutomationRulePropsMixin.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
(optional)
A date range unit for the date filter.
value?
Type:
number
(optional)
A date range value for the date filter.

.NET
Go
Java
Python
TypeScript