@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / amazonaurora / ExistingAmazonAuroraVectorStore
BaseAmazonAuroraVectorStorenew ExistingAmazonAuroraVectorStore(
scope,id,props):ExistingAmazonAuroraVectorStore
Construct
string
ExistingAmazonAuroraVectorStoreProps
ExistingAmazonAuroraVectorStore
BaseAmazonAuroraVectorStore.constructor
readonlycredentialsSecretArn:string
The Secret ARN of your Amazon Aurora DB cluster.
readonlydatabaseName:string
The name of the database for the Aurora Vector Store.
BaseAmazonAuroraVectorStore.databaseName
readonlyembeddingsModelVectorDimension:number
The embeddings model dimension used for the Aurora Vector Store. The vector dimensions of the model must match the dimensions used in the KnowledgeBase construct.
BaseAmazonAuroraVectorStore.embeddingsModelVectorDimension
readonlymetadataField:string
The field name for the metadata column in the Aurora Vector Store.
BaseAmazonAuroraVectorStore.metadataField
readonlynode:Node
The tree node.
BaseAmazonAuroraVectorStore.node
readonlyprimaryKeyField:string
The primary key field for the Aurora Vector Store table.
BaseAmazonAuroraVectorStore.primaryKeyField
readonlyresourceArn:string
The ARN of your Amazon Aurora DB cluster.
readonlyschemaName:string
The schema name for the Aurora Vector Store.
BaseAmazonAuroraVectorStore.schemaName
readonlytableName:string
The name of the table for the Aurora Vector Store.
BaseAmazonAuroraVectorStore.tableName
readonlytextField:string
The field name for the text column in the Aurora Vector Store.
BaseAmazonAuroraVectorStore.textField
readonlyvectorField:string
The field name for the vector column in the Aurora Vector Store.
BaseAmazonAuroraVectorStore.vectorField
readonlyvpc:IVpc
The VPC of your Amazon Aurora DB cluster.
protectedaddIngressRuleToAuroraSecurityGroup(lambdaSecurityGroup,auroraSecurityGroup):void
ISecurityGroup
ISecurityGroup
void
BaseAmazonAuroraVectorStore.addIngressRuleToAuroraSecurityGroup
protectedcreateAuroraPgCRPolicy(clusterIdentifier):ManagedPolicy
string
ManagedPolicy
BaseAmazonAuroraVectorStore.createAuroraPgCRPolicy
protectedcreateLambdaSecurityGroup(vpc):SecurityGroup
IVpc
SecurityGroup
BaseAmazonAuroraVectorStore.createLambdaSecurityGroup
protectedgenerateResourceArn(clusterIdentifier):string
string
string
BaseAmazonAuroraVectorStore.generateResourceArn
protectedsetupCustomResource(databaseClusterResources,lambdaSecurityGroup,auroraPgCRPolicy):CustomResource
SecurityGroup
ManagedPolicy
CustomResource
BaseAmazonAuroraVectorStore.setupCustomResource
protectedsetupDatabaseClusterResources(vpc,secret,clusterIdentifier,auroraSecurityGroup):DatabaseClusterResources
IVpc
ISecret
string
ISecurityGroup
BaseAmazonAuroraVectorStore.setupDatabaseClusterResources
toString():
string
Returns a string representation of this construct.
string
BaseAmazonAuroraVectorStore.toString
staticisConstruct(x):x is Construct
Checks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
any
Any object
x is Construct
true if x is an object created from a class which extends Construct.
BaseAmazonAuroraVectorStore.isConstruct