interface OpenSearchServerlessConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnKnowledgeBasePropsMixin_OpenSearchServerlessConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnKnowledgeBasePropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const openSearchServerlessConfigurationProperty: bedrock_mixins.CfnKnowledgeBasePropsMixin.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
(optional)
The Amazon Resource Name (ARN) of the OpenSearch Service vector store.
fieldMapping?
Type:
IResolvable | Open
(optional)
Contains the names of the fields to which to map information about the vector store.
vectorIndexName?
Type:
string
(optional)
The name of the vector store.

.NET
Go
Java
Python
TypeScript