AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Rekognition::Collection

CfnCollection

The `AWS::Rekognition::Collection` type creates a server-side container called a collection. You can use a collection to store information about detected faces and search for known faces in images, stored videos, and streaming videos.

Import

import { CfnCollection } from 'aws-cdk-lib/aws-rekognition';

Or use the module namespace:

import * as rekognition from 'aws-cdk-lib/aws-rekognition';
// rekognition.CfnCollection

Properties

Configuration passed to the constructor as CfnCollectionProps.

collectionIdRequired
string

ID for the collection that you are creating.

tagsOptional
CfnTag[]

A set of tags (key-value pairs) that you want to attach to the collection.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter