@aws-solutions-constructs/aws-lambda-elasticachememcached 2.79.0 → 2.80.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.
Files changed (39) hide show
  1. package/.jsii +4 -43
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lammem-existingResources.js.snapshot/asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36/index.js +21 -0
  5. package/test/integ.lammem-existingResources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  6. package/test/integ.lammem-existingResources.js.snapshot/cdk.out +1 -1
  7. package/test/integ.lammem-existingResources.js.snapshot/integ.json +1 -1
  8. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.assets.json +9 -9
  9. package/test/integ.lammem-existingResources.js.snapshot/lammem-existingResources.template.json +6 -6
  10. package/test/integ.lammem-existingResources.js.snapshot/lammemexistingResourcesIntegDefaultTestDeployAssertD269DF67.assets.json +1 -1
  11. package/test/integ.lammem-existingResources.js.snapshot/manifest.json +256 -2
  12. package/test/integ.lammem-existingResources.js.snapshot/tree.json +231 -58
  13. package/test/integ.lammem-newResources.js.snapshot/asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36/index.js +21 -0
  14. package/test/integ.lammem-newResources.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  15. package/test/integ.lammem-newResources.js.snapshot/cdk.out +1 -1
  16. package/test/integ.lammem-newResources.js.snapshot/integ.json +1 -1
  17. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.assets.json +9 -9
  18. package/test/integ.lammem-newResources.js.snapshot/lammem-newResources.template.json +6 -6
  19. package/test/integ.lammem-newResources.js.snapshot/lammemnewResourcesIntegDefaultTestDeployAssert30C906BF.assets.json +1 -1
  20. package/test/integ.lammem-newResources.js.snapshot/manifest.json +331 -2
  21. package/test/integ.lammem-newResources.js.snapshot/tree.json +276 -58
  22. package/test/integ.lammem-withClientProps.js.snapshot/asset.69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36/index.js +21 -0
  23. package/test/integ.lammem-withClientProps.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  24. package/test/integ.lammem-withClientProps.js.snapshot/cdk.out +1 -1
  25. package/test/integ.lammem-withClientProps.js.snapshot/integ.json +1 -1
  26. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.assets.json +9 -9
  27. package/test/integ.lammem-withClientProps.js.snapshot/lammem-withClientProps.template.json +6 -6
  28. package/test/integ.lammem-withClientProps.js.snapshot/lammemwithClientPropsIntegDefaultTestDeployAssertDB086BD1.assets.json +1 -1
  29. package/test/integ.lammem-withClientProps.js.snapshot/manifest.json +332 -2
  30. package/test/integ.lammem-withClientProps.js.snapshot/tree.json +277 -58
  31. package/test/integ.lammem-existingResources.js.snapshot/asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a/index.js +0 -8
  32. package/test/integ.lammem-existingResources.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  33. package/test/integ.lammem-newResources.js.snapshot/asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a/index.js +0 -8
  34. package/test/integ.lammem-newResources.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  35. package/test/integ.lammem-withClientProps.js.snapshot/asset.c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a/index.js +0 -8
  36. package/test/integ.lammem-withClientProps.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  37. /package/test/integ.lammem-existingResources.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  38. /package/test/integ.lammem-newResources.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  39. /package/test/integ.lammem-withClientProps.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "constructInfo": {
34
34
  "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
35
- "version": "2.150.0"
35
+ "version": "2.179.0"
36
36
  }
37
37
  },
38
38
  "isolatedSubnet1": {
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "constructInfo": {
78
78
  "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
79
- "version": "2.150.0"
79
+ "version": "2.179.0"
80
80
  }
81
81
  },
82
82
  "Acl": {
@@ -84,7 +84,8 @@
84
84
  "path": "lammem-existingResources/Vpc/isolatedSubnet1/Acl",
85
85
  "constructInfo": {
86
86
  "fqn": "aws-cdk-lib.Resource",
87
- "version": "2.150.0"
87
+ "version": "2.179.0",
88
+ "metadata": []
88
89
  }
89
90
  },
90
91
  "RouteTable": {
@@ -106,7 +107,7 @@
106
107
  },
107
108
  "constructInfo": {
108
109
  "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
109
- "version": "2.150.0"
110
+ "version": "2.179.0"
110
111
  }
111
112
  },
112
113
  "RouteTableAssociation": {
@@ -125,13 +126,31 @@
125
126
  },
126
127
  "constructInfo": {
127
128
  "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
128
- "version": "2.150.0"
129
+ "version": "2.179.0"
129
130
  }
130
131
  }
131
132
  },
132
133
  "constructInfo": {
133
134
  "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
134
- "version": "2.150.0"
135
+ "version": "2.179.0",
136
+ "metadata": [
137
+ {
138
+ "availabilityZone": "*",
139
+ "vpcId": "*",
140
+ "cidrBlock": "*",
141
+ "mapPublicIpOnLaunch": false,
142
+ "ipv6CidrBlock": "*",
143
+ "assignIpv6AddressOnCreation": "*"
144
+ },
145
+ {
146
+ "availabilityZone": "*",
147
+ "vpcId": "*",
148
+ "cidrBlock": "*",
149
+ "mapPublicIpOnLaunch": false,
150
+ "ipv6CidrBlock": "*",
151
+ "assignIpv6AddressOnCreation": "*"
152
+ }
153
+ ]
135
154
  }
136
155
  },
137
156
  "isolatedSubnet2": {
@@ -175,7 +194,7 @@
175
194
  },
176
195
  "constructInfo": {
177
196
  "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
178
- "version": "2.150.0"
197
+ "version": "2.179.0"
179
198
  }
180
199
  },
181
200
  "Acl": {
@@ -183,7 +202,8 @@
183
202
  "path": "lammem-existingResources/Vpc/isolatedSubnet2/Acl",
184
203
  "constructInfo": {
185
204
  "fqn": "aws-cdk-lib.Resource",
186
- "version": "2.150.0"
205
+ "version": "2.179.0",
206
+ "metadata": []
187
207
  }
188
208
  },
189
209
  "RouteTable": {
@@ -205,7 +225,7 @@
205
225
  },
206
226
  "constructInfo": {
207
227
  "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
208
- "version": "2.150.0"
228
+ "version": "2.179.0"
209
229
  }
210
230
  },
211
231
  "RouteTableAssociation": {
@@ -224,13 +244,31 @@
224
244
  },
225
245
  "constructInfo": {
226
246
  "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
227
- "version": "2.150.0"
247
+ "version": "2.179.0"
228
248
  }
229
249
  }
230
250
  },
231
251
  "constructInfo": {
232
252
  "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
233
- "version": "2.150.0"
253
+ "version": "2.179.0",
254
+ "metadata": [
255
+ {
256
+ "availabilityZone": "*",
257
+ "vpcId": "*",
258
+ "cidrBlock": "*",
259
+ "mapPublicIpOnLaunch": false,
260
+ "ipv6CidrBlock": "*",
261
+ "assignIpv6AddressOnCreation": "*"
262
+ },
263
+ {
264
+ "availabilityZone": "*",
265
+ "vpcId": "*",
266
+ "cidrBlock": "*",
267
+ "mapPublicIpOnLaunch": false,
268
+ "ipv6CidrBlock": "*",
269
+ "assignIpv6AddressOnCreation": "*"
270
+ }
271
+ ]
234
272
  }
235
273
  },
236
274
  "RestrictDefaultSecurityGroupCustomResource": {
@@ -242,13 +280,16 @@
242
280
  "path": "lammem-existingResources/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
243
281
  "constructInfo": {
244
282
  "fqn": "aws-cdk-lib.CfnResource",
245
- "version": "2.150.0"
283
+ "version": "2.179.0"
246
284
  }
247
285
  }
248
286
  },
249
287
  "constructInfo": {
250
288
  "fqn": "aws-cdk-lib.CustomResource",
251
- "version": "2.150.0"
289
+ "version": "2.179.0",
290
+ "metadata": [
291
+ "*"
292
+ ]
252
293
  }
253
294
  },
254
295
  "FlowLog": {
@@ -264,7 +305,10 @@
264
305
  "path": "lammem-existingResources/Vpc/FlowLog/IAMRole/ImportIAMRole",
265
306
  "constructInfo": {
266
307
  "fqn": "aws-cdk-lib.Resource",
267
- "version": "2.150.0"
308
+ "version": "2.179.0",
309
+ "metadata": [
310
+ "*"
311
+ ]
268
312
  }
269
313
  },
270
314
  "Resource": {
@@ -295,7 +339,7 @@
295
339
  },
296
340
  "constructInfo": {
297
341
  "fqn": "aws-cdk-lib.aws_iam.CfnRole",
298
- "version": "2.150.0"
342
+ "version": "2.179.0"
299
343
  }
300
344
  },
301
345
  "DefaultPolicy": {
@@ -347,19 +391,71 @@
347
391
  },
348
392
  "constructInfo": {
349
393
  "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
350
- "version": "2.150.0"
394
+ "version": "2.179.0"
351
395
  }
352
396
  }
353
397
  },
354
398
  "constructInfo": {
355
399
  "fqn": "aws-cdk-lib.aws_iam.Policy",
356
- "version": "2.150.0"
400
+ "version": "2.179.0",
401
+ "metadata": [
402
+ "*",
403
+ {
404
+ "attachToRole": [
405
+ "*"
406
+ ]
407
+ },
408
+ {
409
+ "attachToRole": [
410
+ "*"
411
+ ]
412
+ },
413
+ {
414
+ "addStatements": [
415
+ {}
416
+ ]
417
+ },
418
+ {
419
+ "addStatements": [
420
+ {}
421
+ ]
422
+ }
423
+ ]
357
424
  }
358
425
  }
359
426
  },
360
427
  "constructInfo": {
361
428
  "fqn": "aws-cdk-lib.aws_iam.Role",
362
- "version": "2.150.0"
429
+ "version": "2.179.0",
430
+ "metadata": [
431
+ {
432
+ "roleName": "*",
433
+ "assumedBy": {
434
+ "principalAccount": "*",
435
+ "assumeRoleAction": "*"
436
+ }
437
+ },
438
+ {
439
+ "addToPrincipalPolicy": [
440
+ {}
441
+ ]
442
+ },
443
+ {
444
+ "attachInlinePolicy": [
445
+ "*"
446
+ ]
447
+ },
448
+ {
449
+ "attachInlinePolicy": [
450
+ "*"
451
+ ]
452
+ },
453
+ {
454
+ "addToPrincipalPolicy": [
455
+ {}
456
+ ]
457
+ }
458
+ ]
363
459
  }
364
460
  },
365
461
  "LogGroup": {
@@ -383,13 +479,16 @@
383
479
  },
384
480
  "constructInfo": {
385
481
  "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
386
- "version": "2.150.0"
482
+ "version": "2.179.0"
387
483
  }
388
484
  }
389
485
  },
390
486
  "constructInfo": {
391
487
  "fqn": "aws-cdk-lib.aws_logs.LogGroup",
392
- "version": "2.150.0"
488
+ "version": "2.179.0",
489
+ "metadata": [
490
+ "*"
491
+ ]
393
492
  }
394
493
  },
395
494
  "FlowLog": {
@@ -423,19 +522,39 @@
423
522
  },
424
523
  "constructInfo": {
425
524
  "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
426
- "version": "2.150.0"
525
+ "version": "2.179.0"
427
526
  }
428
527
  }
429
528
  },
430
529
  "constructInfo": {
431
530
  "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
432
- "version": "2.150.0"
531
+ "version": "2.179.0",
532
+ "metadata": [
533
+ {
534
+ "resourceType": "*"
535
+ }
536
+ ]
433
537
  }
434
538
  }
435
539
  },
436
540
  "constructInfo": {
437
541
  "fqn": "aws-cdk-lib.aws_ec2.Vpc",
438
- "version": "2.150.0"
542
+ "version": "2.179.0",
543
+ "metadata": [
544
+ {
545
+ "natGateways": "*",
546
+ "subnetConfiguration": [
547
+ {
548
+ "cidrMask": "*",
549
+ "name": "*",
550
+ "subnetType": "Isolated"
551
+ }
552
+ ],
553
+ "enableDnsHostnames": true,
554
+ "enableDnsSupport": true,
555
+ "ipAddresses": "*"
556
+ }
557
+ ]
439
558
  }
440
559
  },
441
560
  "LatestNodeRuntimeMap": {
@@ -443,7 +562,7 @@
443
562
  "path": "lammem-existingResources/LatestNodeRuntimeMap",
444
563
  "constructInfo": {
445
564
  "fqn": "aws-cdk-lib.CfnMapping",
446
- "version": "2.150.0"
565
+ "version": "2.179.0"
447
566
  }
448
567
  },
449
568
  "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
@@ -455,7 +574,7 @@
455
574
  "path": "lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
456
575
  "constructInfo": {
457
576
  "fqn": "aws-cdk-lib.AssetStaging",
458
- "version": "2.150.0"
577
+ "version": "2.179.0"
459
578
  }
460
579
  },
461
580
  "Role": {
@@ -463,7 +582,7 @@
463
582
  "path": "lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
464
583
  "constructInfo": {
465
584
  "fqn": "aws-cdk-lib.CfnResource",
466
- "version": "2.150.0"
585
+ "version": "2.179.0"
467
586
  }
468
587
  },
469
588
  "Handler": {
@@ -471,13 +590,13 @@
471
590
  "path": "lammem-existingResources/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
472
591
  "constructInfo": {
473
592
  "fqn": "aws-cdk-lib.CfnResource",
474
- "version": "2.150.0"
593
+ "version": "2.179.0"
475
594
  }
476
595
  }
477
596
  },
478
597
  "constructInfo": {
479
598
  "fqn": "aws-cdk-lib.CustomResourceProviderBase",
480
- "version": "2.150.0"
599
+ "version": "2.179.0"
481
600
  }
482
601
  },
483
602
  "test-sg-security-group": {
@@ -505,13 +624,18 @@
505
624
  },
506
625
  "constructInfo": {
507
626
  "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
508
- "version": "2.150.0"
627
+ "version": "2.179.0"
509
628
  }
510
629
  }
511
630
  },
512
631
  "constructInfo": {
513
632
  "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
514
- "version": "2.150.0"
633
+ "version": "2.179.0",
634
+ "metadata": [
635
+ {
636
+ "vpc": "*"
637
+ }
638
+ ]
515
639
  }
516
640
  },
517
641
  "test-function": {
@@ -527,7 +651,10 @@
527
651
  "path": "lammem-existingResources/test-function/ServiceRole/ImportServiceRole",
528
652
  "constructInfo": {
529
653
  "fqn": "aws-cdk-lib.Resource",
530
- "version": "2.150.0"
654
+ "version": "2.179.0",
655
+ "metadata": [
656
+ "*"
657
+ ]
531
658
  }
532
659
  },
533
660
  "Resource": {
@@ -578,13 +705,29 @@
578
705
  },
579
706
  "constructInfo": {
580
707
  "fqn": "aws-cdk-lib.aws_iam.CfnRole",
581
- "version": "2.150.0"
708
+ "version": "2.179.0"
582
709
  }
583
710
  }
584
711
  },
585
712
  "constructInfo": {
586
713
  "fqn": "aws-cdk-lib.aws_iam.Role",
587
- "version": "2.150.0"
714
+ "version": "2.179.0",
715
+ "metadata": [
716
+ {
717
+ "assumedBy": {
718
+ "principalAccount": "*",
719
+ "assumeRoleAction": "*"
720
+ },
721
+ "managedPolicies": [
722
+ {
723
+ "managedPolicyArn": "*"
724
+ },
725
+ {
726
+ "managedPolicyArn": "*"
727
+ }
728
+ ]
729
+ }
730
+ ]
588
731
  }
589
732
  },
590
733
  "Code": {
@@ -596,7 +739,7 @@
596
739
  "path": "lammem-existingResources/test-function/Code/Stage",
597
740
  "constructInfo": {
598
741
  "fqn": "aws-cdk-lib.AssetStaging",
599
- "version": "2.150.0"
742
+ "version": "2.179.0"
600
743
  }
601
744
  },
602
745
  "AssetBucket": {
@@ -604,13 +747,14 @@
604
747
  "path": "lammem-existingResources/test-function/Code/AssetBucket",
605
748
  "constructInfo": {
606
749
  "fqn": "aws-cdk-lib.aws_s3.BucketBase",
607
- "version": "2.150.0"
750
+ "version": "2.179.0",
751
+ "metadata": []
608
752
  }
609
753
  }
610
754
  },
611
755
  "constructInfo": {
612
756
  "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
613
- "version": "2.150.0"
757
+ "version": "2.179.0"
614
758
  }
615
759
  },
616
760
  "Resource": {
@@ -623,7 +767,7 @@
623
767
  "s3Bucket": {
624
768
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
625
769
  },
626
- "s3Key": "c1b23d6af38c04acb744bda25a3dc7f4394daea942c67eaff40911a707a3c37a.zip"
770
+ "s3Key": "69e370dcce5ccdf0f2e726ecb0826d434cccdb06e0814e8b0d907129183e5d36.zip"
627
771
  },
628
772
  "environment": {
629
773
  "variables": {
@@ -679,13 +823,30 @@
679
823
  },
680
824
  "constructInfo": {
681
825
  "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
682
- "version": "2.150.0"
826
+ "version": "2.179.0"
683
827
  }
684
828
  }
685
829
  },
686
830
  "constructInfo": {
687
831
  "fqn": "aws-cdk-lib.aws_lambda.Function",
688
- "version": "2.150.0"
832
+ "version": "2.179.0",
833
+ "metadata": [
834
+ {
835
+ "runtime": "*",
836
+ "handler": "*",
837
+ "code": "*",
838
+ "vpc": "*",
839
+ "securityGroups": [
840
+ "*"
841
+ ]
842
+ },
843
+ {
844
+ "addEnvironment": [
845
+ "*",
846
+ "*"
847
+ ]
848
+ }
849
+ ]
689
850
  }
690
851
  },
691
852
  "ec-subnetgroup-test-cache": {
@@ -708,7 +869,7 @@
708
869
  },
709
870
  "constructInfo": {
710
871
  "fqn": "aws-cdk-lib.aws_elasticache.CfnSubnetGroup",
711
- "version": "2.150.0"
872
+ "version": "2.179.0"
712
873
  }
713
874
  },
714
875
  "test-cache-cachesg": {
@@ -736,13 +897,19 @@
736
897
  },
737
898
  "constructInfo": {
738
899
  "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
739
- "version": "2.150.0"
900
+ "version": "2.179.0"
740
901
  }
741
902
  }
742
903
  },
743
904
  "constructInfo": {
744
905
  "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
745
- "version": "2.150.0"
906
+ "version": "2.179.0",
907
+ "metadata": [
908
+ {
909
+ "vpc": "*",
910
+ "allowAllOutbound": true
911
+ }
912
+ ]
746
913
  }
747
914
  },
748
915
  "test-cache-cluster": {
@@ -776,7 +943,7 @@
776
943
  },
777
944
  "constructInfo": {
778
945
  "fqn": "aws-cdk-lib.aws_elasticache.CfnCacheCluster",
779
- "version": "2.150.0"
946
+ "version": "2.179.0"
780
947
  }
781
948
  },
782
949
  "lammem-existingResources": {
@@ -808,13 +975,19 @@
808
975
  },
809
976
  "constructInfo": {
810
977
  "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
811
- "version": "2.150.0"
978
+ "version": "2.179.0"
812
979
  }
813
980
  }
814
981
  },
815
982
  "constructInfo": {
816
983
  "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
817
- "version": "2.150.0"
984
+ "version": "2.179.0",
985
+ "metadata": [
986
+ {
987
+ "vpc": "*",
988
+ "allowAllOutbound": true
989
+ }
990
+ ]
818
991
  }
819
992
  },
820
993
  "lammem-existingResources-ingress": {
@@ -853,13 +1026,13 @@
853
1026
  },
854
1027
  "constructInfo": {
855
1028
  "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroupIngress",
856
- "version": "2.150.0"
1029
+ "version": "2.179.0"
857
1030
  }
858
1031
  }
859
1032
  },
860
1033
  "constructInfo": {
861
1034
  "fqn": "@aws-solutions-constructs/aws-lambda-elasticachememcached.LambdaToElasticachememcached",
862
- "version": "2.63.0"
1035
+ "version": "2.79.1"
863
1036
  }
864
1037
  },
865
1038
  "Integ": {
@@ -875,7 +1048,7 @@
875
1048
  "path": "lammem-existingResources/Integ/DefaultTest/Default",
876
1049
  "constructInfo": {
877
1050
  "fqn": "constructs.Construct",
878
- "version": "10.3.0"
1051
+ "version": "10.4.2"
879
1052
  }
880
1053
  },
881
1054
  "DeployAssert": {
@@ -887,7 +1060,7 @@
887
1060
  "path": "lammem-existingResources/Integ/DefaultTest/DeployAssert/BootstrapVersion",
888
1061
  "constructInfo": {
889
1062
  "fqn": "aws-cdk-lib.CfnParameter",
890
- "version": "2.150.0"
1063
+ "version": "2.179.0"
891
1064
  }
892
1065
  },
893
1066
  "CheckBootstrapVersion": {
@@ -895,25 +1068,25 @@
895
1068
  "path": "lammem-existingResources/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
896
1069
  "constructInfo": {
897
1070
  "fqn": "aws-cdk-lib.CfnRule",
898
- "version": "2.150.0"
1071
+ "version": "2.179.0"
899
1072
  }
900
1073
  }
901
1074
  },
902
1075
  "constructInfo": {
903
1076
  "fqn": "aws-cdk-lib.Stack",
904
- "version": "2.150.0"
1077
+ "version": "2.179.0"
905
1078
  }
906
1079
  }
907
1080
  },
908
1081
  "constructInfo": {
909
1082
  "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
910
- "version": "2.150.0-alpha.0"
1083
+ "version": "2.179.0-alpha.0"
911
1084
  }
912
1085
  }
913
1086
  },
914
1087
  "constructInfo": {
915
1088
  "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
916
- "version": "2.150.0-alpha.0"
1089
+ "version": "2.179.0-alpha.0"
917
1090
  }
918
1091
  },
919
1092
  "BootstrapVersion": {
@@ -921,7 +1094,7 @@
921
1094
  "path": "lammem-existingResources/BootstrapVersion",
922
1095
  "constructInfo": {
923
1096
  "fqn": "aws-cdk-lib.CfnParameter",
924
- "version": "2.150.0"
1097
+ "version": "2.179.0"
925
1098
  }
926
1099
  },
927
1100
  "CheckBootstrapVersion": {
@@ -929,13 +1102,13 @@
929
1102
  "path": "lammem-existingResources/CheckBootstrapVersion",
930
1103
  "constructInfo": {
931
1104
  "fqn": "aws-cdk-lib.CfnRule",
932
- "version": "2.150.0"
1105
+ "version": "2.179.0"
933
1106
  }
934
1107
  }
935
1108
  },
936
1109
  "constructInfo": {
937
1110
  "fqn": "aws-cdk-lib.Stack",
938
- "version": "2.150.0"
1111
+ "version": "2.179.0"
939
1112
  }
940
1113
  },
941
1114
  "Tree": {
@@ -943,13 +1116,13 @@
943
1116
  "path": "Tree",
944
1117
  "constructInfo": {
945
1118
  "fqn": "constructs.Construct",
946
- "version": "10.3.0"
1119
+ "version": "10.4.2"
947
1120
  }
948
1121
  }
949
1122
  },
950
1123
  "constructInfo": {
951
1124
  "fqn": "aws-cdk-lib.App",
952
- "version": "2.150.0"
1125
+ "version": "2.179.0"
953
1126
  }
954
1127
  }
955
1128
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+
14
+ exports.handler = async function (event) {
15
+ console.log(`request:${JSON.stringify(event, undefined, 2)}`);
16
+ return {
17
+ statusCode: 200,
18
+ headers: { "Content-Type": "text/plain" },
19
+ body: `Hello, AWS Solutions Constructs! You've hit ${event.path}`,
20
+ };
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.external=void 0,exports.handler=handler,exports.withRetries=withRetries;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)}}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}}}async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}
@@ -1 +1 @@
1
- {"version":"36.0.0"}
1
+ {"version":"39.0.0"}