aws-cdk-lib.aws_securityhub.CfnAutomationRule.DateRangeProperty

interface DateRangeProperty

LanguageType name
.NETAmazon.CDK.AWS.SecurityHub.CfnAutomationRule.DateRangeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnAutomationRule_DateRangeProperty
Javasoftware.amazon.awscdk.services.securityhub.CfnAutomationRule.DateRangeProperty
Pythonaws_cdk.aws_securityhub.CfnAutomationRule.DateRangeProperty
TypeScript aws-cdk-lib » aws_securityhub » CfnAutomationRule » 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.CfnAutomationRule.DateRangeProperty = {
  unit: 'unit',
  value: 123,
};

Properties

NameTypeDescription
unitstringA date range unit for the date filter.
valuenumberA 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.