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

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 (35) hide show
  1. package/README.md +5 -6
  2. package/lib/deployers/awsdeployer.d.ts +10 -4
  3. package/lib/deployers/awsdeployer.d.ts.map +1 -1
  4. package/lib/deployers/awsdeployer.js +19 -5
  5. package/lib/deployers/awsdeployer.js.map +1 -1
  6. package/lib/services/aws-parameters.d.ts +17 -3
  7. package/lib/services/aws-parameters.d.ts.map +1 -1
  8. package/lib/services/aws-parameters.js +18 -0
  9. package/lib/services/aws-parameters.js.map +1 -1
  10. package/lib/services/cloudwatchlogger.service.d.ts +6 -4
  11. package/lib/services/cloudwatchlogger.service.d.ts.map +1 -1
  12. package/lib/services/cloudwatchlogger.service.js +2 -2
  13. package/lib/services/cloudwatchlogger.service.js.map +1 -1
  14. package/lib/services/dynamodb.service.d.ts +18 -4
  15. package/lib/services/dynamodb.service.d.ts.map +1 -1
  16. package/lib/services/dynamodb.service.js +23 -3
  17. package/lib/services/dynamodb.service.js.map +1 -1
  18. package/lib/services/lambdacaller.service.d.ts +6 -3
  19. package/lib/services/lambdacaller.service.d.ts.map +1 -1
  20. package/lib/services/lambdacaller.service.js +2 -2
  21. package/lib/services/lambdacaller.service.js.map +1 -1
  22. package/lib/services/s3binary.service.d.ts +21 -4
  23. package/lib/services/s3binary.service.d.ts.map +1 -1
  24. package/lib/services/s3binary.service.js +29 -9
  25. package/lib/services/s3binary.service.js.map +1 -1
  26. package/lib/services/secretsmanager.service.d.ts +6 -4
  27. package/lib/services/secretsmanager.service.d.ts.map +1 -1
  28. package/lib/services/secretsmanager.service.js +2 -2
  29. package/lib/services/secretsmanager.service.js.map +1 -1
  30. package/lib/services/sqsqueue.service.d.ts +6 -4
  31. package/lib/services/sqsqueue.service.d.ts.map +1 -1
  32. package/lib/services/sqsqueue.service.js +2 -2
  33. package/lib/services/sqsqueue.service.js.map +1 -1
  34. package/package.json +7 -7
  35. package/webda.module.json +87 -36
package/webda.module.json CHANGED
@@ -105,16 +105,19 @@
105
105
  "definitions": {
106
106
  "credentials": {
107
107
  "additionalProperties": false,
108
- "description": "Static credentials, default to the AWS environment variables",
108
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
109
109
  "properties": {
110
110
  "accessKeyId": {
111
- "type": "string"
111
+ "type": "string",
112
+ "x-webda-secret": true
112
113
  },
113
114
  "secretAccessKey": {
114
- "type": "string"
115
+ "type": "string",
116
+ "x-webda-secret": true
115
117
  },
116
118
  "sessionToken": {
117
- "type": "string"
119
+ "type": "string",
120
+ "x-webda-secret": true
118
121
  }
119
122
  },
120
123
  "required": [
@@ -128,7 +131,7 @@
128
131
  "properties": {
129
132
  "credentials": {
130
133
  "$ref": "#/definitions/credentials",
131
- "description": "Static credentials, default to the AWS environment variables"
134
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
132
135
  },
133
136
  "endpoint": {
134
137
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -386,6 +389,13 @@
386
389
  },
387
390
  "type": "array"
388
391
  },
392
+ "excludeServices": {
393
+ "description": "Services to remove from the packaged configuration, like the ones injected by the CLI to run a command",
394
+ "items": {
395
+ "type": "string"
396
+ },
397
+ "type": "array"
398
+ },
389
399
  "ignores": {
390
400
  "description": "Additional top-level entries of the application to skip",
391
401
  "items": {
@@ -694,8 +704,9 @@
694
704
  "description": "Default Tags to use with resources created by deployers"
695
705
  },
696
706
  "accessKeyId": {
697
- "description": "AWS_ACCESS_KEY_ID to use\n\nUsing static key is not recommended",
698
- "type": "string"
707
+ "description": "AWS_ACCESS_KEY_ID to use\n\nUsing static key is not recommended\n\nCan be encrypted with `webda config encrypt`",
708
+ "type": "string",
709
+ "x-webda-secret": true
699
710
  },
700
711
  "endpoints": {
701
712
  "$ref": "#/definitions/endpoints",
@@ -711,12 +722,14 @@
711
722
  "type": "string"
712
723
  },
713
724
  "secretAccessKey": {
714
- "description": "AWS_SECRET_ACCESS_KEY to use\n\nUsing static key is not recommended",
715
- "type": "string"
725
+ "description": "AWS_SECRET_ACCESS_KEY to use\n\nUsing static key is not recommended\n\nCan be encrypted with `webda config encrypt`",
726
+ "type": "string",
727
+ "x-webda-secret": true
716
728
  },
717
729
  "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"
730
+ "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\n\nCan be encrypted with `webda config encrypt`",
731
+ "type": "string",
732
+ "x-webda-secret": true
720
733
  },
721
734
  "type": {
722
735
  "description": "Type of the service",
@@ -757,16 +770,19 @@
757
770
  "definitions": {
758
771
  "credentials": {
759
772
  "additionalProperties": false,
760
- "description": "Static credentials, default to the AWS environment variables",
773
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
761
774
  "properties": {
762
775
  "accessKeyId": {
763
- "type": "string"
776
+ "type": "string",
777
+ "x-webda-secret": true
764
778
  },
765
779
  "secretAccessKey": {
766
- "type": "string"
780
+ "type": "string",
781
+ "x-webda-secret": true
767
782
  },
768
783
  "sessionToken": {
769
- "type": "string"
784
+ "type": "string",
785
+ "x-webda-secret": true
770
786
  }
771
787
  },
772
788
  "required": [
@@ -788,7 +804,7 @@
788
804
  },
789
805
  "credentials": {
790
806
  "$ref": "#/definitions/credentials",
791
- "description": "Static credentials, default to the AWS environment variables"
807
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
792
808
  },
793
809
  "endpoint": {
794
810
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -864,16 +880,19 @@
864
880
  },
865
881
  "credentials": {
866
882
  "additionalProperties": false,
867
- "description": "Static credentials, default to the AWS environment variables",
883
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
868
884
  "properties": {
869
885
  "accessKeyId": {
870
- "type": "string"
886
+ "type": "string",
887
+ "x-webda-secret": true
871
888
  },
872
889
  "secretAccessKey": {
873
- "type": "string"
890
+ "type": "string",
891
+ "x-webda-secret": true
874
892
  },
875
893
  "sessionToken": {
876
- "type": "string"
894
+ "type": "string",
895
+ "x-webda-secret": true
877
896
  }
878
897
  },
879
898
  "required": [
@@ -924,9 +943,19 @@
924
943
  "description": "Skip CloudFormation on deploy",
925
944
  "type": "boolean"
926
945
  },
946
+ "aggregationFallback": {
947
+ "default": "warn",
948
+ "description": "What to do when an aggregation on this store cannot run natively and must\nstream every matching object through memory",
949
+ "enum": [
950
+ "allow",
951
+ "warn",
952
+ "deny"
953
+ ],
954
+ "type": "string"
955
+ },
927
956
  "credentials": {
928
957
  "$ref": "#/definitions/credentials",
929
- "description": "Static credentials, default to the AWS environment variables"
958
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
930
959
  },
931
960
  "defaultModel": {
932
961
  "default": true,
@@ -946,6 +975,12 @@
946
975
  "$ref": "#/definitions/DynamoGlobalIndexes",
947
976
  "description": "Additional global indexes"
948
977
  },
978
+ "maxGroups": {
979
+ "default": 10000,
980
+ "description": "Maximum number of groups an aggregation may produce without LIMIT (or in memory)",
981
+ "minimum": 1,
982
+ "type": "number"
983
+ },
949
984
  "modelAliases": {
950
985
  "$ref": "#/definitions/modelAliases",
951
986
  "description": "Model Aliases to allow easier rename of Model"
@@ -1018,16 +1053,19 @@
1018
1053
  "definitions": {
1019
1054
  "credentials": {
1020
1055
  "additionalProperties": false,
1021
- "description": "Static credentials, default to the AWS environment variables",
1056
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
1022
1057
  "properties": {
1023
1058
  "accessKeyId": {
1024
- "type": "string"
1059
+ "type": "string",
1060
+ "x-webda-secret": true
1025
1061
  },
1026
1062
  "secretAccessKey": {
1027
- "type": "string"
1063
+ "type": "string",
1064
+ "x-webda-secret": true
1028
1065
  },
1029
1066
  "sessionToken": {
1030
- "type": "string"
1067
+ "type": "string",
1068
+ "x-webda-secret": true
1031
1069
  }
1032
1070
  },
1033
1071
  "required": [
@@ -1053,7 +1091,7 @@
1053
1091
  },
1054
1092
  "credentials": {
1055
1093
  "$ref": "#/definitions/credentials",
1056
- "description": "Static credentials, default to the AWS environment variables"
1094
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
1057
1095
  },
1058
1096
  "endpoint": {
1059
1097
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -1102,6 +1140,13 @@
1102
1140
  },
1103
1141
  "type": "array"
1104
1142
  },
1143
+ "excludeServices": {
1144
+ "description": "Services to remove from the packaged configuration, like the ones injected by the CLI to run a command",
1145
+ "items": {
1146
+ "type": "string"
1147
+ },
1148
+ "type": "array"
1149
+ },
1105
1150
  "ignores": {
1106
1151
  "description": "Additional top-level entries of the application to skip",
1107
1152
  "items": {
@@ -1228,16 +1273,19 @@
1228
1273
  "definitions": {
1229
1274
  "credentials": {
1230
1275
  "additionalProperties": false,
1231
- "description": "Static credentials, default to the AWS environment variables",
1276
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
1232
1277
  "properties": {
1233
1278
  "accessKeyId": {
1234
- "type": "string"
1279
+ "type": "string",
1280
+ "x-webda-secret": true
1235
1281
  },
1236
1282
  "secretAccessKey": {
1237
- "type": "string"
1283
+ "type": "string",
1284
+ "x-webda-secret": true
1238
1285
  },
1239
1286
  "sessionToken": {
1240
- "type": "string"
1287
+ "type": "string",
1288
+ "x-webda-secret": true
1241
1289
  }
1242
1290
  },
1243
1291
  "required": [
@@ -1273,7 +1321,7 @@
1273
1321
  },
1274
1322
  "credentials": {
1275
1323
  "$ref": "#/definitions/credentials",
1276
- "description": "Static credentials, default to the AWS environment variables"
1324
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
1277
1325
  },
1278
1326
  "endpoint": {
1279
1327
  "description": "Custom endpoint (localstack, minio, ...)",
@@ -1348,16 +1396,19 @@
1348
1396
  },
1349
1397
  "credentials": {
1350
1398
  "additionalProperties": false,
1351
- "description": "Static credentials, default to the AWS environment variables",
1399
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`",
1352
1400
  "properties": {
1353
1401
  "accessKeyId": {
1354
- "type": "string"
1402
+ "type": "string",
1403
+ "x-webda-secret": true
1355
1404
  },
1356
1405
  "secretAccessKey": {
1357
- "type": "string"
1406
+ "type": "string",
1407
+ "x-webda-secret": true
1358
1408
  },
1359
1409
  "sessionToken": {
1360
- "type": "string"
1410
+ "type": "string",
1411
+ "x-webda-secret": true
1361
1412
  }
1362
1413
  },
1363
1414
  "required": [
@@ -1388,7 +1439,7 @@
1388
1439
  },
1389
1440
  "credentials": {
1390
1441
  "$ref": "#/definitions/credentials",
1391
- "description": "Static credentials, default to the AWS environment variables"
1442
+ "description": "Static credentials, default to the AWS environment variables\n\nCan be encrypted with `webda config encrypt`"
1392
1443
  },
1393
1444
  "endpoint": {
1394
1445
  "description": "Custom endpoint (localstack, minio, ...)",