Interface CfnKnowledgeBasePropsMixin.StorageConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.StorageConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
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.*;
StorageConfigurationProperty storageConfigurationProperty = StorageConfigurationProperty.builder()
.mongoDbAtlasConfiguration(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())
.neptuneAnalyticsConfiguration(NeptuneAnalyticsConfigurationProperty.builder()
.fieldMapping(NeptuneAnalyticsFieldMappingProperty.builder()
.metadataField("metadataField")
.textField("textField")
.build())
.graphArn("graphArn")
.build())
.opensearchManagedClusterConfiguration(OpenSearchManagedClusterConfigurationProperty.builder()
.domainArn("domainArn")
.domainEndpoint("domainEndpoint")
.fieldMapping(OpenSearchManagedClusterFieldMappingProperty.builder()
.metadataField("metadataField")
.textField("textField")
.vectorField("vectorField")
.build())
.vectorIndexName("vectorIndexName")
.build())
.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())
.namespace("namespace")
.build())
.rdsConfiguration(RdsConfigurationProperty.builder()
.credentialsSecretArn("credentialsSecretArn")
.databaseName("databaseName")
.fieldMapping(RdsFieldMappingProperty.builder()
.customMetadataField("customMetadataField")
.metadataField("metadataField")
.primaryKeyField("primaryKeyField")
.textField("textField")
.vectorField("vectorField")
.build())
.resourceArn("resourceArn")
.tableName("tableName")
.build())
.s3VectorsConfiguration(S3VectorsConfigurationProperty.builder()
.indexArn("indexArn")
.indexName("indexName")
.vectorBucketArn("vectorBucketArn")
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKnowledgeBasePropsMixin.StorageConfigurationPropertystatic final classAn implementation forCfnKnowledgeBasePropsMixin.StorageConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains the storage configuration of the knowledge base in MongoDB Atlas.default ObjectContains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune.default ObjectContains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster.default ObjectContains the storage configuration of the knowledge base in Amazon OpenSearch Service.default ObjectContains the storage configuration of the knowledge base in Pinecone.default ObjectContains details about the storage configuration of the knowledge base in Amazon RDS.default ObjectThe configuration settings for storing knowledge base data using S3 vectors.default StringgetType()The vector store service in which the knowledge base is stored.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMongoDbAtlasConfiguration
Contains the storage configuration of the knowledge base in MongoDB Atlas.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.MongoDbAtlasConfigurationProperty- See Also:
-
getNeptuneAnalyticsConfiguration
Contains details about the Neptune Analytics configuration of the knowledge base in Amazon Neptune.For more information, see Create a vector index in Amazon Neptune Analytics. .
Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.NeptuneAnalyticsConfigurationProperty- See Also:
-
getOpensearchManagedClusterConfiguration
Contains details about the storage configuration of the knowledge base in OpenSearch Managed Cluster.For more information, see Create a vector index in Amazon OpenSearch Service .
Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.OpenSearchManagedClusterConfigurationProperty- See Also:
-
getOpensearchServerlessConfiguration
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.OpenSearchServerlessConfigurationProperty- See Also:
-
getPineconeConfiguration
Contains the storage configuration of the knowledge base in Pinecone.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.PineconeConfigurationProperty- See Also:
-
getRdsConfiguration
Contains details about the storage configuration of the knowledge base in Amazon RDS.For more information, see Create a vector index in Amazon RDS .
Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.RdsConfigurationProperty- See Also:
-
getS3VectorsConfiguration
The configuration settings for storing knowledge base data using S3 vectors.This includes vector index information and S3 bucket details for vector storage.
Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty- See Also:
-
getType
The vector store service in which the knowledge base is stored.- See Also:
-
builder
-