Amazon Bedrock Construct Library

January 22, 2026 ยท View on GitHub


Stability: Experimental

All classes are under active development and subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


LanguagePackage
Typescript Logo TypeScript@cdklabs/generative-ai-cdk-constructs
Python Logo Pythoncdklabs.generative_ai_cdk_constructs
Java Logo Javaio.github.cdklabs.generative_ai_cdk_constructs
.Net .NetCdkLabs.GenerativeAICdkConstructs
Go Gogithub.com/cdklabs/generative-ai-cdk-constructs-go/generativeaicdkconstructs

Warning

Important: Amazon Bedrock L2 constructs are transitioning to the AWS CDK core repository. You can now find these constructs at: https://github.com/aws/aws-cdk/tree/main/packages/%40aws-cdk/aws-bedrock-alpha. Please migrate to the alpha package, as Bedrock L2 constructs in this repository are now deprecated and will no longer receive updates.

Amazon Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies and Amazon through a single API, along with a broad set of capabilities you need to build generative AI applications with security, privacy, and responsible AI.

This construct library facilitates the deployment of Amazon Bedrock resources through a higher level, L2 set of constructs. It leverages underlying CloudFormation L1 resources to provision these Bedrock features.

Table of contents