AWS managed policies for Amazon Comprehend - Amazon Comprehend

AWS managed policies for Amazon Comprehend

To add permissions to users, groups, and roles, it is easier to use AWS managed policies than to write policies yourself. It takes time and expertise to create IAM customer managed policies that provide your team with only the permissions they need. To get started quickly, you can use our AWS managed policies. These policies cover common use cases and are available in your AWS account. For more information about AWS managed policies, see AWS managed policies in the IAM User Guide.

AWS services maintain and update AWS managed policies. You can't change the permissions in AWS managed policies. Services occasionally add additional permissions to an AWS managed policy to support new features. This type of update affects all identities (users, groups, and roles) where the policy is attached. Services are most likely to update an AWS managed policy when a new feature is launched or when new operations become available. Services do not remove permissions from an AWS managed policy, so policy updates won't break your existing permissions.

Additionally, AWS supports managed policies for job functions that span multiple services. For example, the ReadOnlyAccess AWS managed policy provides read-only access to all AWS services and resources. When a service launches a new feature, AWS adds read-only permissions for new operations and resources. For a list and descriptions of job function policies, see AWS managed policies for job functions in the IAM User Guide.

AWS managed policy: ComprehendFullAccess

This policy grants full access to Amazon Comprehend resources including running topic modeling jobs. This policy also grants list and get permissions for Amazon S3 buckets and IAM roles.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "comprehend:*", "iam:GetRole", "iam:ListRoles", "s3:GetBucketLocation", "s3:ListAllMyBuckets", "s3:ListBucket", ], "Resource": "*" } ] }

AWS managed policy: ComprehendReadOnly

This policy grants read-only permissions to run all Amazon Comprehend actions except the following:

  • StartDominantLanguageDetectionJob

  • StartEntitiesDetectionJob

  • StartKeyPhrasesDetectionJob

  • StartSentimentDetectionJob

  • StartTargetedSentimentDetectionJob

  • StartTopicsDetectionJob

{ "Version": "2012-10-17", "Statement": [ { "Action": [ "comprehend:BatchDetectDominantLanguage", "comprehend:BatchDetectEntities", "comprehend:BatchDetectKeyPhrases", "comprehend:BatchDetectSentiment", "comprehend:BatchDetectSyntax", "comprehend:ClassifyDocument", "comprehend:ContainsPiiEntities", "comprehend:DescribeDocumentClassificationJob", "comprehend:DescribeDocumentClassifier", "comprehend:DescribeDominantLanguageDetectionJob", "comprehend:DescribeEndpoint", "comprehend:DescribeEntitiesDetectionJob", "comprehend:DescribeEntityRecognizer", "comprehend:DescribeKeyPhrasesDetectionJob", "comprehend:DescribePiiEntitiesDetectionJob", "comprehend:DescribeResourcePolicy", "comprehend:DescribeSentimentDetectionJob", "comprehend:DescribeTargetedSentimentDetectionJob", "comprehend:DescribeTopicsDetectionJob", "comprehend:DetectDominantLanguage", "comprehend:DetectEntities", "comprehend:DetectKeyPhrases", "comprehend:DetectPiiEntities", "comprehend:DetectSentiment", "comprehend:DetectSyntax", "comprehend:ListDocumentClassificationJobs", "comprehend:ListDocumentClassifiers", "comprehend:ListDocumentClassifierSummaries", "comprehend:ListDominantLanguageDetectionJobs", "comprehend:ListEndpoints", "comprehend:ListEntitiesDetectionJobs", "comprehend:ListEntityRecognizers", "comprehend:ListEntityRecognizerSummaries", "comprehend:ListKeyPhrasesDetectionJobs", "comprehend:ListPiiEntitiesDetectionJobs", "comprehend:ListSentimentDetectionJobs", "comprehend:ListTargetedSentimentDetectionJobs", "comprehend:ListTagsForResource", "comprehend:ListTopicsDetectionJobs" ], "Effect": "Allow", "Resource": "*" } ] }

Amazon Comprehend updates to AWS managed policies

View details about updates to AWS managed policies for Amazon Comprehend since this service began tracking these changes. For automatic alerts about changes to this page, subscribe to the RSS feed on the Amazon Comprehend Document history page.

Change Description Date

ComprehendReadOnly – Update to an existing policy

Amazon Comprehend now allows the comprehend:DescribeTargetedSentimentDetectionJob and comprehend:ListTargetedSentimentDetectionJobs actions in the ComprehendReadOnly policy

Mar 30, 2022

ComprehendReadOnly – Update to an existing policy

Amazon Comprehend now allows the comprehend:DescribeResourcePolicy action in the ComprehendReadOnly policy

Feb 2, 2022

ComprehendReadOnly – Update to an existing policy

Amazon Comprehend now allows the ListDocumentClassifierSummaries and ListEntityRecognizerSummaries actions in the ComprehendReadOnly policy

September 21, 2021

ComprehendReadOnly – Update to an existing policy

Amazon Comprehend now allows the ContainsPIIEntities action in the ComprehendReadOnly policy March 26, 2021

Amazon Comprehend started tracking changes

Amazon Comprehend started tracking changes for its AWS managed policies.

March 1, 2021