@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / CommonKnowledgeBaseAttributes
Common properties for importing a knowledge base (of any type) created outside of this stack.
readonly
optional
description:string
The description of the knowledge base.
- No description provided.
readonly
executionRoleArn:string
The Service Execution Role associated with the knowledge base.
"arn:aws:iam::123456789012:role/AmazonBedrockExecutionRoleForKnowledgeBaseawscdkbdgeBaseKB12345678"
readonly
optional
instruction:string
Instructions for agents based on the design and type of information of the Knowledge Base. This will impact how Agents interact with the Knowledge Base.
- No description provided.
readonly
knowledgeBaseId:string
The ID of the knowledge base.
"KB12345678"
readonly
optional
knowledgeBaseState:string
Specifies whether to use the knowledge base or not when sending an InvokeAgent request.
- ENABLED