Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created January 12, 2021 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/57c1615dd6143d581de3569fb6bf820f to your computer and use it in GitHub Desktop.
Save velotiotech/57c1615dd6143d581de3569fb6bf820f to your computer and use it in GitHub Desktop.
service: serverless-s3
frameworkVersion: '2'
# The `provider` block defines where your service will be deployed
provider:
name: aws
runtime: nodejs12.x
functions:
helloWorld:
handler: handler.hello-world
events:
- http:
path: helloWorld
method: get
cors: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment