Created
March 16, 2019 10:36
-
-
Save karenirenecano/c7bc27ffad1994509f7f3bbea180c7b5 to your computer and use it in GitHub Desktop.
serverless.yml
This file contains 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
service: serviceName | |
provider: | |
name: aws | |
runtime: nodejs6.10 | |
package: | |
exclude: | |
- '*' | |
- '**' | |
include: | |
- bref.php | |
- 'config/*' | |
- 'src/**' | |
- 'vendor/**' | |
- 'Model/*' | |
- 'Service/**' | |
- 'public/*' | |
- 'public/inc/**' | |
functions: | |
# By default we create one "main" function | |
main: | |
handler: handler.handle | |
timeout: 20 # Timeout in seconds, the default is 6 seconds | |
reservedConcurrency: 20 # Maximum concurrency (parallel executions), the default is 1000 | |
# The function will match all HTTP URLs | |
events: | |
- http: 'ANY /' | |
- http: 'ANY {proxy+}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment