Interface CfnKnowledgeBasePropsMixin.MongoDbAtlasConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.MongoDbAtlasConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.MongoDbAtlasConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the storage configuration of the knowledge base in MongoDB Atlas.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
MongoDbAtlasConfigurationProperty mongoDbAtlasConfigurationProperty = MongoDbAtlasConfigurationProperty.builder()
.collectionName("collectionName")
.credentialsSecretArn("credentialsSecretArn")
.databaseName("databaseName")
.endpoint("endpoint")
.endpointServiceName("endpointServiceName")
.fieldMapping(MongoDbAtlasFieldMappingProperty.builder()
.metadataField("metadataField")
.textField("textField")
.vectorField("vectorField")
.build())
.textIndexName("textIndexName")
.vectorIndexName("vectorIndexName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.MongoDbAtlasConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe collection name of the knowledge base in MongoDB Atlas.default StringThe Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that contains user credentials for your MongoDB Atlas cluster.default StringThe database name in your MongoDB Atlas cluster for your knowledge base.default StringThe endpoint URL of your MongoDB Atlas cluster for your knowledge base.default StringThe name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.default ObjectContains the names of the fields to which to map information about the vector store.default StringThe name of the text search index in the MongoDB collection.default StringThe name of the MongoDB Atlas vector search index.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCollectionName
The collection name of the knowledge base in MongoDB Atlas.- See Also:
-
getCredentialsSecretArn
The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that contains user credentials for your MongoDB Atlas cluster.- See Also:
-
getDatabaseName
The database name in your MongoDB Atlas cluster for your knowledge base.- See Also:
-
getEndpoint
The endpoint URL of your MongoDB Atlas cluster for your knowledge base.- See Also:
-
getEndpointServiceName
The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.- See Also:
-
getFieldMapping
Contains the names of the fields to which to map information about the vector store.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty- See Also:
-
getTextIndexName
The name of the text search index in the MongoDB collection.This is required for using the hybrid search feature.
- See Also:
-
getVectorIndexName
The name of the MongoDB Atlas vector search index.- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.MongoDbAtlasConfigurationProperty.Builder builder()
-