# CfnCollectionProps

Properties for defining a `CfnCollection`.

Extends: CfnCollectionProps
Used as props by: CfnCollection

- Source: Generated code
- Type last changed: v2.11.0 · 8 Feb 2022

## 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

- `collectionId`: string (required) — ID for the collection that you are creating.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A set of tags (key-value pairs) that you want to attach to the collection.
