textract:TagResource

Tagging

textract:TagResource is a Tagging access-level action in the textract service. Grants permission to add one or more tags to a resource

Resource types

ARNs that textract:TagResource can be scoped to in an IAM policy.

arn:${Partition}:textract:${Region}:${Account}:/adapters/${AdapterId}
adapter
arn:${Partition}:textract:${Region}:${Account}:/adapters/${AdapterId}/versions/${AdapterVersion}
adapterversion

Condition keys

Keys you can use in the Condition block of a policy that grants textract:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowTextractTagResource",
      "Effect": "Allow",
      "Action": "textract:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in textract

View all textract actions →