rekognition:SearchUsersByImage

Read

rekognition:SearchUsersByImage is a Read access-level action in the rekognition service. Grants permission to search the specificed collection for user match result by using the largest face in the input image

Resource types

ARNs that rekognition:SearchUsersByImage can be scoped to in an IAM policy.

arn:${Partition}:rekognition:${Region}:${Account}:collection/${CollectionId}
collection

Condition keys

Keys you can use in the Condition block of a policy that grants rekognition:SearchUsersByImage.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRekognitionSearchUsersByImage",
      "Effect": "Allow",
      "Action": "rekognition:SearchUsersByImage",
      "Resource": "*"
    }
  ]
}

Related actions in rekognition

View all rekognition actions →