@webda/aws 4.0.0-beta.3 → 4.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/lib/deployers/awsdeployer.d.ts +340 -0
  2. package/lib/deployers/awsdeployer.d.ts.map +1 -0
  3. package/lib/deployers/awsdeployer.js +673 -0
  4. package/lib/deployers/awsdeployer.js.map +1 -0
  5. package/lib/deployers/cloudformation.service.d.ts +438 -0
  6. package/lib/deployers/cloudformation.service.d.ts.map +1 -0
  7. package/lib/deployers/cloudformation.service.js +889 -0
  8. package/lib/deployers/cloudformation.service.js.map +1 -0
  9. package/lib/deployers/index.d.ts +5 -0
  10. package/lib/deployers/index.d.ts.map +1 -0
  11. package/lib/deployers/index.js +5 -0
  12. package/lib/deployers/index.js.map +1 -0
  13. package/lib/deployers/lambda-entrypoint.d.ts +34 -0
  14. package/lib/deployers/lambda-entrypoint.d.ts.map +1 -0
  15. package/lib/deployers/lambda-entrypoint.js +47 -0
  16. package/lib/deployers/lambda-entrypoint.js.map +1 -0
  17. package/lib/deployers/lambdapackager.service.d.ts +123 -0
  18. package/lib/deployers/lambdapackager.service.d.ts.map +1 -0
  19. package/lib/deployers/lambdapackager.service.js +149 -0
  20. package/lib/deployers/lambdapackager.service.js.map +1 -0
  21. package/lib/deployers/zip.d.ts +42 -0
  22. package/lib/deployers/zip.d.ts.map +1 -0
  23. package/lib/deployers/zip.js +129 -0
  24. package/lib/deployers/zip.js.map +1 -0
  25. package/lib/index.d.ts +1 -0
  26. package/lib/index.d.ts.map +1 -1
  27. package/lib/index.js +1 -0
  28. package/lib/index.js.map +1 -1
  29. package/lib/services/contributors.d.ts +1 -2
  30. package/lib/services/contributors.d.ts.map +1 -1
  31. package/lib/services/dynamodb.service.d.ts +2 -1
  32. package/lib/services/dynamodb.service.d.ts.map +1 -1
  33. package/lib/services/dynamodb.service.js +5 -4
  34. package/lib/services/dynamodb.service.js.map +1 -1
  35. package/lib/services/s3binary.service.d.ts.map +1 -1
  36. package/lib/services/s3binary.service.js +21 -20
  37. package/lib/services/s3binary.service.js.map +1 -1
  38. package/package.json +12 -14
  39. package/webda.module.json +698 -4
package/webda.module.json CHANGED
@@ -156,6 +156,599 @@
156
156
  },
157
157
  "Configuration": "lib/services/secretsmanager.service:AWSSecretsManagerParameters"
158
158
  },
159
+ "Webda/CloudFormationDeployer": {
160
+ "Import": "lib/deployers/cloudformation.service:CloudFormationDeployer",
161
+ "Schema": {
162
+ "$schema": "http://json-schema.org/draft-07/schema#",
163
+ "additionalProperties": false,
164
+ "definitions": {
165
+ "APIGateway": {
166
+ "additionalProperties": {},
167
+ "description": "Create an API Gateway for the Lambda function",
168
+ "properties": {
169
+ "Name": {
170
+ "type": "string"
171
+ }
172
+ },
173
+ "type": "object"
174
+ },
175
+ "APIGatewayBasePathMapping": {
176
+ "additionalProperties": false,
177
+ "description": "Base path mapping of the custom domain",
178
+ "properties": {
179
+ "BasePath": {
180
+ "type": "string"
181
+ },
182
+ "DomainName": {
183
+ "type": "string"
184
+ },
185
+ "RestApiId": {
186
+ "type": "string"
187
+ },
188
+ "Stage": {
189
+ "type": "string"
190
+ }
191
+ },
192
+ "type": "object"
193
+ },
194
+ "APIGatewayDomain": {
195
+ "additionalProperties": {},
196
+ "description": "Custom domain of the API Gateway",
197
+ "properties": {
198
+ "CertificateArn": {
199
+ "type": "string"
200
+ },
201
+ "DomainName": {
202
+ "type": "string"
203
+ },
204
+ "EndpointConfiguration": {
205
+ "$ref": "#/definitions/APIGatewayDomain%24EndpointConfiguration"
206
+ },
207
+ "SecurityPolicy": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ "required": [
212
+ "DomainName"
213
+ ],
214
+ "type": "object"
215
+ },
216
+ "APIGatewayDomain$EndpointConfiguration": {
217
+ "additionalProperties": false,
218
+ "properties": {
219
+ "Types": {
220
+ "items": {
221
+ "type": "string"
222
+ },
223
+ "type": "array"
224
+ }
225
+ },
226
+ "required": [
227
+ "Types"
228
+ ],
229
+ "type": "object"
230
+ },
231
+ "APIGatewayStage": {
232
+ "additionalProperties": {},
233
+ "description": "Properties of the API Gateway stage",
234
+ "properties": {
235
+ "StageName": {
236
+ "default": "the deployment name",
237
+ "type": "string"
238
+ }
239
+ },
240
+ "type": "object"
241
+ },
242
+ "Certificates": {
243
+ "additionalProperties": {
244
+ "$ref": "#/definitions/Certificates%24%5Bkey%3A%20string%5D"
245
+ },
246
+ "description": "SSL certificates to create\n\nSample\n```\nCertificates: {\n \"test.webda.io\": {\n SubjectAlternativeNames: [\"test2.webda.io\"]\n }\n}\n```",
247
+ "type": "object"
248
+ },
249
+ "Certificates$[key: string]": {
250
+ "additionalProperties": {},
251
+ "properties": {
252
+ "SubjectAlternativeNames": {
253
+ "description": "Any alternative names to add to the certificate",
254
+ "items": {
255
+ "type": "string"
256
+ },
257
+ "type": "array"
258
+ },
259
+ "Tags": {
260
+ "anyOf": [
261
+ {
262
+ "items": {
263
+ "$ref": "#/definitions/Certificates%24%5Bkey%3A%20string%5D%24Tags%231%5B%5D"
264
+ },
265
+ "type": "array"
266
+ },
267
+ {
268
+ "$ref": "#/definitions/Certificates%24%5Bkey%3A%20string%5D%24Tags%232"
269
+ }
270
+ ],
271
+ "description": "Tags as an AWS array or as a map"
272
+ }
273
+ },
274
+ "type": "object"
275
+ },
276
+ "Certificates$[key: string]$Tags#1[]": {
277
+ "additionalProperties": false,
278
+ "properties": {
279
+ "Key": {
280
+ "type": "string"
281
+ },
282
+ "Value": {
283
+ "type": "string"
284
+ }
285
+ },
286
+ "required": [
287
+ "Key",
288
+ "Value"
289
+ ],
290
+ "type": "object"
291
+ },
292
+ "Certificates$[key: string]$Tags#2": {
293
+ "additionalProperties": {
294
+ "type": "string"
295
+ },
296
+ "type": "object"
297
+ },
298
+ "Lambda": {
299
+ "additionalProperties": {},
300
+ "description": "Deploy a Lambda package with your application",
301
+ "properties": {
302
+ "FunctionName": {
303
+ "description": "FunctionName to create",
304
+ "type": "string"
305
+ },
306
+ "Handler": {
307
+ "default": "node_modules/@webda/aws/lib/deployers/lambda-entrypoint.handler",
308
+ "description": "Should not require to be overriden",
309
+ "type": "string"
310
+ },
311
+ "MemorySize": {
312
+ "default": 2048,
313
+ "description": "Memory to set on the Lambda\n\nLess memory is less expensive/ms but slower",
314
+ "type": "number"
315
+ },
316
+ "Role": {
317
+ "description": "Role to set on the function"
318
+ },
319
+ "Runtime": {
320
+ "default": "nodejs22.x",
321
+ "description": "Type of Runtime to use",
322
+ "type": "string"
323
+ },
324
+ "Timeout": {
325
+ "default": 30,
326
+ "description": "Timeout in seconds for your Lambda",
327
+ "type": "number"
328
+ }
329
+ },
330
+ "type": "object"
331
+ },
332
+ "LambdaPackageOptions": {
333
+ "additionalProperties": false,
334
+ "description": "Options to build a Lambda package",
335
+ "properties": {
336
+ "customAwsSdk": {
337
+ "default": false,
338
+ "description": "The application includes its own aws-sdk v2: by default `aws-sdk` is excluded",
339
+ "type": "boolean"
340
+ },
341
+ "entrypoint": {
342
+ "description": "File to add as `entrypoint.js` at the root of the package\n\nThe default handler is `node_modules/@webda/aws/lib/deployers/lambda-entrypoint.handler`\nso it is not needed",
343
+ "type": "string"
344
+ },
345
+ "package": {
346
+ "$ref": "#/definitions/PackageOptions",
347
+ "description": "How to select the files of the application"
348
+ },
349
+ "zipPath": {
350
+ "default": "dist/lambda.zip",
351
+ "description": "Path of the zip to create",
352
+ "type": "string"
353
+ }
354
+ },
355
+ "type": "object"
356
+ },
357
+ "LambdaPackager$package$modules": {
358
+ "additionalProperties": false,
359
+ "properties": {
360
+ "excludes": {
361
+ "items": {
362
+ "type": "string"
363
+ },
364
+ "type": "array"
365
+ },
366
+ "includes": {
367
+ "items": {
368
+ "type": "string"
369
+ },
370
+ "type": "array"
371
+ }
372
+ },
373
+ "type": "object"
374
+ },
375
+ "PackageOptions": {
376
+ "additionalProperties": false,
377
+ "description": "Options of {@link packageApplication}",
378
+ "properties": {
379
+ "excludePatterns": {
380
+ "default": [
381
+ "\\.d\\.ts$"
382
+ ],
383
+ "description": "Regular expressions on the source path of the files to skip",
384
+ "items": {
385
+ "type": "string"
386
+ },
387
+ "type": "array"
388
+ },
389
+ "ignores": {
390
+ "description": "Additional top-level entries of the application to skip",
391
+ "items": {
392
+ "type": "string"
393
+ },
394
+ "type": "array"
395
+ },
396
+ "modules": {
397
+ "$ref": "#/definitions/LambdaPackager%24package%24modules",
398
+ "description": "Dependencies to add or remove from the application production dependencies"
399
+ }
400
+ },
401
+ "type": "object"
402
+ },
403
+ "Policy": {
404
+ "additionalProperties": false,
405
+ "description": "Policy to create\n\nThis deployer can automatically create the policy tailored to your application needs\nAll the AWS services from this package advertise the type of permissions they need",
406
+ "properties": {
407
+ "Groups": {
408
+ "items": {},
409
+ "type": "array"
410
+ },
411
+ "PolicyDocument": {},
412
+ "PolicyName": {
413
+ "description": "PolicyName to use",
414
+ "type": "string"
415
+ },
416
+ "Roles": {
417
+ "items": {},
418
+ "type": "array"
419
+ },
420
+ "Users": {
421
+ "items": {},
422
+ "type": "array"
423
+ }
424
+ },
425
+ "type": "object"
426
+ },
427
+ "Role": {
428
+ "additionalProperties": {},
429
+ "description": "Role to create",
430
+ "properties": {
431
+ "AssumeRolePolicyDocument": {
432
+ "$ref": "#/definitions/Role%24AssumeRolePolicyDocument"
433
+ },
434
+ "Path": {
435
+ "type": "string"
436
+ },
437
+ "Policies": {
438
+ "items": {},
439
+ "type": "array"
440
+ },
441
+ "RoleName": {
442
+ "type": "string"
443
+ }
444
+ },
445
+ "type": "object"
446
+ },
447
+ "Role$AssumeRolePolicyDocument": {
448
+ "additionalProperties": false,
449
+ "properties": {
450
+ "Statement": {
451
+ "items": {},
452
+ "type": "array"
453
+ },
454
+ "Version": {
455
+ "type": "string"
456
+ }
457
+ },
458
+ "required": [
459
+ "Statement"
460
+ ],
461
+ "type": "object"
462
+ },
463
+ "Statics[]": {
464
+ "additionalProperties": false,
465
+ "properties": {
466
+ "AssetsPath": {
467
+ "description": "Path to store on the AssetsBucket",
468
+ "type": "string"
469
+ },
470
+ "Bucket": {
471
+ "description": "Bucket parameter to add, a bucket named after the domain is created"
472
+ },
473
+ "CloudFront": {
474
+ "description": "CloudFront parameter to add"
475
+ },
476
+ "DomainName": {
477
+ "description": "Domain name to deploy on",
478
+ "type": "string"
479
+ },
480
+ "Source": {
481
+ "description": "Source on local folder",
482
+ "type": "string"
483
+ }
484
+ },
485
+ "required": [
486
+ "DomainName",
487
+ "Source"
488
+ ],
489
+ "type": "object"
490
+ },
491
+ "Tags#1[]": {
492
+ "additionalProperties": false,
493
+ "properties": {
494
+ "Key": {
495
+ "type": "string"
496
+ },
497
+ "Value": {
498
+ "type": "string"
499
+ }
500
+ },
501
+ "required": [
502
+ "Key",
503
+ "Value"
504
+ ],
505
+ "type": "object"
506
+ },
507
+ "Tags#2": {
508
+ "additionalProperties": {
509
+ "type": "string"
510
+ },
511
+ "type": "object"
512
+ },
513
+ "endpoints": {
514
+ "additionalProperties": false,
515
+ "description": "Endpoints to use by differents services\nUsefull to test with localstack or other AWS emulations",
516
+ "properties": {
517
+ "ACM": {
518
+ "type": "string"
519
+ },
520
+ "APIGateway": {
521
+ "type": "string"
522
+ },
523
+ "CloudFormation": {
524
+ "type": "string"
525
+ },
526
+ "CloudFront": {
527
+ "type": "string"
528
+ },
529
+ "EC2": {
530
+ "type": "string"
531
+ },
532
+ "Route53": {
533
+ "type": "string"
534
+ },
535
+ "S3": {
536
+ "type": "string"
537
+ },
538
+ "STS": {
539
+ "type": "string"
540
+ }
541
+ },
542
+ "type": "object"
543
+ }
544
+ },
545
+ "description": "CloudFormation deployer parameters\n\nDefine how to generate CloudFormation resources",
546
+ "properties": {
547
+ "APIGateway": {
548
+ "$ref": "#/definitions/APIGateway",
549
+ "description": "Create an API Gateway for the Lambda function"
550
+ },
551
+ "APIGatewayBasePathMapping": {
552
+ "$ref": "#/definitions/APIGatewayBasePathMapping",
553
+ "description": "Base path mapping of the custom domain"
554
+ },
555
+ "APIGatewayDeployment": {
556
+ "description": "Properties of the API Gateway deployment",
557
+ "type": "object"
558
+ },
559
+ "APIGatewayDomain": {
560
+ "$ref": "#/definitions/APIGatewayDomain",
561
+ "description": "Custom domain of the API Gateway"
562
+ },
563
+ "APIGatewayImportOpenApi": {
564
+ "description": "Import Open API to APIGateway\n\nThis is the restApiId to import to",
565
+ "type": "string"
566
+ },
567
+ "APIGatewayStage": {
568
+ "$ref": "#/definitions/APIGatewayStage",
569
+ "description": "Properties of the API Gateway stage"
570
+ },
571
+ "AWSAccountId": {
572
+ "description": "AWS Account Id",
573
+ "type": "string"
574
+ },
575
+ "AssetsBucket": {
576
+ "description": "AssetsBucket to copy Lambda package, CloudFormation template and OpenAPI definitions\n\nDefault to the `webda.aws.AssetsBucket` of the package.json",
577
+ "type": "string"
578
+ },
579
+ "AssetsPrefix": {
580
+ "default": "${deployment}/${deployer.name}/",
581
+ "description": "Prefix to use when copying to the AssetsBucket",
582
+ "type": "string"
583
+ },
584
+ "Certificates": {
585
+ "$ref": "#/definitions/Certificates",
586
+ "description": "SSL certificates to create\n\nSample\n```\nCertificates: {\n \"test.webda.io\": {\n SubjectAlternativeNames: [\"test2.webda.io\"]\n }\n}\n```"
587
+ },
588
+ "ChangeSetType": {
589
+ "description": "CREATE is the default\n\nIMPORT is not well supported as AWS support seems weak aswell",
590
+ "enum": [
591
+ "CREATE",
592
+ "IMPORT"
593
+ ],
594
+ "type": "string"
595
+ },
596
+ "CustomResources": {
597
+ "description": "Any additional CloudFormation resources"
598
+ },
599
+ "Description": {
600
+ "description": "Description of the stack and the OpenAPI\nhttps://github.com/loopingz/webda.io/issues/17",
601
+ "type": "string"
602
+ },
603
+ "DomainName": {
604
+ "description": "Default DomainName",
605
+ "type": "string"
606
+ },
607
+ "Fargate": {
608
+ "description": "Add the ECS tasks principal to the generated Role",
609
+ "type": "object"
610
+ },
611
+ "FileName": {
612
+ "default": "cloudformation-${resources.name}",
613
+ "description": "Name of the template on the AssetsBucket",
614
+ "type": "string"
615
+ },
616
+ "Format": {
617
+ "default": "JSON",
618
+ "description": "Format for CloudFormation template\n\nYAML format can generate issue",
619
+ "enum": [
620
+ "JSON",
621
+ "YAML"
622
+ ],
623
+ "type": "string"
624
+ },
625
+ "Image": {
626
+ "description": "Container image of the application, built separately (`webda container build`)\n\nAvailable to the templates as `${resources.Image}`",
627
+ "type": "string"
628
+ },
629
+ "KeepPackage": {
630
+ "default": false,
631
+ "description": "Keep locally the Lambda package after S3 uploads",
632
+ "type": "boolean"
633
+ },
634
+ "Lambda": {
635
+ "$ref": "#/definitions/Lambda",
636
+ "description": "Deploy a Lambda package with your application"
637
+ },
638
+ "LambdaPackager": {
639
+ "$ref": "#/definitions/LambdaPackageOptions",
640
+ "description": "How to build the Lambda package"
641
+ },
642
+ "OpenAPIFileName": {
643
+ "default": "${resources.name}-openapi-${package.version}",
644
+ "description": "Name of your OpenAPI inside the AssetsBucket",
645
+ "type": "string"
646
+ },
647
+ "OpenAPITitle": {
648
+ "description": "Title for your OpenAPI definition\nhttps://github.com/loopingz/webda.io/issues/17",
649
+ "type": "string"
650
+ },
651
+ "Policy": {
652
+ "$ref": "#/definitions/Policy",
653
+ "description": "Policy to create\n\nThis deployer can automatically create the policy tailored to your application needs\nAll the AWS services from this package advertise the type of permissions they need"
654
+ },
655
+ "Resources": {
656
+ "description": "Add the CloudFormation contributions of the application services\n({@link CloudFormationContributor})"
657
+ },
658
+ "ResourcesToImport": {
659
+ "description": "Resources to import in the template",
660
+ "items": {},
661
+ "type": "array"
662
+ },
663
+ "Role": {
664
+ "$ref": "#/definitions/Role",
665
+ "description": "Role to create"
666
+ },
667
+ "StackName": {
668
+ "default": "the unit name",
669
+ "description": "Name of the CloudFormation stack",
670
+ "type": "string"
671
+ },
672
+ "StackOptions": {
673
+ "description": "Options of the stack: Tags, NotificationARNs, ..."
674
+ },
675
+ "Statics": {
676
+ "description": "Deploy static website",
677
+ "items": {
678
+ "$ref": "#/definitions/Statics%5B%5D"
679
+ },
680
+ "type": "array"
681
+ },
682
+ "Tags": {
683
+ "anyOf": [
684
+ {
685
+ "items": {
686
+ "$ref": "#/definitions/Tags%231%5B%5D"
687
+ },
688
+ "type": "array"
689
+ },
690
+ {
691
+ "$ref": "#/definitions/Tags%232"
692
+ }
693
+ ],
694
+ "description": "Default Tags to use with resources created by deployers"
695
+ },
696
+ "accessKeyId": {
697
+ "description": "AWS_ACCESS_KEY_ID to use\n\nUsing static key is not recommended",
698
+ "type": "string"
699
+ },
700
+ "endpoints": {
701
+ "$ref": "#/definitions/endpoints",
702
+ "description": "Endpoints to use by differents services\nUsefull to test with localstack or other AWS emulations"
703
+ },
704
+ "name": {
705
+ "description": "Name of the unit",
706
+ "type": "string"
707
+ },
708
+ "region": {
709
+ "default": "us-east-1",
710
+ "description": "AWS_REGION to use",
711
+ "type": "string"
712
+ },
713
+ "secretAccessKey": {
714
+ "description": "AWS_SECRET_ACCESS_KEY to use\n\nUsing static key is not recommended",
715
+ "type": "string"
716
+ },
717
+ "sessionToken": {
718
+ "description": "AWS_SESSION_TOKEN Token\n\nEven if it is possible to add it here\nIt is not sustainable as this token at its best will\nhave a lifetime of 12 hours",
719
+ "type": "string"
720
+ },
721
+ "type": {
722
+ "description": "Type of the service",
723
+ "type": "string"
724
+ },
725
+ "openapi": {
726
+ "type": "object",
727
+ "additionalProperties": true
728
+ }
729
+ },
730
+ "required": [
731
+ "type"
732
+ ],
733
+ "type": "object",
734
+ "title": "CloudFormationDeployer"
735
+ },
736
+ "Configuration": "lib/deployers/cloudformation.service:CloudFormationDeployerParameters",
737
+ "capabilities": [
738
+ "deployer"
739
+ ],
740
+ "commands": {
741
+ "deploy": {
742
+ "description": "Deploy the application with AWS CloudFormation",
743
+ "method": "deploy",
744
+ "args": {},
745
+ "requires": [
746
+ "router",
747
+ "rest-domain"
748
+ ]
749
+ }
750
+ }
751
+ },
159
752
  "Webda/CloudWatchLogger": {
160
753
  "Import": "lib/services/cloudwatchlogger.service:CloudWatchLogger",
161
754
  "Schema": {
@@ -489,6 +1082,111 @@
489
1082
  },
490
1083
  "Configuration": "lib/services/lambdacaller.service:LambdaCallerParameters"
491
1084
  },
1085
+ "Webda/LambdaPackager": {
1086
+ "Import": "lib/deployers/lambdapackager.service:LambdaPackager",
1087
+ "Schema": {
1088
+ "$schema": "http://json-schema.org/draft-07/schema#",
1089
+ "additionalProperties": false,
1090
+ "definitions": {
1091
+ "PackageOptions": {
1092
+ "additionalProperties": false,
1093
+ "description": "Options of {@link packageApplication}",
1094
+ "properties": {
1095
+ "excludePatterns": {
1096
+ "default": [
1097
+ "\\.d\\.ts$"
1098
+ ],
1099
+ "description": "Regular expressions on the source path of the files to skip",
1100
+ "items": {
1101
+ "type": "string"
1102
+ },
1103
+ "type": "array"
1104
+ },
1105
+ "ignores": {
1106
+ "description": "Additional top-level entries of the application to skip",
1107
+ "items": {
1108
+ "type": "string"
1109
+ },
1110
+ "type": "array"
1111
+ },
1112
+ "modules": {
1113
+ "$ref": "#/definitions/package%24modules",
1114
+ "description": "Dependencies to add or remove from the application production dependencies"
1115
+ }
1116
+ },
1117
+ "type": "object"
1118
+ },
1119
+ "package$modules": {
1120
+ "additionalProperties": false,
1121
+ "properties": {
1122
+ "excludes": {
1123
+ "items": {
1124
+ "type": "string"
1125
+ },
1126
+ "type": "array"
1127
+ },
1128
+ "includes": {
1129
+ "items": {
1130
+ "type": "string"
1131
+ },
1132
+ "type": "array"
1133
+ }
1134
+ },
1135
+ "type": "object"
1136
+ }
1137
+ },
1138
+ "description": "Lambda Packager parameters",
1139
+ "properties": {
1140
+ "customAwsSdk": {
1141
+ "default": false,
1142
+ "description": "The application includes its own aws-sdk v2",
1143
+ "type": "boolean"
1144
+ },
1145
+ "entrypoint": {
1146
+ "description": "File to add as `entrypoint.js` at the root of the package",
1147
+ "type": "string"
1148
+ },
1149
+ "name": {
1150
+ "description": "Name of the unit",
1151
+ "type": "string"
1152
+ },
1153
+ "package": {
1154
+ "$ref": "#/definitions/PackageOptions",
1155
+ "description": "How to select the files of the application"
1156
+ },
1157
+ "type": {
1158
+ "description": "Type of the service",
1159
+ "type": "string"
1160
+ },
1161
+ "zipPath": {
1162
+ "default": "dist/lambda-${package.version}.zip",
1163
+ "description": "Path of the zip to create",
1164
+ "type": "string"
1165
+ },
1166
+ "openapi": {
1167
+ "type": "object",
1168
+ "additionalProperties": true
1169
+ }
1170
+ },
1171
+ "required": [
1172
+ "type"
1173
+ ],
1174
+ "type": "object",
1175
+ "title": "LambdaPackager"
1176
+ },
1177
+ "Configuration": "lib/deployers/lambdapackager.service:LambdaPackagerParameters",
1178
+ "capabilities": [
1179
+ "deployer"
1180
+ ],
1181
+ "commands": {
1182
+ "aws package": {
1183
+ "description": "Package the application as an AWS Lambda zip",
1184
+ "method": "package",
1185
+ "args": {},
1186
+ "phase": "resolved"
1187
+ }
1188
+ }
1189
+ },
492
1190
  "Webda/LambdaServer": {
493
1191
  "Import": "lib/services/lambdaserver.service:LambdaServer",
494
1192
  "Schema": {
@@ -746,10 +1444,6 @@
746
1444
  "additionalProperties": false,
747
1445
  "description": "Represent a file to store",
748
1446
  "properties": {
749
- "challenge": {
750
- "description": "Will be computed by the service\n\nhash of the content prefixed by 'WEBDA'",
751
- "type": "string"
752
- },
753
1447
  "hash": {
754
1448
  "description": "Will be computed by the service\n\nhash of the content",
755
1449
  "type": "string"