interface OpenSearchServerlessConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnKnowledgeBasePropsMixin_OpenSearchServerlessConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » 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 { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const openSearchServerlessConfigurationProperty: bedrock.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