This is a Lambda Function CDK template for Node.js using Typescript. This is useful when you want to quickly deploy a Node.js Lambda function using cdk.
git clone https://github.com/msysh/cdk-template-lambda-nodejs.git
If necessary, please change the name of the cloned directory as you like.
pnpm install # or npm install
The Lambda handler file is in assets/function/handler.ts.
Please edit the function as you like.
If you want to specify a deployed stack name. Please edit the stack name in bin/cdk-lambda-nodejs.ts .
new Stack(app, 'LambdaNodejsStack-Template', {});
cdk deploy
cdk destroy
Apache 2.0