aws-cdk-lib.aws_rekognition.CfnCollectionProps

interface CfnCollectionProps

LanguageType name
.NETAmazon.CDK.AWS.Rekognition.CfnCollectionProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrekognition#CfnCollectionProps
Javasoftware.amazon.awscdk.services.rekognition.CfnCollectionProps
Pythonaws_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

NameTypeDescription
collectionIdstringID for the collection that you are creating.
tags?CfnTag[]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: CfnTag[] (optional)

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