cdk-lambda-api
v1.0.1
Published
## Install
Downloads
11
Readme
This is simple library for Lambda integration on AWS CDK
This 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 LambdaApi(this, 'LambdaApi', { lambdaPath: 'lambda' })
// If you use environment variable, `environment` props is encvironment variables
new LambdaApi(this, 'LambdaApi', { lambdaPath: 'lambda', environment: { key: value } })