1
0
mirror of synced 2026-05-22 14:43:35 +00:00
Files
Bharathi Srinivasan e746bf7764 Features folder revamp (#1540)
adding scripts for agentcore features; jupyter notebooks moved to workshops; reorganising folders
2026-05-20 18:35:16 -07:00
..

Python CDK Samples

Deploy Amazon Bedrock AgentCore resources using AWS CDK with Python.

Prerequisites

  • Python 3.8+
  • AWS CDK v2.218.0 or later (for BedrockAgentCore support)
  • AWS CLI configured
  • Access to Amazon Bedrock AgentCore
npm install -g aws-cdk

General Deployment Pattern

cd <sample-directory>
pip install -r requirements.txt
cdk deploy

Samples

Python CDK Advantages

  • Uses DockerImageAsset for container building (no CodeBuild needed)
  • Cleaner construct separation and reusability
  • Type hints with IDE support
  • Familiar syntax for Python developers
  • Faster deployment times