Skip to content

Prerequisites

RequirementVersionPurpose
Node.js≥ 20CLI runtime
pnpm≥ 9Package manager (monorepo)
AWS CLIv2AWS authentication
DockerLatestLocal development only
Terminal window
aws configure

You’ll need an IAM user or role with permissions to create:

  • Lambda functions
  • API Gateway HTTP APIs
  • DynamoDB tables
  • Kinesis Data Streams
  • S3 buckets
  • AWS Glue PySpark jobs
  • CloudFormation stacks
  • Cognito user pools
  • CloudFront distributions

For production, use a dedicated IAM role with least-privilege permissions. For getting started, AdministratorAccess works.

AWS CDK requires a one-time bootstrap per account/region:

Terminal window
npx cdk bootstrap aws://ACCOUNT_ID/REGION

Replace ACCOUNT_ID with your 12-digit AWS account ID and REGION with your target region (e.g. us-east-1).

Terminal window
aws sts get-caller-identity

This should return your account ID and ARN, confirming credentials are configured correctly.