Skip to content

Instantly share code, notes, and snippets.

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