Skip to content

zerokarafont/aws-hono-stack

Repository files navigation

依赖

环境变量

  • 设置 aws 账户信息
    • 命令行运行 aws configure

本地开发

部署

  • 为了连接DocumentDB, 需要配置lambda的VPC
    • 增加超时时间和内存
  • [x](每次部署完需要手动将documentdb global-bundle.pem文件, 传到线上的lambda目录里)
    • 已解决, 请配置afterBundling
  • 如果s3 upload超时需要配置, vpc endpoint, 选择s3 Gateway
  • dynamodb生产环境需要配置 vpc endpoint

Welcome to your CDK TypeScript project

This is a blank project for CDK development with TypeScript.

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • npx cdk deploy deploy this stack to your default AWS account/region
  • npx cdk diff compare deployed stack with current state
  • npx cdk synth emits the synthesized CloudFormation template

About

aws cdk, lambda, honojs, documentdb, dynamodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published