class Aws::Macie2::Types::CriteriaForJob

Specifies a property- or tag-based condition that defines criteria for including or excluding S3 buckets from a classification job.

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

data as a hash:

    {
      simple_criterion: {
        comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
        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, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
        tag_values: [
          {
            key: "__string",
            value: "__string",
          },
        ],
      },
    }

@!attribute [rw] simple_criterion

Specifies a property-based condition that determines whether an S3
bucket is included or excluded from a classification job.
@return [Types::SimpleCriterionForJob]

@!attribute [rw] tag_criterion

Specifies a tag-based condition that determines whether an S3 bucket
is included or excluded from a classification job.
@return [Types::TagCriterionForJob]

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

Constants

SENSITIVE