interface OpenSearchServerlessConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnKnowledgeBase_OpenSearchServerlessConfigurationProperty |
Java | software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty |
Python | aws_cdk.aws_bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnKnowledgeBase » OpenSearchServerlessConfigurationProperty |
Contains details about the storage configuration of the knowledge base in Amazon OpenSearch Service.
For more information, see Create a vector index in Amazon OpenSearch Service .
Example
// 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 openSearchServerlessConfigurationProperty: bedrock.CfnKnowledgeBase.OpenSearchServerlessConfigurationProperty = {
collectionArn: 'collectionArn',
fieldMapping: {
metadataField: 'metadataField',
textField: 'textField',
vectorField: 'vectorField',
},
vectorIndexName: 'vectorIndexName',
};
Properties
| Name | Type | Description |
|---|---|---|
| collection | string | The Amazon Resource Name (ARN) of the OpenSearch Service vector store. |
| field | IResolvable | Open | Contains the names of the fields to which to map information about the vector store. |
| vector | string | The name of the vector store. |
collectionArn
Type:
string
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
fieldMapping
Type:
IResolvable | Open
Contains the names of the fields to which to map information about the vector store.
vectorIndexName
Type:
string
The name of the vector store.

.NET
Go
Java
Python
TypeScript