Interface CfnKnowledgeBase.StorageConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnKnowledgeBase.StorageConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnKnowledgeBase

@Stability(Stable) public static interface CfnKnowledgeBase.StorageConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*;
 StorageConfigurationProperty storageConfigurationProperty = StorageConfigurationProperty.builder()
         .type("type")
         // the properties below are optional
         .opensearchServerlessConfiguration(OpenSearchServerlessConfigurationProperty.builder()
                 .collectionArn("collectionArn")
                 .fieldMapping(OpenSearchServerlessFieldMappingProperty.builder()
                         .metadataField("metadataField")
                         .textField("textField")
                         .vectorField("vectorField")
                         .build())
                 .vectorIndexName("vectorIndexName")
                 .build())
         .pineconeConfiguration(PineconeConfigurationProperty.builder()
                 .connectionString("connectionString")
                 .credentialsSecretArn("credentialsSecretArn")
                 .fieldMapping(PineconeFieldMappingProperty.builder()
                         .metadataField("metadataField")
                         .textField("textField")
                         .build())
                 // the properties below are optional
                 .namespace("namespace")
                 .build())
         .rdsConfiguration(RdsConfigurationProperty.builder()
                 .credentialsSecretArn("credentialsSecretArn")
                 .databaseName("databaseName")
                 .fieldMapping(RdsFieldMappingProperty.builder()
                         .metadataField("metadataField")
                         .primaryKeyField("primaryKeyField")
                         .textField("textField")
                         .vectorField("vectorField")
                         .build())
                 .resourceArn("resourceArn")
                 .tableName("tableName")
                 .build())
         .build();
 

See Also: