Prerequisites
System requirements
Section titled “System requirements”| Requirement | Version | Purpose |
|---|---|---|
| Node.js | ≥ 20 | CLI runtime |
| pnpm | ≥ 9 | Package manager (monorepo) |
| AWS CLI | v2 | AWS authentication |
| Docker | Latest | Local development only |
AWS setup
Section titled “AWS setup”1. Configure AWS credentials
Section titled “1. Configure AWS credentials”aws configureYou’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.
2. Bootstrap CDK
Section titled “2. Bootstrap CDK”AWS CDK requires a one-time bootstrap per account/region:
npx cdk bootstrap aws://ACCOUNT_ID/REGIONReplace ACCOUNT_ID with your 12-digit AWS account ID and REGION with your target region (e.g. us-east-1).
3. Verify
Section titled “3. Verify”aws sts get-caller-identityThis should return your account ID and ARN, confirming credentials are configured correctly.