-
Notifications
You must be signed in to change notification settings - Fork 11
/
hotel.yml
95 lines (89 loc) · 1.92 KB
/
hotel.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
service: beldi
frameworkVersion: '>=1.28.0 <2.0.0'
provider:
name: aws
runtime: go1.x
stage: dev
memorySize: 1024
timeout: 60
region: us-east-1
disableLogs: false
iamRoleStatements:
- Effect: "Allow"
Action:
- "lambda:*"
- "logs:*"
- "cloudwatch:*"
- "dynamodb:*"
- "iam:GetPolicy"
- "iam:GetPolicyVersion"
- "iam:GetRole"
- "iam:GetRolePolicy"
- "iam:ListAttachedRolePolicies"
- "iam:ListRolePolicies"
- "iam:ListRoles"
- "iam:PassRole"
Resource:
- "*"
package:
exclude:
- ./**
include:
- ./bin/**
functions:
geo:
handler: bin/hotel/geo
maximumRetryAttempts: 0
maximumEventAge: 60
profile:
handler: bin/hotel/profile
maximumRetryAttempts: 0
maximumEventAge: 60
rate:
handler: bin/hotel/rate
maximumRetryAttempts: 0
maximumEventAge: 60
recommendation:
handler: bin/hotel/recommendation
maximumRetryAttempts: 0
maximumEventAge: 60
user:
handler: bin/hotel/user
maximumRetryAttempts: 0
maximumEventAge: 60
hotel:
handler: bin/hotel/hotel
maximumRetryAttempts: 0
maximumEventAge: 60
search:
handler: bin/hotel/search
maximumRetryAttempts: 0
maximumEventAge: 60
flight:
handler: bin/hotel/flight
maximumRetryAttempts: 0
maximumEventAge: 60
order:
handler: bin/hotel/order
maximumRetryAttempts: 0
maximumEventAge: 60
frontend:
handler: bin/hotel/frontend
maximumRetryAttempts: 0
maximumEventAge: 60
gateway:
handler: bin/hotel/gateway
maximumRetryAttempts: 0
maximumEventAge: 60
hotelgc:
handler: bin/hotel/gc
maximumRetryAttempts: 0
maximumEventAge: 60
events:
- schedule: rate(1 minute)
hotelcollector:
handler: bin/hotel/collector
maximumRetryAttempts: 0
maximumEventAge: 60
events:
- schedule: rate(2 minutes)