comprehend:StartTopicsDetectionJob

Write

comprehend:StartTopicsDetectionJob is a Write access-level action in the comprehend service. Grants permission to start an asynchronous job to detect the most common topics in the collection of documents and the phrases associated with each topic

Resource types

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

arn:${Partition}:comprehend:${Region}:${Account}:topics-detection-job/${JobId}
topics-detection-job

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by requiring tag value associated with the resource

Example IAM policy

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

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

Related actions in comprehend

View all comprehend actions →