@aws-solutions-constructs/aws-lambda-kinesisstreams 2.57.0 → 2.58.0
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.
- package/.jsii +45 -6
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.assets.json +2 -2
- package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.template.json +3 -1
- package/test/integ.lamkin-existingLambda.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-existingLambda.js.snapshot/tree.json +28 -28
- package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.assets.json +2 -2
- package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.template.json +3 -1
- package/test/integ.lamkin-existingStream.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-existingStream.js.snapshot/tree.json +28 -28
- package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.assets.json +2 -2
- package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.template.json +3 -1
- package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/tree.json +30 -30
- package/test/integ.lamkin-existingVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
- package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.assets.json +5 -5
- package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.template.json +4 -2
- package/test/integ.lamkin-existingVpc.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-existingVpc.js.snapshot/tree.json +79 -79
- package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.assets.json +2 -2
- package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.template.json +3 -1
- package/test/integ.lamkin-newStreamFromProps.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-newStreamFromProps.js.snapshot/tree.json +28 -28
- package/test/{integ.lamkin-newVpcFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → integ.lamkin-newVpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
- package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.assets.json +5 -5
- package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.template.json +4 -2
- package/test/integ.lamkin-newVpc.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-newVpc.js.snapshot/tree.json +59 -59
- package/test/{integ.lamkin-newVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → integ.lamkin-newVpcFromProps.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
- package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.assets.json +5 -5
- package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.template.json +4 -2
- package/test/integ.lamkin-newVpcFromProps.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-newVpcFromProps.js.snapshot/tree.json +54 -54
- package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.assets.json +2 -2
- package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.template.json +3 -1
- package/test/integ.lamkin-noArguments.js.snapshot/manifest.json +1 -1
- package/test/integ.lamkin-noArguments.js.snapshot/tree.json +28 -28
- /package/test/integ.lamkin-existingVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
- /package/test/integ.lamkin-newVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
- /package/test/integ.lamkin-newVpcFromProps.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
},
|
|
31
31
|
"constructInfo": {
|
|
32
32
|
"fqn": "aws-cdk-lib.aws_kinesis.CfnStream",
|
|
33
|
-
"version": "2.
|
|
33
|
+
"version": "2.143.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"constructInfo": {
|
|
38
38
|
"fqn": "aws-cdk-lib.aws_kinesis.Stream",
|
|
39
|
-
"version": "2.
|
|
39
|
+
"version": "2.143.0"
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"test-lambda-kinesisstreams": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"path": "lamkin-existingStream/test-lambda-kinesisstreams/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
53
53
|
"constructInfo": {
|
|
54
54
|
"fqn": "aws-cdk-lib.Resource",
|
|
55
|
-
"version": "2.
|
|
55
|
+
"version": "2.143.0"
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"Resource": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
},
|
|
116
116
|
"constructInfo": {
|
|
117
117
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
118
|
-
"version": "2.
|
|
118
|
+
"version": "2.143.0"
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"DefaultPolicy": {
|
|
@@ -165,19 +165,19 @@
|
|
|
165
165
|
},
|
|
166
166
|
"constructInfo": {
|
|
167
167
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
168
|
-
"version": "2.
|
|
168
|
+
"version": "2.143.0"
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
"constructInfo": {
|
|
173
173
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
174
|
-
"version": "2.
|
|
174
|
+
"version": "2.143.0"
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"constructInfo": {
|
|
179
179
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
180
|
-
"version": "2.
|
|
180
|
+
"version": "2.143.0"
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
"LambdaFunction": {
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"path": "lamkin-existingStream/test-lambda-kinesisstreams/LambdaFunction/Code/Stage",
|
|
194
194
|
"constructInfo": {
|
|
195
195
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
196
|
-
"version": "2.
|
|
196
|
+
"version": "2.143.0"
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
"AssetBucket": {
|
|
@@ -201,13 +201,13 @@
|
|
|
201
201
|
"path": "lamkin-existingStream/test-lambda-kinesisstreams/LambdaFunction/Code/AssetBucket",
|
|
202
202
|
"constructInfo": {
|
|
203
203
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
204
|
-
"version": "2.
|
|
204
|
+
"version": "2.143.0"
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
"constructInfo": {
|
|
209
209
|
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
210
|
-
"version": "2.
|
|
210
|
+
"version": "2.143.0"
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
213
|
"Resource": {
|
|
@@ -244,13 +244,13 @@
|
|
|
244
244
|
},
|
|
245
245
|
"constructInfo": {
|
|
246
246
|
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
247
|
-
"version": "2.
|
|
247
|
+
"version": "2.143.0"
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
251
|
"constructInfo": {
|
|
252
252
|
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
253
|
-
"version": "2.
|
|
253
|
+
"version": "2.143.0"
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
"KinesisStreamGetRecordsIteratorAgeAlarm": {
|
|
@@ -275,13 +275,13 @@
|
|
|
275
275
|
},
|
|
276
276
|
"constructInfo": {
|
|
277
277
|
"fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
|
|
278
|
-
"version": "2.
|
|
278
|
+
"version": "2.143.0"
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
"constructInfo": {
|
|
283
283
|
"fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
|
|
284
|
-
"version": "2.
|
|
284
|
+
"version": "2.143.0"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
"KinesisStreamReadProvisionedThroughputExceededAlarm": {
|
|
@@ -306,19 +306,19 @@
|
|
|
306
306
|
},
|
|
307
307
|
"constructInfo": {
|
|
308
308
|
"fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
|
|
309
|
-
"version": "2.
|
|
309
|
+
"version": "2.143.0"
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
},
|
|
313
313
|
"constructInfo": {
|
|
314
314
|
"fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
|
|
315
|
-
"version": "2.
|
|
315
|
+
"version": "2.143.0"
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
},
|
|
319
319
|
"constructInfo": {
|
|
320
320
|
"fqn": "@aws-solutions-constructs/aws-lambda-kinesisstreams.LambdaToKinesisStreams",
|
|
321
|
-
"version": "2.
|
|
321
|
+
"version": "2.57.0"
|
|
322
322
|
}
|
|
323
323
|
},
|
|
324
324
|
"Integ": {
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
"path": "lamkin-existingStream/Integ/DefaultTest/Default",
|
|
335
335
|
"constructInfo": {
|
|
336
336
|
"fqn": "constructs.Construct",
|
|
337
|
-
"version": "10.
|
|
337
|
+
"version": "10.3.0"
|
|
338
338
|
}
|
|
339
339
|
},
|
|
340
340
|
"DeployAssert": {
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"path": "lamkin-existingStream/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
347
347
|
"constructInfo": {
|
|
348
348
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
349
|
-
"version": "2.
|
|
349
|
+
"version": "2.143.0"
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
"CheckBootstrapVersion": {
|
|
@@ -354,25 +354,25 @@
|
|
|
354
354
|
"path": "lamkin-existingStream/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
355
355
|
"constructInfo": {
|
|
356
356
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
357
|
-
"version": "2.
|
|
357
|
+
"version": "2.143.0"
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
},
|
|
361
361
|
"constructInfo": {
|
|
362
362
|
"fqn": "aws-cdk-lib.Stack",
|
|
363
|
-
"version": "2.
|
|
363
|
+
"version": "2.143.0"
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
367
|
"constructInfo": {
|
|
368
368
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
369
|
-
"version": "2.
|
|
369
|
+
"version": "2.143.0-alpha.0"
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
},
|
|
373
373
|
"constructInfo": {
|
|
374
374
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
375
|
-
"version": "2.
|
|
375
|
+
"version": "2.143.0-alpha.0"
|
|
376
376
|
}
|
|
377
377
|
},
|
|
378
378
|
"BootstrapVersion": {
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
"path": "lamkin-existingStream/BootstrapVersion",
|
|
381
381
|
"constructInfo": {
|
|
382
382
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
383
|
-
"version": "2.
|
|
383
|
+
"version": "2.143.0"
|
|
384
384
|
}
|
|
385
385
|
},
|
|
386
386
|
"CheckBootstrapVersion": {
|
|
@@ -388,13 +388,13 @@
|
|
|
388
388
|
"path": "lamkin-existingStream/CheckBootstrapVersion",
|
|
389
389
|
"constructInfo": {
|
|
390
390
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
391
|
-
"version": "2.
|
|
391
|
+
"version": "2.143.0"
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
394
|
},
|
|
395
395
|
"constructInfo": {
|
|
396
396
|
"fqn": "aws-cdk-lib.Stack",
|
|
397
|
-
"version": "2.
|
|
397
|
+
"version": "2.143.0"
|
|
398
398
|
}
|
|
399
399
|
},
|
|
400
400
|
"Tree": {
|
|
@@ -402,13 +402,13 @@
|
|
|
402
402
|
"path": "Tree",
|
|
403
403
|
"constructInfo": {
|
|
404
404
|
"fqn": "constructs.Construct",
|
|
405
|
-
"version": "10.
|
|
405
|
+
"version": "10.3.0"
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
},
|
|
409
409
|
"constructInfo": {
|
|
410
410
|
"fqn": "aws-cdk-lib.App",
|
|
411
|
-
"version": "2.
|
|
411
|
+
"version": "2.143.0"
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
414
|
}
|
package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.assets.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"
|
|
17
|
+
"c5de7cce3428a7483787a98e8da014fb320e7bcfc3bbd3d889dd99c67de54d09": {
|
|
18
18
|
"source": {
|
|
19
19
|
"path": "lamkin-existingStreamWithCmk.template.json",
|
|
20
20
|
"packaging": "file"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"destinations": {
|
|
23
23
|
"current_account-current_region": {
|
|
24
24
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
25
|
-
"objectKey": "
|
|
25
|
+
"objectKey": "c5de7cce3428a7483787a98e8da014fb320e7bcfc3bbd3d889dd99c67de54d09.json",
|
|
26
26
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"validateOnSynth": false,
|
|
67
67
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
68
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/c5de7cce3428a7483787a98e8da014fb320e7bcfc3bbd3d889dd99c67de54d09.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
},
|
|
52
52
|
"constructInfo": {
|
|
53
53
|
"fqn": "aws-cdk-lib.aws_kms.CfnKey",
|
|
54
|
-
"version": "2.
|
|
54
|
+
"version": "2.143.0"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"constructInfo": {
|
|
59
59
|
"fqn": "aws-cdk-lib.aws_kms.Key",
|
|
60
|
-
"version": "2.
|
|
60
|
+
"version": "2.143.0"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"test-stream": {
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
},
|
|
86
86
|
"constructInfo": {
|
|
87
87
|
"fqn": "aws-cdk-lib.aws_kinesis.CfnStream",
|
|
88
|
-
"version": "2.
|
|
88
|
+
"version": "2.143.0"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"constructInfo": {
|
|
93
93
|
"fqn": "aws-cdk-lib.aws_kinesis.Stream",
|
|
94
|
-
"version": "2.
|
|
94
|
+
"version": "2.143.0"
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
97
|
"test-lambda-kinesisstreams": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"path": "lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
108
108
|
"constructInfo": {
|
|
109
109
|
"fqn": "aws-cdk-lib.Resource",
|
|
110
|
-
"version": "2.
|
|
110
|
+
"version": "2.143.0"
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
"Resource": {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
},
|
|
171
171
|
"constructInfo": {
|
|
172
172
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
173
|
-
"version": "2.
|
|
173
|
+
"version": "2.143.0"
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
"DefaultPolicy": {
|
|
@@ -235,19 +235,19 @@
|
|
|
235
235
|
},
|
|
236
236
|
"constructInfo": {
|
|
237
237
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
238
|
-
"version": "2.
|
|
238
|
+
"version": "2.143.0"
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
242
|
"constructInfo": {
|
|
243
243
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
244
|
-
"version": "2.
|
|
244
|
+
"version": "2.143.0"
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
"constructInfo": {
|
|
249
249
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
250
|
-
"version": "2.
|
|
250
|
+
"version": "2.143.0"
|
|
251
251
|
}
|
|
252
252
|
},
|
|
253
253
|
"LambdaFunction": {
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"path": "lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/LambdaFunction/Code/Stage",
|
|
264
264
|
"constructInfo": {
|
|
265
265
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
266
|
-
"version": "2.
|
|
266
|
+
"version": "2.143.0"
|
|
267
267
|
}
|
|
268
268
|
},
|
|
269
269
|
"AssetBucket": {
|
|
@@ -271,13 +271,13 @@
|
|
|
271
271
|
"path": "lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/LambdaFunction/Code/AssetBucket",
|
|
272
272
|
"constructInfo": {
|
|
273
273
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
274
|
-
"version": "2.
|
|
274
|
+
"version": "2.143.0"
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
"constructInfo": {
|
|
279
279
|
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
280
|
-
"version": "2.
|
|
280
|
+
"version": "2.143.0"
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
"Resource": {
|
|
@@ -314,13 +314,13 @@
|
|
|
314
314
|
},
|
|
315
315
|
"constructInfo": {
|
|
316
316
|
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
317
|
-
"version": "2.
|
|
317
|
+
"version": "2.143.0"
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
},
|
|
321
321
|
"constructInfo": {
|
|
322
322
|
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
323
|
-
"version": "2.
|
|
323
|
+
"version": "2.143.0"
|
|
324
324
|
}
|
|
325
325
|
},
|
|
326
326
|
"KinesisStreamGetRecordsIteratorAgeAlarm": {
|
|
@@ -345,13 +345,13 @@
|
|
|
345
345
|
},
|
|
346
346
|
"constructInfo": {
|
|
347
347
|
"fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
|
|
348
|
-
"version": "2.
|
|
348
|
+
"version": "2.143.0"
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
},
|
|
352
352
|
"constructInfo": {
|
|
353
353
|
"fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
|
|
354
|
-
"version": "2.
|
|
354
|
+
"version": "2.143.0"
|
|
355
355
|
}
|
|
356
356
|
},
|
|
357
357
|
"KinesisStreamReadProvisionedThroughputExceededAlarm": {
|
|
@@ -376,19 +376,19 @@
|
|
|
376
376
|
},
|
|
377
377
|
"constructInfo": {
|
|
378
378
|
"fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
|
|
379
|
-
"version": "2.
|
|
379
|
+
"version": "2.143.0"
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
383
|
"constructInfo": {
|
|
384
384
|
"fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
|
|
385
|
-
"version": "2.
|
|
385
|
+
"version": "2.143.0"
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
389
|
"constructInfo": {
|
|
390
390
|
"fqn": "@aws-solutions-constructs/aws-lambda-kinesisstreams.LambdaToKinesisStreams",
|
|
391
|
-
"version": "2.
|
|
391
|
+
"version": "2.57.0"
|
|
392
392
|
}
|
|
393
393
|
},
|
|
394
394
|
"Integ": {
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
"path": "lamkin-existingStreamWithCmk/Integ/DefaultTest/Default",
|
|
405
405
|
"constructInfo": {
|
|
406
406
|
"fqn": "constructs.Construct",
|
|
407
|
-
"version": "10.
|
|
407
|
+
"version": "10.3.0"
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
"DeployAssert": {
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
"path": "lamkin-existingStreamWithCmk/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
417
417
|
"constructInfo": {
|
|
418
418
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
419
|
-
"version": "2.
|
|
419
|
+
"version": "2.143.0"
|
|
420
420
|
}
|
|
421
421
|
},
|
|
422
422
|
"CheckBootstrapVersion": {
|
|
@@ -424,25 +424,25 @@
|
|
|
424
424
|
"path": "lamkin-existingStreamWithCmk/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
425
425
|
"constructInfo": {
|
|
426
426
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
427
|
-
"version": "2.
|
|
427
|
+
"version": "2.143.0"
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
},
|
|
431
431
|
"constructInfo": {
|
|
432
432
|
"fqn": "aws-cdk-lib.Stack",
|
|
433
|
-
"version": "2.
|
|
433
|
+
"version": "2.143.0"
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
},
|
|
437
437
|
"constructInfo": {
|
|
438
438
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
439
|
-
"version": "2.
|
|
439
|
+
"version": "2.143.0-alpha.0"
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
},
|
|
443
443
|
"constructInfo": {
|
|
444
444
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
445
|
-
"version": "2.
|
|
445
|
+
"version": "2.143.0-alpha.0"
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
"BootstrapVersion": {
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
"path": "lamkin-existingStreamWithCmk/BootstrapVersion",
|
|
451
451
|
"constructInfo": {
|
|
452
452
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
453
|
-
"version": "2.
|
|
453
|
+
"version": "2.143.0"
|
|
454
454
|
}
|
|
455
455
|
},
|
|
456
456
|
"CheckBootstrapVersion": {
|
|
@@ -458,13 +458,13 @@
|
|
|
458
458
|
"path": "lamkin-existingStreamWithCmk/CheckBootstrapVersion",
|
|
459
459
|
"constructInfo": {
|
|
460
460
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
461
|
-
"version": "2.
|
|
461
|
+
"version": "2.143.0"
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
465
|
"constructInfo": {
|
|
466
466
|
"fqn": "aws-cdk-lib.Stack",
|
|
467
|
-
"version": "2.
|
|
467
|
+
"version": "2.143.0"
|
|
468
468
|
}
|
|
469
469
|
},
|
|
470
470
|
"Tree": {
|
|
@@ -472,13 +472,13 @@
|
|
|
472
472
|
"path": "Tree",
|
|
473
473
|
"constructInfo": {
|
|
474
474
|
"fqn": "constructs.Construct",
|
|
475
|
-
"version": "10.
|
|
475
|
+
"version": "10.3.0"
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
479
|
"constructInfo": {
|
|
480
480
|
"fqn": "aws-cdk-lib.App",
|
|
481
|
-
"version": "2.
|
|
481
|
+
"version": "2.143.0"
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.withRetries=exports.handler=exports.external=void 0;const https=require("https"),url=require("url");exports.external={sendHttpRequest:defaultSendHttpRequest,log:defaultLog,includeStackTraces:!0,userHandlerIndex:"./index"};const CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function handler(event,context){const sanitizedEvent={...event,ResponseURL:"..."};if(exports.external.log(JSON.stringify(sanitizedEvent,void 0,2)),event.RequestType==="Delete"&&event.PhysicalResourceId===CREATE_FAILED_PHYSICAL_ID_MARKER){exports.external.log("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{const userHandler=require(exports.external.userHandlerIndex).handler,result=await userHandler(sanitizedEvent,context),responseEvent=renderResponse(event,result);await submitResponse("SUCCESS",responseEvent)}catch(e){const resp={...event,Reason:exports.external.includeStackTraces?e.stack:e.message};resp.PhysicalResourceId||(event.RequestType==="Create"?(exports.external.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),resp.PhysicalResourceId=CREATE_FAILED_PHYSICAL_ID_MARKER):exports.external.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(event)}`)),await submitResponse("FAILED",resp)}}exports.handler=handler;function renderResponse(cfnRequest,handlerResponse={}){const physicalResourceId=handlerResponse.PhysicalResourceId??cfnRequest.PhysicalResourceId??cfnRequest.RequestId;if(cfnRequest.RequestType==="Delete"&&physicalResourceId!==cfnRequest.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${cfnRequest.PhysicalResourceId}" to "${handlerResponse.PhysicalResourceId}" during deletion`);return{...cfnRequest,...handlerResponse,PhysicalResourceId:physicalResourceId}}async function submitResponse(status,event){const json={Status:status,Reason:event.Reason??status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:event.NoEcho,Data:event.Data}
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.withRetries=exports.handler=exports.external=void 0;const https=require("https"),url=require("url");exports.external={sendHttpRequest:defaultSendHttpRequest,log:defaultLog,includeStackTraces:!0,userHandlerIndex:"./index"};const CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function handler(event,context){const sanitizedEvent={...event,ResponseURL:"..."};if(exports.external.log(JSON.stringify(sanitizedEvent,void 0,2)),event.RequestType==="Delete"&&event.PhysicalResourceId===CREATE_FAILED_PHYSICAL_ID_MARKER){exports.external.log("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{const userHandler=require(exports.external.userHandlerIndex).handler,result=await userHandler(sanitizedEvent,context),responseEvent=renderResponse(event,result);await submitResponse("SUCCESS",responseEvent)}catch(e){const resp={...event,Reason:exports.external.includeStackTraces?e.stack:e.message};resp.PhysicalResourceId||(event.RequestType==="Create"?(exports.external.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),resp.PhysicalResourceId=CREATE_FAILED_PHYSICAL_ID_MARKER):exports.external.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(event)}`)),await submitResponse("FAILED",resp)}}exports.handler=handler;function renderResponse(cfnRequest,handlerResponse={}){const physicalResourceId=handlerResponse.PhysicalResourceId??cfnRequest.PhysicalResourceId??cfnRequest.RequestId;if(cfnRequest.RequestType==="Delete"&&physicalResourceId!==cfnRequest.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${cfnRequest.PhysicalResourceId}" to "${handlerResponse.PhysicalResourceId}" during deletion`);return{...cfnRequest,...handlerResponse,PhysicalResourceId:physicalResourceId}}async function submitResponse(status,event){const json={Status:status,Reason:event.Reason??status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:event.NoEcho,Data:event.Data},parsedUrl=url.parse(event.ResponseURL),loggingSafeUrl=`${parsedUrl.protocol}//${parsedUrl.hostname}/${parsedUrl.pathname}?***`;exports.external.log("submit response to cloudformation",loggingSafeUrl,json);const responseBody=JSON.stringify(json),req={hostname:parsedUrl.hostname,path:parsedUrl.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(responseBody,"utf8")}};await withRetries({attempts:5,sleep:1e3},exports.external.sendHttpRequest)(req,responseBody)}async function defaultSendHttpRequest(options,requestBody){return new Promise((resolve,reject)=>{try{const request=https.request(options,response=>{response.resume(),!response.statusCode||response.statusCode>=400?reject(new Error(`Unsuccessful HTTP response: ${response.statusCode}`)):resolve()});request.on("error",reject),request.write(requestBody),request.end()}catch(e){reject(e)}})}function defaultLog(fmt,...params){console.log(fmt,...params)}function withRetries(options,fn){return async(...xs)=>{let attempts=options.attempts,ms=options.sleep;for(;;)try{return await fn(...xs)}catch(e){if(attempts--<=0)throw e;await sleep(Math.floor(Math.random()*ms)),ms*=2}}}exports.withRetries=withRetries;async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "36.0.0",
|
|
3
3
|
"files": {
|
|
4
|
-
"
|
|
4
|
+
"ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a": {
|
|
5
5
|
"source": {
|
|
6
|
-
"path": "asset.
|
|
6
|
+
"path": "asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a",
|
|
7
7
|
"packaging": "zip"
|
|
8
8
|
},
|
|
9
9
|
"destinations": {
|
|
10
10
|
"current_account-current_region": {
|
|
11
11
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
-
"objectKey": "
|
|
12
|
+
"objectKey": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip",
|
|
13
13
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"
|
|
30
|
+
"14757bf5638fc12659b51121e61f16dad1b33594745b27aa35a6ea01c87bcf3b": {
|
|
31
31
|
"source": {
|
|
32
32
|
"path": "lamkin-existingVpc.template.json",
|
|
33
33
|
"packaging": "file"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"destinations": {
|
|
36
36
|
"current_account-current_region": {
|
|
37
37
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
38
|
-
"objectKey": "
|
|
38
|
+
"objectKey": "14757bf5638fc12659b51121e61f16dad1b33594745b27aa35a6ea01c87bcf3b.json",
|
|
39
39
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"S3Bucket": {
|
|
661
661
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
662
662
|
},
|
|
663
|
-
"S3Key": "
|
|
663
|
+
"S3Key": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip"
|
|
664
664
|
},
|
|
665
665
|
"Timeout": 900,
|
|
666
666
|
"MemorySize": 128,
|
|
@@ -916,7 +916,9 @@
|
|
|
916
916
|
"EncryptionType": "KMS",
|
|
917
917
|
"KeyId": "alias/aws/kinesis"
|
|
918
918
|
}
|
|
919
|
-
}
|
|
919
|
+
},
|
|
920
|
+
"UpdateReplacePolicy": "Retain",
|
|
921
|
+
"DeletionPolicy": "Retain"
|
|
920
922
|
},
|
|
921
923
|
"testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
|
|
922
924
|
"Type": "AWS::CloudWatch::Alarm",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"validateOnSynth": false,
|
|
67
67
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
68
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/14757bf5638fc12659b51121e61f16dad1b33594745b27aa35a6ea01c87bcf3b.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|