Files
agent-claw/agentclaw/agentcore/cdk/README.md
2026-05-06 18:55:16 -05:00

1006 B

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 from agentcore/ and creates a stack per deployment target.
  • lib/cdk-stack.ts — Defines AgentCoreStack, which wraps the AgentCoreApplication L3 construct.
  • test/cdk.test.ts — Unit tests for stack synthesis.

Useful commands

  • npm run build compile TypeScript to JavaScript
  • npm run test run unit tests
  • npx cdk synth emit the synthesized CloudFormation template
  • npx cdk deploy deploy this stack to your default AWS account/region
  • npx cdk diff compare 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