0.0.1 • Published 9 years ago

api-composer v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

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();