Skip to content

Instantly share code, notes, and snippets.

@alexdebrie
Last active January 9, 2019 15:08
Show Gist options
  • Save alexdebrie/2a468c83a527ac452cf7765c7bb8e5cd to your computer and use it in GitHub Desktop.
Save alexdebrie/2a468c83a527ac452cf7765c7bb8e5cd to your computer and use it in GitHub Desktop.
functions:
hello:
handler: handler.hello
events:
- http:
path: hello
method: get
cors:
origin: 'api.myorigin.com'
headers:
- Content-Type
- X-Amz-Date
- Authorization
- X-Api-Key
- X-Amz-Security-Token
- X-Amz-User-Agent
allowCredentials: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment