Specifies a property-based condition that determines whether an S3 bucket is included or excluded from a classification job.
Type: objectProperties: 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.
{
"$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>"
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.