Skip to content
v2.275.0

CfnCollectionProps Struct ​

Properties for defining a CfnCollection.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rekognition as rekognition } from 'aws-cdk-lib';
const cfnCollectionProps: rekognition.CfnCollectionProps = {
  collectionId: 'collectionId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

collectionIdstringcollection_idstrcollectionIdStringCollectionIdstringCollectionId*stringrequired#
ID for the collection that you are creating.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A set of tags (key-value pairs) that you want to attach to the collection.