-
Notifications
You must be signed in to change notification settings - Fork 1
/
serverless.yml
72 lines (62 loc) · 1.73 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
service: hello-function-service
custom:
awsAccountId:
Ref: AWS::AccountId
provider:
name: aws
runtime: java8
region: eu-west-1
stage: dev
memorySize: 256
versionFunctions: false
timeout: 10
logRetentionInDays: 1
endpointType: regional
package:
individually: true
artifact: artifacts/hat-she-function-template.jar
functions:
api-hello-function:
handler: example.DataFeedCounterProxyHandler::handle
package:
individually: true
artifact: artifacts/hat-she-function-template.jar
timeout: 120
events:
- http:
path: hello-function/1.0.0
method: post
api-hello-function-configuration:
handler: example.DataFeedCounterConfigurationProxyHandler::handle
package:
individually: true
artifact: artifacts/hat-she-function-template.jar
events:
- http:
path: hello-function/1.0.0/configuration
method: get
api-hello-function-bundle:
handler: example.DataFeedCounterBundleProxyHandler::handle
package:
individually: true
artifact: artifacts/hat-she-function-template.jar
events:
- http:
path: hello-function/1.0.0/data-bundle
method: get
hello-function:
handler: example.DataFeedCounterHandler::handle
package:
individually: true
artifact: artifacts/hat-she-function-template.jar
timeout: 120
hello-function-configuration:
handler: example.DataFeedCounterConfigurationHandler::handle
package:
individually: true
artifact: artifacts/hat-she-function-template.jar
hello-function-bundle:
handler: example.DataFeedCounterBundleHandler::handle
package:
individually: true
artifact: artifacts/hat-she-function-template.jar