cdk-lambda-api
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

This is simple library for Lambda integration on AWS CDK

GitHub Actions status npm version

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 } })

/cdk-lambda-api/

    Package Sidebar

    Install

    npm i cdk-lambda-api

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • ufoo68