# IndexReference

A reference to a Index resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## 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 interfaces_opensearchserverless } from 'aws-cdk-lib/interfaces';
const indexReference: interfaces_opensearchserverless.IndexReference = {
  collectionEndpoint: 'collectionEndpoint',
  indexName: 'indexName',
};
```

## Properties

- `collectionEndpoint`: string (required) — The CollectionEndpoint of the Index resource.

- `indexName`: string (required) — The IndexName of the Index resource.
