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