comprehend:ClassifyDocument is a Read access-level action in the comprehend service. Grants permission to create a new document classification request to analyze a single document in real-time, using a previously created and trained custom model and an endpoint
ARNs that comprehend:ClassifyDocument can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants comprehend:ClassifyDocument.
Filters access by requiring tag value associated with the resource
A minimal policy that allows comprehend:ClassifyDocument. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowComprehendClassifyDocument",
"Effect": "Allow",
"Action": "comprehend:ClassifyDocument",
"Resource": "*"
}
]
}