aws-cdk-lib.aws_macie.CfnFindingsFilter.FindingCriteriaProperty

interface FindingCriteriaProperty

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

Specifies, as a map, one or more property-based conditions for 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 findingCriteriaProperty: macie.CfnFindingsFilter.FindingCriteriaProperty = {
  criterion: {
    criterionKey: {
      eq: ['eq'],
      gt: 123,
      gte: 123,
      lt: 123,
      lte: 123,
      neq: ['neq'],
    },
  },
};

Properties

NameTypeDescription
criterion?IResolvable | { [string]: IResolvable | CriterionAdditionalPropertiesProperty }Specifies a condition that defines the property, operator, and one or more values to use to filter the results.

criterion?

Type: IResolvable | { [string]: IResolvable | CriterionAdditionalPropertiesProperty } (optional)

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