-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost-saml.yaml
362 lines (362 loc) · 10.1 KB
/
post-saml.yaml
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
AWSTemplateFormatVersion: 2010-09-09
Description: Simple API Endpoint configured using Swagger specified inline and backed
by a Lambda function
Resources:
MyApi:
Properties:
DefinitionUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/e867e355ca0697eacecd664f3f43cf3c
StageName: Prod
Variables:
LambdaFunctionName:
Ref: get
Type: AWS::Serverless::Api
RootRole:
Properties:
AssumeRolePolicyDocument:
Statement:
- Action:
- sts:AssumeRole
Effect: Allow
Principal:
Service:
- lambda.amazonaws.com
Version: 2012-10-17
Path: /
Type: AWS::IAM::Role
about:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/a3a8e84950ed675c486563c4c47f922b
FunctionName:
Fn::Sub: ${AWS::StackName}-about
Handler: about.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
addcategory:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/4eed90ad9903a842792e7d4490e8689a
FunctionName:
Fn::Sub: ${AWS::StackName}-addcategory
Handler: add_category.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
contact:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/e3dbeb3fbdfb8c1e25fd1b0650028ec3
FunctionName:
Fn::Sub: ${AWS::StackName}-contact
Handler: contact.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
deletepost:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/c7e8dfdea905c02fae677b56a5dd0a0a
FunctionName:
Fn::Sub: ${AWS::StackName}-deletepost
Handler: delete_post.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
editcategory:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/bc57475163b889fb426d4249bac4853c
FunctionName:
Fn::Sub: ${AWS::StackName}-editcategory
Handler: edit_category.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
get:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/393e8f5f06f1205ef87499f553de5c1a
FunctionName:
Fn::Sub: ${AWS::StackName}-get
Handler: get.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
getcategories:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/14e50600351cded7b356784b1ace75f8
FunctionName:
Fn::Sub: ${AWS::StackName}-getcategories
Handler: get_categories.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
getpost:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/570ac5fe9bd66bde22984303edb0b6a6
FunctionName:
Fn::Sub: ${AWS::StackName}-getpost
Handler: get_post.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
getpostadmin:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/96e6ff41b736b2d3b3b80c7638776a14
FunctionName:
Fn::Sub: ${AWS::StackName}-getpostadmin
Handler: get_post_admin.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
getpostbycatagory:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/aa0fde1e4dc0d51f5ec0fda66ffd8b80
FunctionName:
Fn::Sub: ${AWS::StackName}-getpostsbycategory
Handler: get_posts_by_category.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
getsettings:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/d37eb7e681254635dd3005cd9997ab10
FunctionName:
Fn::Sub: ${AWS::StackName}-getsettings
Handler: get_settings.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
listposts:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/00e5d338cf9db2175d71014453d744c6
FunctionName:
Fn::Sub: ${AWS::StackName}-listposts
Handler: list_posts.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
listpostsadmin:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/e8ead2fdbd96234b8d3d989bf23af9a3
FunctionName:
Fn::Sub: ${AWS::StackName}-listpostsadmin
Handler: list_posts_admin.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
login:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/0c47ecd0882c9baa7f3f8fb0a6143efb
FunctionName:
Fn::Sub: ${AWS::StackName}-login
Handler: login.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
movecategory:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/6e33644f090e9c9377d56e69d81de52c
FunctionName:
Fn::Sub: ${AWS::StackName}-movecategory
Handler: move_category.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
publishpost:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/0eac4ea8524856a8b4e0d9ff6fc735b0
FunctionName:
Fn::Sub: ${AWS::StackName}-publishpost
Handler: publish_post.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
removecategory:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/c4d95f554445b3778228c34fbce34fe3
FunctionName:
Fn::Sub: ${AWS::StackName}-removecategory
Handler: remove_category.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
rss:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/731ca736ae8166e772acc258e2b67edb
FunctionName:
Fn::Sub: ${AWS::StackName}-rss
Handler: rss.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
sendmessage:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/2d1479673185ffee4b28b1a321bbd839
FunctionName:
Fn::Sub: ${AWS::StackName}-sendmessage
Handler: send_message.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
setsettings:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/bcde0ba339ae78b8345eebae89ed81d3
FunctionName:
Fn::Sub: ${AWS::StackName}-setsettings
Handler: set_settings.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
unpublishpost:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/886a3d69fbe9cc8ead07ade5331aeb23
FunctionName:
Fn::Sub: ${AWS::StackName}-unpublishpost
Handler: unpublish_post.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
uploadimage:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/474f06e4d4e492b0cebc68611eeae69a
FunctionName:
Fn::Sub: ${AWS::StackName}-uploadimage
Handler: upload_image.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
uploadpost:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/ef3f77891d5b350eb9e65d33ac975217
FunctionName:
Fn::Sub: ${AWS::StackName}-uploadpost
Handler: upload_post.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
uploadtemplateimage:
Properties:
CodeUri: s3://serverless-app-844633438632-us-east-1-cfnautogen/8d69842230756ea61a8109c34c685a04
FunctionName:
Fn::Sub: ${AWS::StackName}-uploadtemplateimage
Handler: upload_template_image.handler
MemorySize: 512
Role:
Fn::GetAtt:
- RootRole
- Arn
Runtime: nodejs4.3
Timeout: 10
Type: AWS::Serverless::Function
Transform: AWS::Serverless-2016-10-31