Skip to content

Instantly share code, notes, and snippets.

@arol
Created April 20, 2017 08:29
Show Gist options
  • Save arol/4b7d1f7248439fcdba959a4a46fe123e to your computer and use it in GitHub Desktop.
Save arol/4b7d1f7248439fcdba959a4a46fe123e to your computer and use it in GitHub Desktop.
Serverless yaml configuration file example
#
# This file is the main config file for your service.
# It's very minimal at this point and uses default values.
# You can always add more config options for more control.
# We've included some commented out config examples here.
# Just uncomment any of them to get that config option.
#
# For full config options, check the docs:
# docs.serverless.com
#
# Happy Coding!
service: my-serverless-application
provider:
name: aws
runtime: nodejs6.10
functions:
hello:
handler: handler.hello
events:
- http:
path: users/create
method: get
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment