comprehend:StartDocumentClassificationJob

Write

comprehend:StartDocumentClassificationJob is a Write access-level action in the comprehend service. Grants permission to start an asynchronous document classification job

Resource types

ARNs that comprehend:StartDocumentClassificationJob can be scoped to in an IAM policy.

arn:${Partition}:comprehend:${Region}:${Account}:document-classification-job/${JobId}
document-classification-job
arn:${Partition}:comprehend:${Region}:${Account}:document-classifier/${DocumentClassifierName}
document-classifier
arn:${Partition}:comprehend:${Region}:${Account}:flywheel/${FlywheelName}
flywheel

Condition keys

Keys you can use in the Condition block of a policy that grants comprehend:StartDocumentClassificationJob.

aws:ResourceTag/${TagKey} String

Filters access by requiring tag value associated with the resource

Example IAM policy

A minimal policy that allows comprehend:StartDocumentClassificationJob. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowComprehendStartDocumentClassificationJob",
      "Effect": "Allow",
      "Action": "comprehend:StartDocumentClassificationJob",
      "Resource": "*"
    }
  ]
}

Related actions in comprehend

View all comprehend actions →