Skip to content
v2.277.0

NumberFilterProperty Struct ​

A number filter for querying findings.

Example ​

ts
// 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 numberFilterProperty: securityhub.CfnAutomationRule.NumberFilterProperty = {
  eq: 123,
  gte: 123,
  lte: 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_securityhub as securityhub

number_filter_property = securityhub.CfnAutomationRule.NumberFilterProperty(
    eq=123,
    gte=123,
    lte=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.securityhub.*;

NumberFilterProperty numberFilterProperty = NumberFilterProperty.builder()
        .eq(123)
        .gte(123)
        .lte(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.SecurityHub;

var numberFilterProperty = new NumberFilterProperty {
    Eq = 123,
    Gte = 123,
    Lte = 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{
	Eq: jsii.Number(123),
	Gte: jsii.Number(123),
	Lte: jsii.Number(123),
}

Properties ​

eqoptionalnumbereqoptionalint | floateqoptionalNumberEqoptionaldoubleEqoptional*float64#
The equal-to condition to be applied to a single field when querying for findings.
gteoptionalnumbergteoptionalint | floatgteoptionalNumberGteoptionaldoubleGteoptional*float64#
The greater-than-equal condition to be applied to a single field when querying for findings.
lteoptionalnumberlteoptionalint | floatlteoptionalNumberLteoptionaldoubleLteoptional*float64#
The less-than-equal condition to be applied to a single field when querying for findings.