You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Macie2::Types::CreateFindingsFilterRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateFindingsFilterRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  action: "ARCHIVE", # required, accepts ARCHIVE, NOOP
  client_token: "__string",
  description: "__string",
  finding_criteria: { # required
    criterion: {
      "__string" => {
        eq: ["__string"],
        eq_exact_match: ["__string"],
        gt: 1,
        gte: 1,
        lt: 1,
        lte: 1,
        neq: ["__string"],
      },
    },
  },
  name: "__string", # required
  position: 1,
  tags: {
    "__string" => "__string",
  },
}

Specifies the criteria and other settings for a new findings filter.

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action to perform on findings that meet the filter criteria. To suppress (automatically archive) findings that meet the criteria, set this value to ARCHIVE. Valid values are:

Possible values:

  • ARCHIVE
  • NOOP

Returns:

  • (String)

    The action to perform on findings that meet the filter criteria.

#client_tokenString

Returns:

  • (String)

#descriptionString

Returns:

  • (String)

#finding_criteriaTypes::FindingCriteria

Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.

Returns:

  • (Types::FindingCriteria)

    Specifies, as a map, one or more property-based conditions that filter the results of a query for findings.

    .

#nameString

Returns:

  • (String)

#positionInteger

Returns:

  • (Integer)

#tagsHash<String,String>

A string-to-string map of key-value pairs that specifies the tags (keys and values) for a classification job, custom data identifier, findings filter, or member account.

Returns:

  • (Hash<String,String>)

    A string-to-string map of key-value pairs that specifies the tags (keys and values) for a classification job, custom data identifier, findings filter, or member account.

    .