AWS Fundamentals Logo
AWS Fundamentals
AWS::Rekognition::Collection

Rekognition Collection

The AWS::Rekognition::Collection type creates an Amazon Rekognition Collection. A collection is a logical grouping of information about detected faces which can later be referenced for searches on the group

Properties

2 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
CollectionId
string
RequiredCreate-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
Arnstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Rekognition::Collection

Resources:
  MyResource:
    Type: AWS::Rekognition::Collection
    Properties:
      CollectionId: "my-collectionid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

rekognition:CreateCollectionrekognition:DescribeCollectionrekognition:ListTagsForResourcerekognition:TagResource

read

rekognition:DescribeCollectionrekognition:ListTagsForResource

update

rekognition:TagResourcerekognition:UntagResourcerekognition:DescribeCollectionrekognition:ListTagsForResource

delete

rekognition:DeleteCollection

list

rekognition:ListCollections

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceRekognition
Properties3
Required1
TaggingSupported
Primary IDCollectionId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

CollectionId

Related Resources

External Links