serverless/lib/templates/serverless.yaml
Eslam A. Hefnawy 404d0fa76f updated comment
2016-06-24 15:42:52 +02:00

44 lines
955 B
YAML

# Welcome to Serverless!
#
# 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:
# v1.docs.serverless.com
#
# Happy Coding!
service: myService
provider: aws
# you can overwrite defaults here
#defaults:
# stage: dev
# region: us-east-1
functions:
hello:
handler: handler.hello
# you can add any of the following events
# events:
# - http:
# path: users/create
# method: get
# - s3: ${bucket}
# - schedule: rate(10 minutes)
# you can add CF resource templates here
#resources:
# Resources:
# newResource:
# Type: AWS::S3::Bucket
# Properties:
# BucketName: newBucket