Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created January 12, 2021 10:27
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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