-
Notifications
You must be signed in to change notification settings - Fork 5.7k
/
serverless.yml
50 lines (47 loc) · 1.12 KB
/
serverless.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
runtime: nodejs16.x
lambdaHashingVersion: 20201221
functions:
callback:
handler: callback.handler
async:
handler: async.handler
contextDone:
handler: context-done.handler
contextSucceed:
handler: context-succeed.handler
initFail:
handler: init-fail.handler
invocationFail:
handler: invocation-fail.handler
doubledResolutionCallbackFirst:
handler: doubled-resolution-callback-first.handler
doubledResolutionPromiseFirst:
handler: doubled-resolution-promise-first.handler
remainingTime:
handler: remaining-time.handler
timeout: 3
python:
runtime: python3.8
handler: handler.handler
pythonRemainingTime:
runtime: python3.8
handler: remaining_time.handler
timeout: 3
ruby:
runtime: ruby2.7
handler: handler.handler
rubyRemainingTime:
runtime: ruby2.7
handler: remaining_time.handler
timeout: 3
rubyDeadline:
runtime: ruby2.7
handler: deadline_ms.handler
rubyClass:
runtime: ruby2.7
handler: class.MyModule::MyClass.my_class_method