# CfnCollectionIndexProps

Properties for defining a `CfnCollectionIndex`.

Extends: CfnCollectionIndexProps
Used as props by: CfnCollectionIndex

- Source: Generated code
- Type last changed: v2.258.0 · 4 Jun 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const cfnCollectionIndexProps: opensearchserverless.CfnCollectionIndexProps = {
  id: 'id',
  indexName: 'indexName',

  // the properties below are optional
  indexSchema: 'indexSchema',
};
```

## Properties

- `id`: string (required) — The identifier of the collection.

- `indexName`: string (required) — The name of the collection index.

- `indexSchema`: string — The Mappings for the collection index.
