Amazon Macie · Schema

TagScopeTerm

Specifies a tag-based condition that determines whether an S3 object is included or excluded from a classification job.

Data SecuritySensitive DataPrivacyComplianceMachine LearningS3

Properties

Name Type Description
comparator object
key object
tagValues object
target object
View JSON Schema on GitHub

JSON Schema

amazon-macie-tag-scope-term-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-schema/amazon-macie-tag-scope-term-schema.json",
  "title": "TagScopeTerm",
  "description": "Specifies a tag-based condition that determines whether an S3 object is included or excluded from a classification job.",
  "type": "object",
  "properties": {
    "comparator": {
      "allOf": [
        {
          "$ref": "#/components/schemas/JobComparator"
        },
        {
          "description": "The operator to use in the condition. Valid values are EQ (equals) or NE (not equals)."
        }
      ]
    },
    "key": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The object property to use in the condition. The only valid value is TAG."
        }
      ]
    },
    "tagValues": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__listOfTagValuePair"
        },
        {
          "description": "The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string."
        }
      ]
    },
    "target": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TagTarget"
        },
        {
          "description": "The type of object to apply the condition to."
        }
      ]
    }
  }
}