Skip to content
v2.278.0

NumberFilterProperty Struct ​

An object that describes the details of a number filter.

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 numberFilterProperty: inspectorv2.CfnFilter.NumberFilterProperty = {
  lowerInclusive: 123,
  upperInclusive: 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

number_filter_property = inspectorv2.CfnFilter.NumberFilterProperty(
    lower_inclusive=123,
    upper_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.*;

NumberFilterProperty numberFilterProperty = NumberFilterProperty.builder()
        .lowerInclusive(123)
        .upperInclusive(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 numberFilterProperty = new NumberFilterProperty {
    LowerInclusive = 123,
    UpperInclusive = 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"

numberFilterProperty := &NumberFilterProperty{
	LowerInclusive: jsii.Number(123),
	UpperInclusive: jsii.Number(123),
}

Properties ​

lowerInclusiveoptionalnumberlower_inclusiveoptionalint | floatlowerInclusiveoptionalNumberLowerInclusiveoptionaldoubleLowerInclusiveoptional*float64 #
The lowest number to be included in the filter.
upperInclusiveoptionalnumberupper_inclusiveoptionalint | floatupperInclusiveoptionalNumberUpperInclusiveoptionaldoubleUpperInclusiveoptional*float64 #
The highest number to be included in the filter.