class Aws::Macie2::Types::SearchResourcesCriteria

Specifies a property- or tag-based filter condition for including or excluding Amazon Web Services resources from the query results.

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

data as a hash:

    {
      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] simple_criterion

Specifies a property-based filter condition that determines which
Amazon Web Services resources are included or excluded from the
query results.
@return [Types::SearchResourcesSimpleCriterion]

@!attribute [rw] tag_criterion

Specifies a tag-based filter condition that determines which Amazon
Web Services resources are included or excluded from the query
results.
@return [Types::SearchResourcesTagCriterion]

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

Constants

SENSITIVE