Registry / aws / aws-cdk-aws-bedrock-alpha

aws-cdk-aws-bedrock-alpha

JSON →
library2.260.0a0pypypiunverified

Alpha version of the AWS CDK construct library for Amazon Bedrock, enabling generative AI application deployment (foundation models, agents, knowledge bases). Current version 2.252.0a0, updated frequently with CDK releases, pre-GA so breaking changes are common.

pip install aws-cdk-aws-bedrock-alpha
INSTALL
IMPORT
SIG · AWS-CDK-AWS-BEDROC
A
aws-cdk-aws-bedrock-alpha
awspythonv2.260.0a0
Install
17.7s avg
Import
Disk
401MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.260.0a0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 363.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 17.7s · import 0.000s · 364MB
401MB installed
● package 401MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Bedrock
from aws_cdk.aws_bedrock_alpha import Bedrock
from aws_cdk.aws_bedrock_alpha import Bedrock

Minimal stack creating a Bedrock agent with a foundation model.

from aws_cdk import App, Stack from aws_cdk.aws_bedrock_alpha import FoundationModel, Bedrock app = App() stack = Stack(app, "BedrockStack") # Use a foundation model (requires Bedrock access in region) model = FoundationModel.from_foundation_model_id( stack, "Model", foundation_model_id="anthropic.claude-v2" ) # Create a Bedrock agent agent = Agent( stack, "MyAgent", foundation_model=model, instruction="You are a helpful assistant." ) app.synth()
Debug
Known issues
breakingAlpha module API is unstable — methods and properties may change without notice in new versions. Pin to a specific version in production.
fix
Use `aws-cdk-aws-bedrock-alpha==2.252.0a0` in requirements.txt.
affects: all alpha versions (2.x.a0)
deprecatedFromFoundationModelId may be deprecated in favor of new model selection patterns in future releases.
fix
Check CDK changelog for deprecation notices and migrate to suggested method.
affects: 2.240.0a0 - 2.252.0a0
gotchaYou must have Bedrock model access enabled in your AWS account for the chosen region. CDK deployment will succeed but runtime calls will fail.
fix
Request model access via AWS console or CLI before deploying.
affects: all
Upgrade
Version history
2.260.0a0latest on PyPI · released Jun 16, 2026
Audit
Dependencies
aws-cdk-librequiredRequired for CDK core constructs and infrastructure
constructsrequiredRequired for construct base class
Agent activity
36 hits · last 30 days
node
32
Amazon
1
OpenAI (training)
1
Resources
aws-cdk-aws-bedrock-alpha — pip install aws-cdk-aws-bedrock-alpha · libregistry