Open
Description
Describe the bug
KnowledgeBaseConfigurationProperty is missing the sqlKnowledgeBaseConfiguration
property which is currently supported by CloudFormation AWS::Bedrock::KnowledgeBase KnowledgeBaseConfiguration
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
sqlKnowledgeBaseConfiguration
should not be missing in L1 construct.
Current Behavior
CDK gives the following error:
Object literal may only specify known properties, and 'sqlKnowledgeBaseConfiguration' does not exist in type 'IResolvable | KnowledgeBaseConfigurationProperty'.
Reproduction Steps
Here's a sample code to replicate the error:
new bedrock.CfnKnowledgeBase(this, 'knowledgebase', {
knowledgeBaseConfiguration: {
type: 'type',
vectorKnowledgeBaseConfiguration: {
embeddingModelArn: 'embeddingModelArn'
},
kendraKnowledgeBaseConfiguration: {
kendraIndexArn: 'kendraIndexArn'
}
sqlKnowledgeBaseConfiguration:{
type: 'REDSHIFT'
}
},
roleArn: 'roleName',
name: 'Name'
})
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.176.0
Framework Version
No response
Node.js Version
v18.20.5
OS
Linux
Language
TypeScript
Language Version
5.3.3
Other information
No response