Created
April 20, 2017 08:29
-
-
Save arol/4b7d1f7248439fcdba959a4a46fe123e to your computer and use it in GitHub Desktop.
Serverless yaml configuration file example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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