@mapbox/cloudfriend 5.1.2-SNAPSHOT-13 → 6.0.0-SNAPSHOT-1

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 (77) hide show
  1. package/.nyc_output/520655c5-a674-40fe-935c-4cace7e4719f.json +1 -0
  2. package/.nyc_output/cfc820e0-b613-4675-b027-ca1a7c3c3d64.json +1 -0
  3. package/.nyc_output/processinfo/520655c5-a674-40fe-935c-4cace7e4719f.json +1 -0
  4. package/.nyc_output/processinfo/cfc820e0-b613-4675-b027-ca1a7c3c3d64.json +1 -0
  5. package/.nyc_output/processinfo/index.json +1 -0
  6. package/.python-version +1 -0
  7. package/.travis.yml +5 -2
  8. package/coverage/base.css +224 -0
  9. package/coverage/block-navigation.js +79 -0
  10. package/coverage/cloudfriend/bin/build-template.js.html +124 -0
  11. package/coverage/cloudfriend/bin/index.html +110 -0
  12. package/coverage/cloudfriend/index.html +110 -0
  13. package/coverage/cloudfriend/index.js.html +301 -0
  14. package/coverage/cloudfriend/lib/build.js.html +211 -0
  15. package/coverage/cloudfriend/lib/conditions.js.html +424 -0
  16. package/coverage/cloudfriend/lib/index.html +200 -0
  17. package/coverage/cloudfriend/lib/intrinsic.js.html +880 -0
  18. package/coverage/cloudfriend/lib/merge.js.html +472 -0
  19. package/coverage/cloudfriend/lib/pseudo.js.html +364 -0
  20. package/coverage/cloudfriend/lib/rules.js.html +343 -0
  21. package/coverage/cloudfriend/lib/shortcuts/cross-account-role.js.html +238 -0
  22. package/coverage/cloudfriend/lib/shortcuts/event-lambda.js.html +361 -0
  23. package/coverage/cloudfriend/lib/shortcuts/glue-database.js.html +280 -0
  24. package/coverage/cloudfriend/lib/shortcuts/glue-json-table.js.html +229 -0
  25. package/coverage/cloudfriend/lib/shortcuts/glue-orc-table.js.html +220 -0
  26. package/coverage/cloudfriend/lib/shortcuts/glue-parquet-table.js.html +262 -0
  27. package/coverage/cloudfriend/lib/shortcuts/glue-presto-view.js.html +352 -0
  28. package/coverage/cloudfriend/lib/shortcuts/glue-spark-view.js.html +235 -0
  29. package/coverage/cloudfriend/lib/shortcuts/glue-table.js.html +475 -0
  30. package/coverage/cloudfriend/lib/shortcuts/hookshot.js.html +1462 -0
  31. package/coverage/cloudfriend/lib/shortcuts/index.html +410 -0
  32. package/coverage/cloudfriend/lib/shortcuts/index.js.html +148 -0
  33. package/coverage/cloudfriend/lib/shortcuts/kinesis-firehose-base.js.html +412 -0
  34. package/coverage/cloudfriend/lib/shortcuts/lambda.js.html +799 -0
  35. package/coverage/cloudfriend/lib/shortcuts/log-subscription-lambda.js.html +304 -0
  36. package/coverage/cloudfriend/lib/shortcuts/queue-lambda.js.html +358 -0
  37. package/coverage/cloudfriend/lib/shortcuts/queue.js.html +613 -0
  38. package/coverage/cloudfriend/lib/shortcuts/role.js.html +376 -0
  39. package/coverage/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js.html +562 -0
  40. package/coverage/cloudfriend/lib/shortcuts/scheduled-lambda.js.html +340 -0
  41. package/coverage/cloudfriend/lib/shortcuts/service-role.js.html +301 -0
  42. package/coverage/cloudfriend/lib/shortcuts/stream-lambda.js.html +373 -0
  43. package/coverage/cloudfriend/lib/validate.js.html +148 -0
  44. package/coverage/index.html +155 -0
  45. package/coverage/prettify.css +1 -0
  46. package/coverage/prettify.js +2 -0
  47. package/coverage/sort-arrow-sprite.png +0 -0
  48. package/coverage/sorter.js +170 -0
  49. package/lib/shortcuts/api.md +267 -245
  50. package/lib/shortcuts/hookshot.js +3 -3
  51. package/lib/shortcuts/lambda.js +2 -2
  52. package/package.json +5 -8
  53. package/test/fixtures/shortcuts/event-lambda-defaults.json +1 -1
  54. package/test/fixtures/shortcuts/event-lambda-full.json +1 -1
  55. package/test/fixtures/shortcuts/hookshot-github-secret-ref.json +5 -5
  56. package/test/fixtures/shortcuts/hookshot-github-secret-string.json +5 -5
  57. package/test/fixtures/shortcuts/hookshot-github.json +5 -5
  58. package/test/fixtures/shortcuts/hookshot-passthrough-access-log-format.json +6 -6
  59. package/test/fixtures/shortcuts/hookshot-passthrough-alarms.json +6 -6
  60. package/test/fixtures/shortcuts/hookshot-passthrough-enhanced-logging.json +6 -6
  61. package/test/fixtures/shortcuts/hookshot-passthrough-full-blown-logging.json +6 -6
  62. package/test/fixtures/shortcuts/hookshot-passthrough-logging.json +6 -6
  63. package/test/fixtures/shortcuts/hookshot-passthrough.json +6 -6
  64. package/test/fixtures/shortcuts/lambda-defaults.json +1 -1
  65. package/test/fixtures/shortcuts/lambda-docker.json +2 -2
  66. package/test/fixtures/shortcuts/lambda-full.json +1 -1
  67. package/test/fixtures/shortcuts/lambda-provided-role.json +1 -1
  68. package/test/fixtures/shortcuts/lambda-zipfile.json +1 -1
  69. package/test/fixtures/shortcuts/log-subscription-lambda-defaults.json +1 -1
  70. package/test/fixtures/shortcuts/log-subscription-lambda-no-defaults.json +1 -1
  71. package/test/fixtures/shortcuts/queue-lambda-zero.json +1 -1
  72. package/test/fixtures/shortcuts/queue-lambda.json +1 -1
  73. package/test/fixtures/shortcuts/scheduled-lambda-defaults.json +1 -1
  74. package/test/fixtures/shortcuts/scheduled-lambda-full.json +1 -1
  75. package/test/fixtures/shortcuts/stream-lambda-defaults.json +1 -1
  76. package/test/fixtures/shortcuts/stream-lambda-no-defaults.json +1 -1
  77. package/test/shortcuts.test.js +1 -1
@@ -160,7 +160,7 @@ class Passthrough {
160
160
  RestApiId: { Ref: `${Prefix}Api` },
161
161
  ResourceId: { Ref: `${Prefix}Resource` },
162
162
  ApiKeyRequired: false,
163
- AuthorizationType: 'None',
163
+ AuthorizationType: 'NONE',
164
164
  HttpMethod: 'OPTIONS',
165
165
  Integration: {
166
166
  Type: 'AWS_PROXY',
@@ -246,7 +246,7 @@ class Passthrough {
246
246
  RestApiId: { Ref: `${this.Prefix}Api` },
247
247
  ResourceId: { Ref: `${this.Prefix}Resource` },
248
248
  ApiKeyRequired: false,
249
- AuthorizationType: 'None',
249
+ AuthorizationType: 'NONE',
250
250
  HttpMethod: 'POST',
251
251
  Integration: {
252
252
  Type: 'AWS_PROXY',
@@ -366,7 +366,7 @@ class Github extends Passthrough {
366
366
  RestApiId: { Ref: `${this.Prefix}Api` },
367
367
  ResourceId: { Ref: `${this.Prefix}Resource` },
368
368
  ApiKeyRequired: false,
369
- AuthorizationType: 'None',
369
+ AuthorizationType: 'NONE',
370
370
  HttpMethod: 'POST',
371
371
  Integration: {
372
372
  Type: 'AWS',
@@ -21,7 +21,7 @@ const ServiceRole = require('./service-role');
21
21
  * @param {Array<String>} [options.Layers=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers).
22
22
  * @param {Number} [options.MemorySize=128] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize).
23
23
  * @param {Number} [options.ReservedConcurrentExecutions=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions).
24
- * @param {String} [options.Runtime='nodejs12.x'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime).
24
+ * @param {String} [options.Runtime='nodejs16.x'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime).
25
25
  * @param {Array<Object>} [options.Tags=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags).
26
26
  * @param {Number} [options.Timeout=300] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-timeout).
27
27
  * @param {Object} [options.TracingConfig=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tracingconfig).
@@ -78,7 +78,7 @@ class Lambda {
78
78
  Layers,
79
79
  MemorySize = 128,
80
80
  ReservedConcurrentExecutions,
81
- Runtime = 'nodejs12.x',
81
+ Runtime = 'nodejs16.x',
82
82
  Tags,
83
83
  Timeout = 300,
84
84
  TracingConfig,
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@mapbox/cloudfriend",
3
- "version": "5.1.2-SNAPSHOT-13",
3
+ "version": "6.0.0-SNAPSHOT-1",
4
4
  "description": "Helper functions for assembling CloudFormation templates in JavaScript",
5
5
  "main": "index.js",
6
6
  "engines": {
7
- "node": ">=10"
7
+ "node": ">=14"
8
8
  },
9
9
  "scripts": {
10
10
  "pretest": "eslint index.js test lib bin cloudformation && npm run shortcuts-api-doc",
11
11
  "test": "nyc tape test/*.test.js | tap-spec",
12
12
  "coverage": "nyc --reporter html tape test/*.test.js && opener coverage/index.html",
13
13
  "build-ci-template": "bin/build-template.js cloudformation/ci.template.js > cloudformation/ci.template.json",
14
- "copyeditor-shortcuts": "copyeditor -q lib/shortcuts/api.md",
15
- "shortcuts-api-doc": "documentation build lib/shortcuts/index.js -f md -o lib/shortcuts/api.md && npm run copyeditor-shortcuts"
14
+ "shortcuts-api-doc": "documentation build lib/shortcuts/index.js -f md -o lib/shortcuts/api.md"
16
15
  },
17
16
  "bin": {
18
17
  "build-template": "bin/build-template.js",
@@ -33,19 +32,17 @@
33
32
  },
34
33
  "homepage": "https://github.com/mapbox/cloudfriend#readme",
35
34
  "devDependencies": {
36
- "@mapbox/copyeditor": "^0.8.0",
37
35
  "@mapbox/eslint-config-mapbox": "^1.2.1",
38
- "documentation": "^13.0.0",
36
+ "documentation": "^14.0.0",
39
37
  "eslint": "^4.18.2",
40
38
  "eslint-plugin-node": "^6.0.1",
41
39
  "nyc": "^14.1.0",
42
40
  "opener": "^1.4.1",
43
- "p-queue": "^6.3.0",
44
41
  "tap-spec": "^5.0.0",
45
42
  "tape": "^4.6.0"
46
43
  },
47
44
  "dependencies": {
48
- "aws-sdk": "^2.829.0",
45
+ "aws-sdk": "^2.1225.0",
49
46
  "minimist": "^1.2.6",
50
47
  "redent": "^2.0.0"
51
48
  },
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -28,7 +28,7 @@
28
28
  "Type": "AWS::ApiGateway::Stage",
29
29
  "Properties": {
30
30
  "DeploymentId": {
31
- "Ref": "PassDeployment0209686b"
31
+ "Ref": "PassDeploymentec912fae"
32
32
  },
33
33
  "StageName": "hookshot",
34
34
  "RestApiId": {
@@ -47,7 +47,7 @@
47
47
  ]
48
48
  }
49
49
  },
50
- "PassDeployment0209686b": {
50
+ "PassDeploymentec912fae": {
51
51
  "Type": "AWS::ApiGateway::Deployment",
52
52
  "DependsOn": "PassMethod",
53
53
  "Properties": {
@@ -82,7 +82,7 @@
82
82
  "Ref": "PassResource"
83
83
  },
84
84
  "ApiKeyRequired": false,
85
- "AuthorizationType": "None",
85
+ "AuthorizationType": "NONE",
86
86
  "HttpMethod": "POST",
87
87
  "Integration": {
88
88
  "Type": "AWS",
@@ -181,7 +181,7 @@
181
181
  },
182
182
  "Handler": "index.lambda",
183
183
  "MemorySize": 128,
184
- "Runtime": "nodejs12.x",
184
+ "Runtime": "nodejs16.x",
185
185
  "Timeout": 30,
186
186
  "Role": {
187
187
  "Fn::GetAtt": [
@@ -322,7 +322,7 @@
322
322
  },
323
323
  "Handler": "index.handler",
324
324
  "MemorySize": 128,
325
- "Runtime": "nodejs12.x",
325
+ "Runtime": "nodejs16.x",
326
326
  "Timeout": 300,
327
327
  "Role": {
328
328
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "POST",
83
83
  "Integration": {
84
84
  "Type": "AWS",
@@ -175,7 +175,7 @@
175
175
  },
176
176
  "Handler": "index.lambda",
177
177
  "MemorySize": 128,
178
- "Runtime": "nodejs12.x",
178
+ "Runtime": "nodejs16.x",
179
179
  "Timeout": 30,
180
180
  "Role": {
181
181
  "Fn::GetAtt": [
@@ -316,7 +316,7 @@
316
316
  },
317
317
  "Handler": "index.handler",
318
318
  "MemorySize": 128,
319
- "Runtime": "nodejs12.x",
319
+ "Runtime": "nodejs16.x",
320
320
  "Timeout": 300,
321
321
  "Role": {
322
322
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "POST",
83
83
  "Integration": {
84
84
  "Type": "AWS",
@@ -183,7 +183,7 @@
183
183
  },
184
184
  "Handler": "index.lambda",
185
185
  "MemorySize": 128,
186
- "Runtime": "nodejs12.x",
186
+ "Runtime": "nodejs16.x",
187
187
  "Timeout": 30,
188
188
  "Role": {
189
189
  "Fn::GetAtt": [
@@ -324,7 +324,7 @@
324
324
  },
325
325
  "Handler": "index.handler",
326
326
  "MemorySize": 128,
327
- "Runtime": "nodejs12.x",
327
+ "Runtime": "nodejs16.x",
328
328
  "Timeout": 300,
329
329
  "Role": {
330
330
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -52,7 +52,7 @@
52
52
  }
53
53
  }
54
54
  },
55
- "PassDeployment0209686b": {
55
+ "PassDeploymentec912fae": {
56
56
  "Type": "AWS::ApiGateway::Deployment",
57
57
  "DependsOn": "PassMethod",
58
58
  "Properties": {
@@ -87,7 +87,7 @@
87
87
  "Ref": "PassResource"
88
88
  },
89
89
  "ApiKeyRequired": false,
90
- "AuthorizationType": "None",
90
+ "AuthorizationType": "NONE",
91
91
  "HttpMethod": "OPTIONS",
92
92
  "Integration": {
93
93
  "Type": "AWS_PROXY",
@@ -108,7 +108,7 @@
108
108
  "Ref": "PassResource"
109
109
  },
110
110
  "ApiKeyRequired": false,
111
- "AuthorizationType": "None",
111
+ "AuthorizationType": "NONE",
112
112
  "HttpMethod": "POST",
113
113
  "Integration": {
114
114
  "Type": "AWS_PROXY",
@@ -179,7 +179,7 @@
179
179
  },
180
180
  "Handler": "index.lambda",
181
181
  "MemorySize": 128,
182
- "Runtime": "nodejs12.x",
182
+ "Runtime": "nodejs16.x",
183
183
  "Timeout": 30,
184
184
  "Role": {
185
185
  "Fn::GetAtt": [
@@ -320,7 +320,7 @@
320
320
  },
321
321
  "Handler": "index.handler",
322
322
  "MemorySize": 128,
323
- "Runtime": "nodejs12.x",
323
+ "Runtime": "nodejs16.x",
324
324
  "Timeout": 300,
325
325
  "Role": {
326
326
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "OPTIONS",
83
83
  "Integration": {
84
84
  "Type": "AWS_PROXY",
@@ -99,7 +99,7 @@
99
99
  "Ref": "PassResource"
100
100
  },
101
101
  "ApiKeyRequired": false,
102
- "AuthorizationType": "None",
102
+ "AuthorizationType": "NONE",
103
103
  "HttpMethod": "POST",
104
104
  "Integration": {
105
105
  "Type": "AWS_PROXY",
@@ -161,7 +161,7 @@
161
161
  },
162
162
  "Handler": "index.lambda",
163
163
  "MemorySize": 128,
164
- "Runtime": "nodejs12.x",
164
+ "Runtime": "nodejs16.x",
165
165
  "Timeout": 30,
166
166
  "Role": {
167
167
  "Fn::GetAtt": [
@@ -304,7 +304,7 @@
304
304
  },
305
305
  "Handler": "index.handler",
306
306
  "MemorySize": 128,
307
- "Runtime": "nodejs12.x",
307
+ "Runtime": "nodejs16.x",
308
308
  "Timeout": 300,
309
309
  "Role": {
310
310
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "OPTIONS",
83
83
  "Integration": {
84
84
  "Type": "AWS_PROXY",
@@ -99,7 +99,7 @@
99
99
  "Ref": "PassResource"
100
100
  },
101
101
  "ApiKeyRequired": false,
102
- "AuthorizationType": "None",
102
+ "AuthorizationType": "NONE",
103
103
  "HttpMethod": "POST",
104
104
  "Integration": {
105
105
  "Type": "AWS_PROXY",
@@ -161,7 +161,7 @@
161
161
  },
162
162
  "Handler": "index.lambda",
163
163
  "MemorySize": 128,
164
- "Runtime": "nodejs12.x",
164
+ "Runtime": "nodejs16.x",
165
165
  "Timeout": 30,
166
166
  "Role": {
167
167
  "Fn::GetAtt": [
@@ -302,7 +302,7 @@
302
302
  },
303
303
  "Handler": "index.handler",
304
304
  "MemorySize": 128,
305
- "Runtime": "nodejs12.x",
305
+ "Runtime": "nodejs16.x",
306
306
  "Timeout": 300,
307
307
  "Role": {
308
308
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "OPTIONS",
83
83
  "Integration": {
84
84
  "Type": "AWS_PROXY",
@@ -99,7 +99,7 @@
99
99
  "Ref": "PassResource"
100
100
  },
101
101
  "ApiKeyRequired": false,
102
- "AuthorizationType": "None",
102
+ "AuthorizationType": "NONE",
103
103
  "HttpMethod": "POST",
104
104
  "Integration": {
105
105
  "Type": "AWS_PROXY",
@@ -161,7 +161,7 @@
161
161
  },
162
162
  "Handler": "index.lambda",
163
163
  "MemorySize": 128,
164
- "Runtime": "nodejs12.x",
164
+ "Runtime": "nodejs16.x",
165
165
  "Timeout": 30,
166
166
  "Role": {
167
167
  "Fn::GetAtt": [
@@ -302,7 +302,7 @@
302
302
  },
303
303
  "Handler": "index.handler",
304
304
  "MemorySize": 128,
305
- "Runtime": "nodejs12.x",
305
+ "Runtime": "nodejs16.x",
306
306
  "Timeout": 300,
307
307
  "Role": {
308
308
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "OPTIONS",
83
83
  "Integration": {
84
84
  "Type": "AWS_PROXY",
@@ -99,7 +99,7 @@
99
99
  "Ref": "PassResource"
100
100
  },
101
101
  "ApiKeyRequired": false,
102
- "AuthorizationType": "None",
102
+ "AuthorizationType": "NONE",
103
103
  "HttpMethod": "POST",
104
104
  "Integration": {
105
105
  "Type": "AWS_PROXY",
@@ -161,7 +161,7 @@
161
161
  },
162
162
  "Handler": "index.lambda",
163
163
  "MemorySize": 128,
164
- "Runtime": "nodejs12.x",
164
+ "Runtime": "nodejs16.x",
165
165
  "Timeout": 30,
166
166
  "Role": {
167
167
  "Fn::GetAtt": [
@@ -302,7 +302,7 @@
302
302
  },
303
303
  "Handler": "index.handler",
304
304
  "MemorySize": 128,
305
- "Runtime": "nodejs12.x",
305
+ "Runtime": "nodejs16.x",
306
306
  "Timeout": 300,
307
307
  "Role": {
308
308
  "Fn::GetAtt": [
@@ -24,7 +24,7 @@
24
24
  "Type": "AWS::ApiGateway::Stage",
25
25
  "Properties": {
26
26
  "DeploymentId": {
27
- "Ref": "PassDeployment0209686b"
27
+ "Ref": "PassDeploymentec912fae"
28
28
  },
29
29
  "StageName": "hookshot",
30
30
  "RestApiId": {
@@ -43,7 +43,7 @@
43
43
  ]
44
44
  }
45
45
  },
46
- "PassDeployment0209686b": {
46
+ "PassDeploymentec912fae": {
47
47
  "Type": "AWS::ApiGateway::Deployment",
48
48
  "DependsOn": "PassMethod",
49
49
  "Properties": {
@@ -78,7 +78,7 @@
78
78
  "Ref": "PassResource"
79
79
  },
80
80
  "ApiKeyRequired": false,
81
- "AuthorizationType": "None",
81
+ "AuthorizationType": "NONE",
82
82
  "HttpMethod": "OPTIONS",
83
83
  "Integration": {
84
84
  "Type": "AWS_PROXY",
@@ -99,7 +99,7 @@
99
99
  "Ref": "PassResource"
100
100
  },
101
101
  "ApiKeyRequired": false,
102
- "AuthorizationType": "None",
102
+ "AuthorizationType": "NONE",
103
103
  "HttpMethod": "POST",
104
104
  "Integration": {
105
105
  "Type": "AWS_PROXY",
@@ -161,7 +161,7 @@
161
161
  },
162
162
  "Handler": "index.lambda",
163
163
  "MemorySize": 128,
164
- "Runtime": "nodejs12.x",
164
+ "Runtime": "nodejs16.x",
165
165
  "Timeout": 30,
166
166
  "Role": {
167
167
  "Fn::GetAtt": [
@@ -302,7 +302,7 @@
302
302
  },
303
303
  "Handler": "index.handler",
304
304
  "MemorySize": 128,
305
- "Runtime": "nodejs12.x",
305
+ "Runtime": "nodejs16.x",
306
306
  "Timeout": 300,
307
307
  "Role": {
308
308
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -25,7 +25,6 @@
25
25
  "MyLambda": {
26
26
  "Type": "AWS::Lambda::Function",
27
27
  "Properties": {
28
- "PackageType": "Image",
29
28
  "Code": {
30
29
  "ImageUri": "MyImage"
31
30
  },
@@ -42,7 +41,8 @@
42
41
  "MyLambdaRole",
43
42
  "Arn"
44
43
  ]
45
- }
44
+ },
45
+ "PackageType": "Image"
46
46
  }
47
47
  },
48
48
  "MyLambdaErrorAlarm": {
@@ -57,7 +57,7 @@
57
57
  ],
58
58
  "MemorySize": 512,
59
59
  "ReservedConcurrentExecutions": 10,
60
- "Runtime": "nodejs12.x",
60
+ "Runtime": "nodejs16.x",
61
61
  "Timeout": 30,
62
62
  "TracingConfig": {
63
63
  "Mode": "Active"
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "Handler": "index.handler",
38
38
  "MemorySize": 128,
39
- "Runtime": "nodejs12.x",
39
+ "Runtime": "nodejs16.x",
40
40
  "Timeout": 300,
41
41
  "Role": {
42
42
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
- "Runtime": "nodejs12.x",
40
+ "Runtime": "nodejs16.x",
41
41
  "Timeout": 300,
42
42
  "Role": {
43
43
  "Fn::GetAtt": [
@@ -38,7 +38,7 @@
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
40
  "ReservedConcurrentExecutions": 0,
41
- "Runtime": "nodejs12.x",
41
+ "Runtime": "nodejs16.x",
42
42
  "Timeout": 300,
43
43
  "Role": {
44
44
  "Fn::GetAtt": [
@@ -38,7 +38,7 @@
38
38
  "Handler": "index.handler",
39
39
  "MemorySize": 128,
40
40
  "ReservedConcurrentExecutions": 10,
41
- "Runtime": "nodejs12.x",
41
+ "Runtime": "nodejs16.x",
42
42
  "Timeout": 300,
43
43
  "Role": {
44
44
  "Fn::GetAtt": [