/ site / api / .serverless / Webiny.prod.json
Webiny.prod.json
  1  {
  2    "components": {
  3      "gateway": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-apollo-gateway/serverless.js",
  4      "dbProxy": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-db-proxy/serverless.js",
  5      "cognito": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-aws-cognito-user-pool/serverless.js",
  6      "security": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-apollo-service/serverless.js",
  7      "files": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-files/serverless.js",
  8      "i18n": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-apollo-service/serverless.js",
  9      "pageBuilder": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-page-builder/serverless.js",
 10      "formBuilder": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-form-builder/serverless.js",
 11      "api": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-api-gateway/serverless.js",
 12      "cdn": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-aws-cloudfront/serverless.js"
 13    },
 14    "outputs": {
 15      "gateway": {
 16        "name": "ls1lyg7_prod_gateway_apollo-gateway",
 17        "description": "Apollo GraphQL Gateway (API entry point).",
 18        "memory": 512,
 19        "timeout": 30,
 20        "code": "/home/sochan/work/get.status.im/api/.webiny/gateway/build",
 21        "shims": [],
 22        "handler": "handler.handler",
 23        "runtime": "nodejs10.x",
 24        "env": {
 25          "DEBUG": "true"
 26        },
 27        "role": {
 28          "arn": "arn:aws:iam::912979228183:role/ls1lyg7-8vp9p73"
 29        },
 30        "arn": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_gateway_apollo-gateway",
 31        "region": "eu-central-1"
 32      },
 33      "dbProxy": {
 34        "name": "ls1lyg7_prod_dbProxy",
 35        "description": "Proxies DB commands.",
 36        "memory": 512,
 37        "timeout": 30,
 38        "code": "/home/sochan/work/get.status.im/node_modules/@webiny/serverless-db-proxy",
 39        "shims": [],
 40        "handler": "handler.handler",
 41        "runtime": "nodejs10.x",
 42        "env": {
 43          "MONGODB_SERVER": "mongodb+srv://webiny:c4U5LQ1spX337iQh@db.get.status.im/webiny?ssl=false",
 44          "MONGODB_NAME": "webiny"
 45        },
 46        "role": {
 47          "arn": "arn:aws:iam::912979228183:role/ls1lyg7-wehaj2e"
 48        },
 49        "arn": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_dbProxy",
 50        "region": "eu-central-1",
 51        "concurrencyLimit": 15
 52      },
 53      "cognito": {
 54        "appClients": [
 55          {
 56            "UserPoolId": "eu-central-1_QoCYKyNbT",
 57            "ClientName": "react-app-97d6a5f6",
 58            "ClientId": "f77j1uhg8fs36mha24bckbl2h",
 59            "LastModifiedDate": "2020-05-21T14:12:08.707Z",
 60            "CreationDate": "2020-05-21T14:12:08.707Z",
 61            "RefreshTokenValidity": 30,
 62            "AllowedOAuthFlowsUserPoolClient": false
 63          }
 64        ],
 65        "userPool": {
 66          "Id": "eu-central-1_QoCYKyNbT",
 67          "Name": "ls1lyg7_prod_cognito_webiny-pool-97-d-6-a-5-f-6",
 68          "Policies": {
 69            "PasswordPolicy": {
 70              "MinimumLength": 8,
 71              "RequireUppercase": false,
 72              "RequireLowercase": false,
 73              "RequireNumbers": false,
 74              "RequireSymbols": false,
 75              "TemporaryPasswordValidityDays": 7
 76            }
 77          },
 78          "LambdaConfig": {},
 79          "LastModifiedDate": "2020-05-21T14:12:08.533Z",
 80          "CreationDate": "2020-05-21T14:12:08.533Z",
 81          "SchemaAttributes": [
 82            {
 83              "Name": "sub",
 84              "AttributeDataType": "String",
 85              "DeveloperOnlyAttribute": false,
 86              "Mutable": false,
 87              "Required": true,
 88              "StringAttributeConstraints": {
 89                "MinLength": "1",
 90                "MaxLength": "2048"
 91              }
 92            },
 93            {
 94              "Name": "name",
 95              "AttributeDataType": "String",
 96              "DeveloperOnlyAttribute": false,
 97              "Mutable": true,
 98              "Required": false,
 99              "StringAttributeConstraints": {
100                "MinLength": "0",
101                "MaxLength": "2048"
102              }
103            },
104            {
105              "Name": "given_name",
106              "AttributeDataType": "String",
107              "DeveloperOnlyAttribute": false,
108              "Mutable": true,
109              "Required": true,
110              "StringAttributeConstraints": {
111                "MinLength": "0",
112                "MaxLength": "2048"
113              }
114            },
115            {
116              "Name": "family_name",
117              "AttributeDataType": "String",
118              "DeveloperOnlyAttribute": false,
119              "Mutable": true,
120              "Required": true,
121              "StringAttributeConstraints": {
122                "MinLength": "0",
123                "MaxLength": "2048"
124              }
125            },
126            {
127              "Name": "middle_name",
128              "AttributeDataType": "String",
129              "DeveloperOnlyAttribute": false,
130              "Mutable": true,
131              "Required": false,
132              "StringAttributeConstraints": {
133                "MinLength": "0",
134                "MaxLength": "2048"
135              }
136            },
137            {
138              "Name": "nickname",
139              "AttributeDataType": "String",
140              "DeveloperOnlyAttribute": false,
141              "Mutable": true,
142              "Required": false,
143              "StringAttributeConstraints": {
144                "MinLength": "0",
145                "MaxLength": "2048"
146              }
147            },
148            {
149              "Name": "preferred_username",
150              "AttributeDataType": "String",
151              "DeveloperOnlyAttribute": false,
152              "Mutable": true,
153              "Required": false,
154              "StringAttributeConstraints": {
155                "MinLength": "0",
156                "MaxLength": "2048"
157              }
158            },
159            {
160              "Name": "profile",
161              "AttributeDataType": "String",
162              "DeveloperOnlyAttribute": false,
163              "Mutable": true,
164              "Required": false,
165              "StringAttributeConstraints": {
166                "MinLength": "0",
167                "MaxLength": "2048"
168              }
169            },
170            {
171              "Name": "picture",
172              "AttributeDataType": "String",
173              "DeveloperOnlyAttribute": false,
174              "Mutable": true,
175              "Required": false,
176              "StringAttributeConstraints": {
177                "MinLength": "0",
178                "MaxLength": "2048"
179              }
180            },
181            {
182              "Name": "website",
183              "AttributeDataType": "String",
184              "DeveloperOnlyAttribute": false,
185              "Mutable": true,
186              "Required": false,
187              "StringAttributeConstraints": {
188                "MinLength": "0",
189                "MaxLength": "2048"
190              }
191            },
192            {
193              "Name": "email",
194              "AttributeDataType": "String",
195              "DeveloperOnlyAttribute": false,
196              "Mutable": true,
197              "Required": true,
198              "StringAttributeConstraints": {
199                "MinLength": "0",
200                "MaxLength": "2048"
201              }
202            },
203            {
204              "Name": "email_verified",
205              "AttributeDataType": "Boolean",
206              "DeveloperOnlyAttribute": false,
207              "Mutable": true,
208              "Required": false
209            },
210            {
211              "Name": "gender",
212              "AttributeDataType": "String",
213              "DeveloperOnlyAttribute": false,
214              "Mutable": true,
215              "Required": false,
216              "StringAttributeConstraints": {
217                "MinLength": "0",
218                "MaxLength": "2048"
219              }
220            },
221            {
222              "Name": "birthdate",
223              "AttributeDataType": "String",
224              "DeveloperOnlyAttribute": false,
225              "Mutable": true,
226              "Required": false,
227              "StringAttributeConstraints": {
228                "MinLength": "10",
229                "MaxLength": "10"
230              }
231            },
232            {
233              "Name": "zoneinfo",
234              "AttributeDataType": "String",
235              "DeveloperOnlyAttribute": false,
236              "Mutable": true,
237              "Required": false,
238              "StringAttributeConstraints": {
239                "MinLength": "0",
240                "MaxLength": "2048"
241              }
242            },
243            {
244              "Name": "locale",
245              "AttributeDataType": "String",
246              "DeveloperOnlyAttribute": false,
247              "Mutable": true,
248              "Required": false,
249              "StringAttributeConstraints": {
250                "MinLength": "0",
251                "MaxLength": "2048"
252              }
253            },
254            {
255              "Name": "phone_number",
256              "AttributeDataType": "String",
257              "DeveloperOnlyAttribute": false,
258              "Mutable": true,
259              "Required": false,
260              "StringAttributeConstraints": {
261                "MinLength": "0",
262                "MaxLength": "2048"
263              }
264            },
265            {
266              "Name": "phone_number_verified",
267              "AttributeDataType": "Boolean",
268              "DeveloperOnlyAttribute": false,
269              "Mutable": true,
270              "Required": false
271            },
272            {
273              "Name": "address",
274              "AttributeDataType": "String",
275              "DeveloperOnlyAttribute": false,
276              "Mutable": true,
277              "Required": false,
278              "StringAttributeConstraints": {
279                "MinLength": "0",
280                "MaxLength": "2048"
281              }
282            },
283            {
284              "Name": "updated_at",
285              "AttributeDataType": "Number",
286              "DeveloperOnlyAttribute": false,
287              "Mutable": true,
288              "Required": false,
289              "NumberAttributeConstraints": {
290                "MinValue": "0"
291              }
292            }
293          ],
294          "AutoVerifiedAttributes": [
295            "email"
296          ],
297          "UsernameAttributes": [
298            "email"
299          ],
300          "VerificationMessageTemplate": {
301            "DefaultEmailOption": "CONFIRM_WITH_CODE"
302          },
303          "MfaConfiguration": "OFF",
304          "EstimatedNumberOfUsers": 0,
305          "EmailConfiguration": {
306            "EmailSendingAccount": "COGNITO_DEFAULT"
307          },
308          "AdminCreateUserConfig": {
309            "AllowAdminCreateUserOnly": true,
310            "UnusedAccountValidityDays": 7
311          },
312          "UserPoolAddOns": {
313            "AdvancedSecurityMode": "OFF"
314          },
315          "Arn": "arn:aws:cognito-idp:eu-central-1:912979228183:userpool/eu-central-1_QoCYKyNbT",
316          "Region": "eu-central-1"
317        }
318      },
319      "security": {
320        "api": {
321          "name": "ls1lyg7_prod_security",
322          "id": "6krmocfvrg",
323          "endpoints": [
324            {
325              "path": "/graphql",
326              "method": "ANY",
327              "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_security_graphql",
328              "authorizer": null,
329              "url": "https://6krmocfvrg.execute-api.eu-central-1.amazonaws.com/prod/graphql",
330              "id": "l2ihv5"
331            }
332          ],
333          "url": "https://6krmocfvrg.execute-api.eu-central-1.amazonaws.com/prod",
334          "graphqlUrl": "https://6krmocfvrg.execute-api.eu-central-1.amazonaws.com/prod/graphql"
335        },
336        "graphql": {
337          "name": "ls1lyg7_prod_security_graphql",
338          "description": "GraphQL server for security.",
339          "memory": 512,
340          "timeout": 10,
341          "code": "/home/sochan/work/get.status.im/api/.webiny/security/build",
342          "shims": [],
343          "handler": "handler.handler",
344          "runtime": "nodejs10.x",
345          "env": {
346            "DEBUG": "true"
347          },
348          "role": {
349            "arn": "arn:aws:iam::912979228183:role/ls1lyg7-rq7jox"
350          },
351          "arn": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_security_graphql",
352          "region": "eu-central-1"
353        }
354      },
355      "files": {
356        "api": {
357          "name": "ls1lyg7_prod_files",
358          "id": "r6sevmttmg",
359          "endpoints": [
360            {
361              "path": "/graphql",
362              "method": "ANY",
363              "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_files_graphql",
364              "authorizer": null,
365              "url": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod/graphql",
366              "id": "s7a8bg"
367            },
368            {
369              "path": "/files/{path}",
370              "method": "ANY",
371              "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_files_download-files",
372              "authorizer": null,
373              "url": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod/files/{path}",
374              "id": "jtgui3"
375            }
376          ],
377          "url": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod",
378          "graphqlUrl": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod/graphql"
379        },
380        "s3": {
381          "name": "webiny-files-97d6a5f6",
382          "region": "eu-central-1",
383          "accelerated": false,
384          "url": "https://webiny-files-97d6a5f6.s3.amazonaws.com"
385        },
386        "cdnOrigin": {
387          "url": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod",
388          "pathPatterns": {
389            "/files/*": {
390              "ttl": 2592000
391            }
392          }
393        }
394      },
395      "i18n": {
396        "api": {
397          "name": "ls1lyg7_prod_i18n",
398          "id": "rrm1owo7ka",
399          "endpoints": [
400            {
401              "path": "/graphql",
402              "method": "ANY",
403              "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_i18n_graphql",
404              "authorizer": null,
405              "url": "https://rrm1owo7ka.execute-api.eu-central-1.amazonaws.com/prod/graphql",
406              "id": "wrh6hi"
407            }
408          ],
409          "url": "https://rrm1owo7ka.execute-api.eu-central-1.amazonaws.com/prod",
410          "graphqlUrl": "https://rrm1owo7ka.execute-api.eu-central-1.amazonaws.com/prod/graphql"
411        },
412        "graphql": {
413          "name": "ls1lyg7_prod_i18n_graphql",
414          "description": "GraphQL server for i18n.",
415          "memory": 512,
416          "timeout": 10,
417          "code": "/home/sochan/work/get.status.im/api/.webiny/i18N/build",
418          "shims": [],
419          "handler": "handler.handler",
420          "runtime": "nodejs10.x",
421          "env": {
422            "DEBUG": "true"
423          },
424          "role": {
425            "arn": "arn:aws:iam::912979228183:role/ls1lyg7-yk1269u"
426          },
427          "arn": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_i18n_graphql",
428          "region": "eu-central-1"
429        }
430      },
431      "pageBuilder": {
432        "api": {
433          "name": "ls1lyg7_prod_pageBuilder",
434          "id": "mtzh98j3g3",
435          "endpoints": [
436            {
437              "path": "/graphql",
438              "method": "ANY",
439              "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_pageBuilder_graphql",
440              "authorizer": null,
441              "url": "https://mtzh98j3g3.execute-api.eu-central-1.amazonaws.com/prod/graphql",
442              "id": "4ns59q"
443            }
444          ],
445          "url": "https://mtzh98j3g3.execute-api.eu-central-1.amazonaws.com/prod",
446          "graphqlUrl": "https://mtzh98j3g3.execute-api.eu-central-1.amazonaws.com/prod/graphql"
447        },
448        "graphql": {
449          "name": "ls1lyg7_prod_pageBuilder_graphql",
450          "description": "GraphQL server for pageBuilder.",
451          "memory": 512,
452          "timeout": 30,
453          "code": "/home/sochan/work/get.status.im/api/.webiny/pageBuilder/build",
454          "shims": [],
455          "handler": "handler.handler",
456          "runtime": "nodejs10.x",
457          "env": {
458            "FILES_API_URL": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod/graphql",
459            "PAGE_BUILDER_S3_BUCKET": "webiny-serverless-page-builder-ls1lyg7",
460            "PAGE_BUILDER_INSTALLATION_FILES_ZIP_KEY": "page_builder_installation_files.zip",
461            "DEBUG": "true"
462          },
463          "role": {
464            "arn": "arn:aws:iam::912979228183:role/ls1lyg7-736obgs"
465          },
466          "arn": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_pageBuilder_graphql",
467          "region": "eu-central-1"
468        }
469      },
470      "formBuilder": {
471        "api": {
472          "name": "ls1lyg7_prod_formBuilder",
473          "id": "j0mbdytfh6",
474          "endpoints": [
475            {
476              "path": "/graphql",
477              "method": "ANY",
478              "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_formBuilder_graphql",
479              "authorizer": null,
480              "url": "https://j0mbdytfh6.execute-api.eu-central-1.amazonaws.com/prod/graphql",
481              "id": "0iof4w"
482            }
483          ],
484          "url": "https://j0mbdytfh6.execute-api.eu-central-1.amazonaws.com/prod",
485          "graphqlUrl": "https://j0mbdytfh6.execute-api.eu-central-1.amazonaws.com/prod/graphql"
486        },
487        "graphql": {
488          "name": "ls1lyg7_prod_formBuilder_graphql",
489          "description": "GraphQL server for formBuilder.",
490          "memory": 512,
491          "timeout": 30,
492          "code": "/home/sochan/work/get.status.im/api/.webiny/formBuilder/build",
493          "shims": [],
494          "handler": "handler.handler",
495          "runtime": "nodejs10.x",
496          "env": {
497            "FILES_API_URL": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod/graphql",
498            "I18N_API_URL": "https://rrm1owo7ka.execute-api.eu-central-1.amazonaws.com/prod/graphql",
499            "DEBUG": "true"
500          },
501          "role": {
502            "arn": "arn:aws:iam::912979228183:role/ls1lyg7-n9exca"
503          },
504          "arn": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_formBuilder_graphql",
505          "region": "eu-central-1"
506        }
507      },
508      "api": {
509        "name": "ls1lyg7_prod_api",
510        "id": "s1hsgz6kcc",
511        "endpoints": [
512          {
513            "path": "/graphql",
514            "method": "ANY",
515            "function": "arn:aws:lambda:eu-central-1:912979228183:function:ls1lyg7_prod_gateway_apollo-gateway",
516            "authorizer": null,
517            "url": "https://s1hsgz6kcc.execute-api.eu-central-1.amazonaws.com/prod/graphql",
518            "id": "d3sbmo"
519          }
520        ],
521        "url": "https://s1hsgz6kcc.execute-api.eu-central-1.amazonaws.com/prod"
522      },
523      "cdn": {
524        "id": "E3NDJ2N0QMLNZY",
525        "arn": "arn:aws:cloudfront::912979228183:distribution/E3NDJ2N0QMLNZY",
526        "url": "https://d2qkt7q1k4w7at.cloudfront.net",
527        "region": "us-east-1",
528        "enabled": true,
529        "comment": "",
530        "origins": [
531          {
532            "url": "https://r6sevmttmg.execute-api.eu-central-1.amazonaws.com/prod",
533            "pathPatterns": {
534              "/files/*": {
535                "ttl": 2592000
536              }
537            }
538          },
539          {
540            "url": "https://s1hsgz6kcc.execute-api.eu-central-1.amazonaws.com/prod",
541            "pathPatterns": {
542              "/graphql": {
543                "ttl": 0,
544                "forward": {
545                  "headers": [
546                    "Accept",
547                    "Accept-Language"
548                  ]
549                },
550                "allowedHttpMethods": [
551                  "GET",
552                  "HEAD",
553                  "OPTIONS",
554                  "PUT",
555                  "POST",
556                  "PATCH",
557                  "DELETE"
558                ]
559              }
560            }
561          }
562        ]
563      }
564    }
565  }