class Aws::Macie2::Types::JobScopeTerm

Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job. A JobScopeTerm object can contain only one simpleScopeTerm object or one tagScopeTerm object.

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

data as a hash:

    {
      simple_scope_term: {
        comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
        key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
        values: ["__string"],
      },
      tag_scope_term: {
        comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
        key: "__string",
        tag_values: [
          {
            key: "__string",
            value: "__string",
          },
        ],
        target: "S3_OBJECT", # accepts S3_OBJECT
      },
    }

@!attribute [rw] simple_scope_term

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

@!attribute [rw] tag_scope_term

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

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

Constants

SENSITIVE