comprehend:DetectEntities

Read

comprehend:DetectEntities is a Read access-level action in the comprehend service. Grants permission to detect the named entities ("People", "Places", "Locations", etc) within the given text document

Resource types

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

arn:${Partition}:comprehend:${Region}:${Account}:entity-recognizer-endpoint/${EntityRecognizerEndpointName}
entity-recognizer-endpoint

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by requiring tag value associated with the resource

Example IAM policy

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

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

Related actions in comprehend

View all comprehend actions →