AWS CDK
This is simple library for Lambda integration onThis cdk library include two resouces
Install
- Using npm
npm i -s cdk-lambda-api
- Using yarn
yarn add cdk-lambda-api
Usage
Following is simple usage of library. The lambda file name must be index.ts
// specify directory path on `lambdaPath`new LambdaApithis, 'LambdaApi', // If you use environment variable, `environment` props is encvironment variablesnew LambdaApithis, 'LambdaApi',