-
Notifications
You must be signed in to change notification settings - Fork 3
/
serverless.yml
94 lines (83 loc) · 1.93 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
service: elm-serverless-demo
provider:
name: aws
runtime: nodejs6.10
plugins:
- serverless-webpack
- serverless-offline
custom:
serverless-offline:
dontPrintOutput: true
functions:
hello:
handler: src/Hello/api.handler # Refers to function `handler` exported from `Hello/api.js`
events:
- http:
integration: lambda-proxy
path: /
method: ANY
config:
handler: src/Config/api.handler
events:
- http:
integration: lambda-proxy
path: /config
method: ANY
forms:
handler: src/Forms/api.handler
events:
- http:
integration: lambda-proxy
path: /forms
method: ANY
interop:
handler: src/Interop/api.handler
events:
- http:
integration: lambda-proxy
path: /interop
method: ANY
- http:
integration: lambda-proxy
path: /interop/{proxy+}
method: ANY
routing:
handler: src/Routing/api.handler
events:
- http:
integration: lambda-proxy
path: /routing
method: ANY
- http:
integration: lambda-proxy
path: /routing/{proxy+} # Lambda Proxy Integration
method: ANY
pipelines:
handler: src/Pipelines/api.handler
events:
- http:
integration: lambda-proxy
path: /pipelines
method: ANY
sideEffects:
handler: src/SideEffects/api.handler
events:
- http:
integration: lambda-proxy
path: /side-effects
method: ANY
- http:
integration: lambda-proxy
path: /side-effects/{proxy+}
method: ANY
quoted:
handler: src/Quoted/api.handler
events:
- http:
integration: lambda-proxy
path: /quoted
method: ANY
- http:
integration: lambda-proxy
path: /quoted/{proxy+}
method: ANY