Skip to content

Instantly share code, notes, and snippets.

@srbry
Created October 2, 2018 08:36
Show Gist options
  • Save srbry/96b710dc8bc8454e4e6793e0324ceddf to your computer and use it in GitHub Desktop.
Save srbry/96b710dc8bc8454e4e6793e0324ceddf to your computer and use it in GitHub Desktop.
Serverless framework authorizer config
service: hello-world
provider:
name: aws
runtime: go1.x
region: eu-west-1
memorySize: 128
package:
exclude:
- ./**
include:
- ./bin/**
functions:
authorize:
handler: bin/auth
hello-world:
handler: bin/hello-world
events:
- http:
path: /
method: get
authorizer:
name: authorize
resultTtlInSeconds: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment