aws-cdk-lib.aws_macie.CfnFindingsFilter.CriterionAdditionalPropertiesProperty

interface CriterionAdditionalPropertiesProperty

LanguageType name
.NETAmazon.CDK.AWS.Macie.CfnFindingsFilter.CriterionAdditionalPropertiesProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmacie#CfnFindingsFilter_CriterionAdditionalPropertiesProperty
Javasoftware.amazon.awscdk.services.macie.CfnFindingsFilter.CriterionAdditionalPropertiesProperty
Pythonaws_cdk.aws_macie.CfnFindingsFilter.CriterionAdditionalPropertiesProperty
TypeScript aws-cdk-lib » aws_macie » CfnFindingsFilter » CriterionAdditionalPropertiesProperty

Specifies a condition that defines the property, operator, and one or more values to use in a findings filter.

A findings filter , also referred to as a filter rule , is a set of custom criteria that specifies which findings to include or exclude from the results of a query for findings. You can also configure a findings filter to suppress (automatically archive) findings that match the filter's criteria. For more information, see Filtering findings in the Amazon Macie User Guide .

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_macie as macie } from 'aws-cdk-lib';
const criterionAdditionalPropertiesProperty: macie.CfnFindingsFilter.CriterionAdditionalPropertiesProperty = {
  eq: ['eq'],
  gt: 123,
  gte: 123,
  lt: 123,
  lte: 123,
  neq: ['neq'],
};

Properties

NameTypeDescription
eq?string[]The value for the specified property matches (equals) the specified value.
gt?numberThe value for the specified property is greater than the specified value.
gte?numberThe value for the specified property is greater than or equal to the specified value.
lt?numberThe value for the specified property is less than the specified value.
lte?numberThe value for the specified property is less than or equal to the specified value.
neq?string[]The value for the specified property doesn't match (doesn't equal) the specified value.

eq?

Type: string[] (optional)

The value for the specified property matches (equals) the specified value.

If you specify multiple values, Amazon Macie uses OR logic to join the values.


gt?

Type: number (optional)

The value for the specified property is greater than the specified value.


gte?

Type: number (optional)

The value for the specified property is greater than or equal to the specified value.


lt?

Type: number (optional)

The value for the specified property is less than the specified value.


lte?

Type: number (optional)

The value for the specified property is less than or equal to the specified value.


neq?

Type: string[] (optional)

The value for the specified property doesn't match (doesn't equal) the specified value.

If you specify multiple values, Amazon Macie uses OR logic to join the values.