AgentCore CDK Project
This CDK project is managed by the AgentCore CLI. It deploys your agent infrastructure into AWS using the @aws/agentcore-cdk L3 constructs.
Structure
bin/cdk.ts— Entry point. Reads project configuration fromagentcore/and creates a stack per deployment target.lib/cdk-stack.ts— DefinesAgentCoreStack, which wraps theAgentCoreApplicationL3 construct.test/cdk.test.ts— Unit tests for stack synthesis.
Useful commands
npm run buildcompile TypeScript to JavaScriptnpm run testrun unit testsnpx cdk synthemit the synthesized CloudFormation templatenpx cdk deploydeploy this stack to your default AWS account/regionnpx cdk diffcompare deployed stack with current state
Usage
You typically don't need to interact with this directory directly. The AgentCore CLI handles synthesis and deployment:
agentcore deploy # synthesizes and deploys via CDK
agentcore status # checks deployment status