comprehend:StopTrainingDocumentClassifier

Write

comprehend:StopTrainingDocumentClassifier is a Write access-level action in the comprehend service. Grants permission to stop a previously created document classifier training job

Resource types

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

arn:${Partition}:comprehend:${Region}:${Account}:document-classifier/${DocumentClassifierName}
document-classifier

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by requiring tag value associated with the resource

Example IAM policy

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

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

Related actions in comprehend

View all comprehend actions →