# OpenSearchManagedClusterConfigurationProperty

Contains details about the Managed Cluster configuration of the knowledge base in Amazon OpenSearch Service.

For more information, see [Create a vector index in OpenSearch Managed Cluster](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup-osm.html) .

- Source: Generated code
- Type last changed: v2.190.0 · 17 Apr 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const openSearchManagedClusterConfigurationProperty: bedrock.CfnKnowledgeBase.OpenSearchManagedClusterConfigurationProperty = {
  domainArn: 'domainArn',
  domainEndpoint: 'domainEndpoint',
  fieldMapping: {
    metadataField: 'metadataField',
    textField: 'textField',
    vectorField: 'vectorField',
  },
  vectorIndexName: 'vectorIndexName',
};
```

## Properties

- `domainArn`: string (required) — The Amazon Resource Name (ARN) of the OpenSearch domain.

- `domainEndpoint`: string (required) — The endpoint URL the OpenSearch domain.

- `fieldMapping`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.OpenSearchManagedClusterFieldMappingProperty.html) (required) — Contains the names of the fields to which to map information about the vector store.

- `vectorIndexName`: string (required) — The name of the vector store.
