-
Notifications
You must be signed in to change notification settings - Fork 2
/
serverless.yml
46 lines (39 loc) · 915 Bytes
/
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
service: jchampion-conf-2022
frameworkVersion: '2'
custom:
awsId: 739822415272
provider:
name: aws
region: us-east-1
runtime: java11
memorySize: 256
timeout: 15
logRetentionInDays: 3
lambdaHashingVersion: 20201221
package:
artifact: "target/jchampion-conf-2022.jar"
functions:
getTime:
handler: is.alan.jchampionconf2022.endpoint.GetTime
events:
- http:
path: /gettime
method: get
lifeCycle:
handler: is.alan.jchampionconf2022.endpoint.LifeCycle
events:
- http:
path: /lifecycle
method: get
echo:
handler: is.alan.jchampionconf2022.endpoint.Echo
events:
- http:
path: /echo/
method: ANY
sqs-example:
handler: is.alan.jchampionconf2022.sqs.QueueListener
events:
- sqs:
arn: arn:aws:sqs:us-east-1:739822415272:jchampion-conf-queue-1
batchSize: 10