aws-cdk-lib.aws_macie.CfnFindingsFilterProps

interface CfnFindingsFilterProps

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

Properties for defining a CfnFindingsFilter.

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 cfnFindingsFilterProps: macie.CfnFindingsFilterProps = {
  findingCriteria: {
    criterion: {
      criterionKey: {
        eq: ['eq'],
        gt: 123,
        gte: 123,
        lt: 123,
        lte: 123,
        neq: ['neq'],
      },
    },
  },
  name: 'name',

  // the properties below are optional
  action: 'action',
  description: 'description',
  position: 123,
};

Properties

NameTypeDescription
findingCriteriaIResolvable | FindingCriteriaPropertyThe criteria to use to filter findings.
namestringA custom name for the findings filter. The name can contain 3-64 characters.
action?stringThe action to perform on findings that match the filter criteria ( FindingCriteria ). Valid values are:.
description?stringA custom description of the findings filter. The description can contain 1-512 characters.
position?numberThe position of the findings filter in the list of saved filters on the Amazon Macie console.

findingCriteria

Type: IResolvable | FindingCriteriaProperty

The criteria to use to filter findings.


name

Type: string

A custom name for the findings filter. The name can contain 3-64 characters.

Avoid including sensitive data in the name. Users of the account might be able to see the name, depending on the actions that they're allowed to perform in Amazon Macie .


action?

Type: string (optional)

The action to perform on findings that match the filter criteria ( FindingCriteria ). Valid values are:.

  • ARCHIVE - Suppress (automatically archive) the findings.
  • NOOP - Don't perform any action on the findings.

description?

Type: string (optional)

A custom description of the findings filter. The description can contain 1-512 characters.

Avoid including sensitive data in the description. Users of the account might be able to see the description, depending on the actions that they're allowed to perform in Amazon Macie .


position?

Type: number (optional)

The position of the findings filter in the list of saved filters on the Amazon Macie console.

This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to findings.