Interface CfnKnowledgeBasePropsMixin.RdsConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.RdsConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.RdsConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the storage configuration of the knowledge base in Amazon RDS.
For more information, see Create a vector index in Amazon RDS .
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.*;
RdsConfigurationProperty rdsConfigurationProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKnowledgeBasePropsMixin.RdsConfigurationPropertystatic final classAn implementation forCfnKnowledgeBasePropsMixin.RdsConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is linked to your Amazon RDS database.default StringThe name of your Amazon RDS database.default ObjectContains the names of the fields to which to map information about the vector store.default StringThe Amazon Resource Name (ARN) of the vector store.default StringThe name of the table in the database.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentialsSecretArn
The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is linked to your Amazon RDS database.- See Also:
-
getDatabaseName
The name of your Amazon RDS database.- See Also:
-
getFieldMapping
Contains the names of the fields to which to map information about the vector store.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.RdsFieldMappingProperty- See Also:
-
getResourceArn
The Amazon Resource Name (ARN) of the vector store.- See Also:
-
getTableName
The name of the table in the database.- See Also:
-
builder
-