rekognition:DeleteCollection

Write

rekognition:DeleteCollection is a Write access-level action in the rekognition service. Grants permission to delete the specified collection

Resource types

ARNs that rekognition:DeleteCollection 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:DeleteCollection.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Example IAM policy

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

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

Related actions in rekognition

View all rekognition actions →