api-composer

A library to synthesize Amazon API Gateway and Amazon Lambda.

Usage no npm install needed!

<script type="module">
  import apiComposer from 'https://cdn.skypack.dev/api-composer';
</script>

README

api-composer

A library to synthesize Amazon API Gateway and Amazon Lambda.

Install

npm install api-composer

Usage

Composer#deploy creates resources on API Gateway from your swagger file.

import { Composer } from 'api-composer'

new Composer({
  accessKeyId: '...',
  region: '...',
  secretAcceessKey: '...',
  swaggerFilePath: '/path/to/swagger.yml'
}).deploy();