textract:DetectDocumentText is a Read access-level action in the textract service. Grants permission to detect text in document images
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
To use textract:DetectDocumentText you may also need to grant:
A minimal policy that allows textract:DetectDocumentText. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowTextractDetectDocumentText",
"Effect": "Allow",
"Action": "textract:DetectDocumentText",
"Resource": "*"
}
]
}