@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
|
@@ -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}/560629c98458dfa8ed72aecced1d81dcc3a4293757b2846c2a6effb4185fa615.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"path": "lamkin-newStreamFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
22
22
|
"constructInfo": {
|
|
23
23
|
"fqn": "aws-cdk-lib.Resource",
|
|
24
|
-
"version": "2.
|
|
24
|
+
"version": "2.143.0"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"Resource": {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
"constructInfo": {
|
|
86
86
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
87
|
-
"version": "2.
|
|
87
|
+
"version": "2.143.0"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"DefaultPolicy": {
|
|
@@ -134,19 +134,19 @@
|
|
|
134
134
|
},
|
|
135
135
|
"constructInfo": {
|
|
136
136
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
137
|
-
"version": "2.
|
|
137
|
+
"version": "2.143.0"
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
"constructInfo": {
|
|
142
142
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
143
|
-
"version": "2.
|
|
143
|
+
"version": "2.143.0"
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"constructInfo": {
|
|
148
148
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
149
|
-
"version": "2.
|
|
149
|
+
"version": "2.143.0"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"LambdaFunction": {
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"path": "lamkin-newStreamFromProps/test-lambda-kinesisstreams/LambdaFunction/Code/Stage",
|
|
163
163
|
"constructInfo": {
|
|
164
164
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
165
|
-
"version": "2.
|
|
165
|
+
"version": "2.143.0"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"AssetBucket": {
|
|
@@ -170,13 +170,13 @@
|
|
|
170
170
|
"path": "lamkin-newStreamFromProps/test-lambda-kinesisstreams/LambdaFunction/Code/AssetBucket",
|
|
171
171
|
"constructInfo": {
|
|
172
172
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
173
|
-
"version": "2.
|
|
173
|
+
"version": "2.143.0"
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
"constructInfo": {
|
|
178
178
|
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
179
|
-
"version": "2.
|
|
179
|
+
"version": "2.143.0"
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
"Resource": {
|
|
@@ -213,13 +213,13 @@
|
|
|
213
213
|
},
|
|
214
214
|
"constructInfo": {
|
|
215
215
|
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
216
|
-
"version": "2.
|
|
216
|
+
"version": "2.143.0"
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
220
|
"constructInfo": {
|
|
221
221
|
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
222
|
-
"version": "2.
|
|
222
|
+
"version": "2.143.0"
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
"KinesisStream": {
|
|
@@ -244,13 +244,13 @@
|
|
|
244
244
|
},
|
|
245
245
|
"constructInfo": {
|
|
246
246
|
"fqn": "aws-cdk-lib.aws_kinesis.CfnStream",
|
|
247
|
-
"version": "2.
|
|
247
|
+
"version": "2.143.0"
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
251
|
"constructInfo": {
|
|
252
252
|
"fqn": "aws-cdk-lib.aws_kinesis.Stream",
|
|
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-newStreamFromProps/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-newStreamFromProps/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-newStreamFromProps/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-newStreamFromProps/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-newStreamFromProps/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
|
}
|
|
@@ -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
|
+
"c6b470ed8d75f522d86877046f23146a39dfe3f4acc01c487ab4eb9f66f7600a": {
|
|
31
31
|
"source": {
|
|
32
32
|
"path": "lamkin-newVpc.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": "c6b470ed8d75f522d86877046f23146a39dfe3f4acc01c487ab4eb9f66f7600a.json",
|
|
39
39
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -218,7 +218,9 @@
|
|
|
218
218
|
"EncryptionType": "KMS",
|
|
219
219
|
"KeyId": "alias/aws/kinesis"
|
|
220
220
|
}
|
|
221
|
-
}
|
|
221
|
+
},
|
|
222
|
+
"UpdateReplacePolicy": "Retain",
|
|
223
|
+
"DeletionPolicy": "Retain"
|
|
222
224
|
},
|
|
223
225
|
"testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
|
|
224
226
|
"Type": "AWS::CloudWatch::Alarm",
|
|
@@ -624,7 +626,7 @@
|
|
|
624
626
|
"S3Bucket": {
|
|
625
627
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
626
628
|
},
|
|
627
|
-
"S3Key": "
|
|
629
|
+
"S3Key": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip"
|
|
628
630
|
},
|
|
629
631
|
"Timeout": 900,
|
|
630
632
|
"MemorySize": 128,
|
|
@@ -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}/c6b470ed8d75f522d86877046f23146a39dfe3f4acc01c487ab4eb9f66f7600a.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|