comprehend:CreateDocumentClassifier is a Write access-level action in the comprehend service. Grants permission to create a new document classifier that you can use to categorize documents
ARNs that comprehend:CreateDocumentClassifier can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants comprehend:CreateDocumentClassifier.
Filters access by requiring tag value associated with the resource
A minimal policy that allows comprehend:CreateDocumentClassifier. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowComprehendCreateDocumentClassifier",
"Effect": "Allow",
"Action": "comprehend:CreateDocumentClassifier",
"Resource": "*"
}
]
}