We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9c16e6 commit aa3ca73Copy full SHA for aa3ca73
1 file changed
src/cdk-lib/bedrock/knowledge-bases/vector-knowledge-base.ts
@@ -890,6 +890,7 @@ export class VectorKnowledgeBase extends VectorKnowledgeBaseBase {
890
// Grant the KB role read and write access to the vector index
891
vectorStore.vectorBucket.grantRead(this.role, [vectorStore.vectorIndexName]);
892
vectorStore.vectorBucket.grantWrite(this.role, [vectorStore.vectorIndexName]);
893
+ vectorStore.vectorBucket.grantDelete(this.role, [vectorStore.vectorIndexName]);
894
return {
895
vectorStore: vectorStore,
896
vectorStoreType: VectorStoreType.S3_VECTORS,
0 commit comments