Skip to content

Bedrock Agent  >  Structures  >  MongoDbAtlasConfiguration

MongoDbAtlasConfiguration

Structure Class

MongoDbAtlasConfiguration dataclass

Contains details about the storage configuration of the knowledge base in MongoDB Atlas.

Attributes

collection_name instance-attribute
collection_name: str

The collection name of the knowledge base in MongoDB Atlas.

credentials_secret_arn instance-attribute
credentials_secret_arn: str

The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.

database_name instance-attribute
database_name: str

The database name in your MongoDB Atlas cluster for your knowledge base.

endpoint instance-attribute
endpoint: str

The endpoint URL of your MongoDB Atlas cluster for your knowledge base.

endpoint_service_name class-attribute instance-attribute
endpoint_service_name: str | None = None

The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.

field_mapping instance-attribute
field_mapping: MongoDbAtlasFieldMapping

Contains the names of the fields to which to map information about the vector store.

text_index_name class-attribute instance-attribute
text_index_name: str | None = None

The name of the text search index in the MongoDB collection. This is required for using the hybrid search feature.

vector_index_name instance-attribute
vector_index_name: str

The name of the MongoDB Atlas vector search index.