interface StorageConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnKnowledgeBase.StorageConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnKnowledgeBase_StorageConfigurationProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.StorageConfigurationProperty |
![]() | aws_cdk.aws_bedrock.CfnKnowledgeBase.StorageConfigurationProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnKnowledgeBase » StorageConfigurationProperty |
Contains the storage configuration of the knowledge base.
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 storageConfigurationProperty: bedrock.CfnKnowledgeBase.StorageConfigurationProperty = {
type: 'type',
// the properties below are optional
opensearchServerlessConfiguration: {
collectionArn: 'collectionArn',
fieldMapping: {
metadataField: 'metadataField',
textField: 'textField',
vectorField: 'vectorField',
},
vectorIndexName: 'vectorIndexName',
},
pineconeConfiguration: {
connectionString: 'connectionString',
credentialsSecretArn: 'credentialsSecretArn',
fieldMapping: {
metadataField: 'metadataField',
textField: 'textField',
},
// the properties below are optional
namespace: 'namespace',
},
rdsConfiguration: {
credentialsSecretArn: 'credentialsSecretArn',
databaseName: 'databaseName',
fieldMapping: {
metadataField: 'metadataField',
primaryKeyField: 'primaryKeyField',
textField: 'textField',
vectorField: 'vectorField',
},
resourceArn: 'resourceArn',
tableName: 'tableName',
},
};
Properties
Name | Type | Description |
---|---|---|
type | string | The vector store service in which the knowledge base is stored. |
opensearch | IResolvable | Open | Contains the storage configuration of the knowledge base in Amazon OpenSearch Service. |
pinecone | IResolvable | Pinecone | Contains the storage configuration of the knowledge base in Pinecone. |
rds | IResolvable | Rds | Contains details about the storage configuration of the knowledge base in Amazon RDS. |
type
Type:
string
The vector store service in which the knowledge base is stored.
opensearchServerlessConfiguration?
Type:
IResolvable
|
Open
(optional)
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
pineconeConfiguration?
Type:
IResolvable
|
Pinecone
(optional)
Contains the storage configuration of the knowledge base in Pinecone.
rdsConfiguration?
Type:
IResolvable
|
Rds
(optional)
Contains details about the storage configuration of the knowledge base in Amazon RDS.
For more information, see Create a vector index in Amazon RDS .