Amazon Macie · JSON Structure

Amazon Macie Simple Criterion For Job Structure

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

Type: object Properties: 3
Data SecuritySensitive DataPrivacyComplianceMachine LearningS3

SimpleCriterionForJob is a JSON Structure definition published by Amazon Macie, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

comparator key values

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-structure/amazon-macie-simple-criterion-for-job-structure.json",
  "name": "SimpleCriterionForJob",
  "description": "Specifies a property-based condition that determines whether an S3 bucket 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) and NE (not equals)."
        }
      ]
    },
    "key": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SimpleCriterionKeyForJob"
        },
        {
          "description": "The property to use in the condition."
        }
      ]
    },
    "values": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__listOf__string"
        },
        {
          "description": "<p>An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:</p> <ul><li><p>ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket.</p></li> <li><p>S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the <a href=\"https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission\">BucketPublicAccess.effectivePermission</a> property of a bucket.</p></li> <li><p>S3_BUCKET_NAME - A string that represents the name of a bucket.</p></li> <li><p>S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the <a href=\"https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess\">BucketMetadata.sharedAccess</a> property of a bucket.</p></li></ul> <p>Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.</p>"
        }
      ]
    }
  }
}