Skip to content

Instantly share code, notes, and snippets.

@theburningmonk
Last active August 3, 2019 21:39
Show Gist options
  • Save theburningmonk/85921b937aa80a90de632c86ac67cb22 to your computer and use it in GitHub Desktop.
Save theburningmonk/85921b937aa80a90de632c86ac67cb22 to your computer and use it in GitHub Desktop.
service: anchor-example
defaultHttp: &defaultHttp
path: /
method: get
provider:
name: aws
runtime: nodejs8.10
functions:
index:
handler: index.handler
events:
- http:
<<: *defaultHttp
- http:
<<: *defaultHttp
method: post
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment