Skip to content
v2.278.0

DateFilterProperty ​

Struct External

Contains details on the time range used to filter findings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const dateFilterProperty: inspectorv2.CfnFilter.DateFilterProperty = {
  endInclusive: 123,
  startInclusive: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_inspectorv2 as inspectorv2

date_filter_property = inspectorv2.CfnFilter.DateFilterProperty(
    end_inclusive=123,
    start_inclusive=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.inspectorv2.*;

DateFilterProperty dateFilterProperty = DateFilterProperty.builder()
        .endInclusive(123)
        .startInclusive(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.InspectorV2;

var dateFilterProperty = new DateFilterProperty {
    EndInclusive = 123,
    StartInclusive = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dateFilterProperty := &DateFilterProperty{
	EndInclusive: jsii.Number(123),
	StartInclusive: jsii.Number(123),
}

Properties ​

endInclusiveoptionalnumberend_inclusiveoptionalint | floatendInclusiveoptionalNumberEndInclusiveoptionaldoubleEndInclusiveoptional*float64 #
A timestamp representing the end of the time period filtered on.
startInclusiveoptionalnumberstart_inclusiveoptionalint | floatstartInclusiveoptionalNumberStartInclusiveoptionaldoubleStartInclusiveoptional*float64 #
A timestamp representing the start of the time period filtered on.