comprehend:StartTargetedSentimentDetectionJob is a Write access-level action in the comprehend service. Grants permission to start an asynchronous targeted sentiment detection job for a collection of documents
ARNs that comprehend:StartTargetedSentimentDetectionJob can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants comprehend:StartTargetedSentimentDetectionJob.
Filters access by requiring tag values present in a resource creation request
Filters access by requiring the presence of mandatory tags in the request
Filters access by the output KMS key associated with the resource in the request
Filters access by the volume KMS key associated with the resource in the request
Filters access by the list of all VPC security group ids associated with the resource in the request
Filters access by the list of all VPC subnets associated with the resource in the request
Filters access by requiring tag value associated with the resource
A minimal policy that allows comprehend:StartTargetedSentimentDetectionJob. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowComprehendStartTargetedSentimentDetectionJob",
"Effect": "Allow",
"Action": "comprehend:StartTargetedSentimentDetectionJob",
"Resource": "*"
}
]
}