Skip to content

Instantly share code, notes, and snippets.

@saigowthamr
Created June 7, 2018 03:58
Show Gist options
  • Select an option

  • Save saigowthamr/e8cc131c8682862136e6cc88db2f831e to your computer and use it in GitHub Desktop.

Select an option

Save saigowthamr/e8cc131c8682862136e6cc88db2f831e to your computer and use it in GitHub Desktop.
service: rest-api # NOTE: update this with your service name
provider:
name: aws
runtime: nodejs8.10
functions:
app:
handler: app.handler
# The `events` block defines how to trigger the http events
events:
- http: ANY /
- http: 'ANY {proxy+}'
plugins:
- serverless-offline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment