interface CfnCollectionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Rekognition.CfnCollectionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrekognition#CfnCollectionProps |
Java | software.amazon.awscdk.services.rekognition.CfnCollectionProps |
Python | aws_cdk.aws_rekognition.CfnCollectionProps |
TypeScript | aws-cdk-lib » aws_rekognition » CfnCollectionProps |
Properties for defining a CfnCollection.
Example
// 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
| Name | Type | Description |
|---|---|---|
| collection | string | ID for the collection that you are creating. |
| tags? | Cfn[] | A set of tags (key-value pairs) that you want to attach to the collection. |
collectionId
Type:
string
ID for the collection that you are creating.
tags?
Type:
Cfn[]
(optional)
A set of tags (key-value pairs) that you want to attach to the collection.

.NET
Go
Java
Python
TypeScript