class Aws::Macie2::Types::SearchResourcesCriteriaBlock

Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.

@note When making an API call, you may pass SearchResourcesCriteriaBlock

data as a hash:

    {
      and: [
        {
          simple_criterion: {
            comparator: "EQ", # accepts EQ, NE
            key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
            values: ["__string"],
          },
          tag_criterion: {
            comparator: "EQ", # accepts EQ, NE
            tag_values: [
              {
                key: "__string",
                value: "__string",
              },
            ],
          },
        },
      ],
    }

@!attribute [rw] and

@return [Array<Types::SearchResourcesCriteria>]

@see docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResourcesCriteriaBlock AWS API Documentation

Constants

SENSITIVE