@aws-solutions-constructs/aws-lambda-dynamodb 2.75.0 → 2.77.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 +91 -13
- package/lib/index.js +1 -1
- package/package.json +7 -6
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +9 -9
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +8 -2
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +8 -2
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +84 -78
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +9 -9
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +8 -2
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +8 -2
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +64 -58
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
- package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
- package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
- /package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
- /package/test/integ.lamddb-deployFunctionWithVpc.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.
|
|
35
|
+
"version": "2.174.0"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"PublicSubnet1": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
},
|
|
77
77
|
"constructInfo": {
|
|
78
78
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
|
|
79
|
-
"version": "2.
|
|
79
|
+
"version": "2.174.0"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
"Acl": {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/Acl",
|
|
85
85
|
"constructInfo": {
|
|
86
86
|
"fqn": "aws-cdk-lib.Resource",
|
|
87
|
-
"version": "2.
|
|
87
|
+
"version": "2.174.0"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"RouteTable": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"constructInfo": {
|
|
108
108
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
|
|
109
|
-
"version": "2.
|
|
109
|
+
"version": "2.174.0"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"RouteTableAssociation": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
},
|
|
126
126
|
"constructInfo": {
|
|
127
127
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
|
|
128
|
-
"version": "2.
|
|
128
|
+
"version": "2.174.0"
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
"DefaultRoute": {
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
},
|
|
146
146
|
"constructInfo": {
|
|
147
147
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
|
|
148
|
-
"version": "2.
|
|
148
|
+
"version": "2.174.0"
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
"EIP": {
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
},
|
|
166
166
|
"constructInfo": {
|
|
167
167
|
"fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
|
|
168
|
-
"version": "2.
|
|
168
|
+
"version": "2.174.0"
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
"NATGateway": {
|
|
@@ -193,13 +193,13 @@
|
|
|
193
193
|
},
|
|
194
194
|
"constructInfo": {
|
|
195
195
|
"fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
|
|
196
|
-
"version": "2.
|
|
196
|
+
"version": "2.174.0"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"constructInfo": {
|
|
201
201
|
"fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
|
|
202
|
-
"version": "2.
|
|
202
|
+
"version": "2.174.0"
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
"PublicSubnet2": {
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
},
|
|
244
244
|
"constructInfo": {
|
|
245
245
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
|
|
246
|
-
"version": "2.
|
|
246
|
+
"version": "2.174.0"
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
249
|
"Acl": {
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"path": "lamddb-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/Acl",
|
|
252
252
|
"constructInfo": {
|
|
253
253
|
"fqn": "aws-cdk-lib.Resource",
|
|
254
|
-
"version": "2.
|
|
254
|
+
"version": "2.174.0"
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
"RouteTable": {
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
},
|
|
274
274
|
"constructInfo": {
|
|
275
275
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
|
|
276
|
-
"version": "2.
|
|
276
|
+
"version": "2.174.0"
|
|
277
277
|
}
|
|
278
278
|
},
|
|
279
279
|
"RouteTableAssociation": {
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
},
|
|
293
293
|
"constructInfo": {
|
|
294
294
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
|
|
295
|
-
"version": "2.
|
|
295
|
+
"version": "2.174.0"
|
|
296
296
|
}
|
|
297
297
|
},
|
|
298
298
|
"DefaultRoute": {
|
|
@@ -312,7 +312,7 @@
|
|
|
312
312
|
},
|
|
313
313
|
"constructInfo": {
|
|
314
314
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
|
|
315
|
-
"version": "2.
|
|
315
|
+
"version": "2.174.0"
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
"EIP": {
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
},
|
|
333
333
|
"constructInfo": {
|
|
334
334
|
"fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
|
|
335
|
-
"version": "2.
|
|
335
|
+
"version": "2.174.0"
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
"NATGateway": {
|
|
@@ -360,13 +360,13 @@
|
|
|
360
360
|
},
|
|
361
361
|
"constructInfo": {
|
|
362
362
|
"fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
|
|
363
|
-
"version": "2.
|
|
363
|
+
"version": "2.174.0"
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
367
|
"constructInfo": {
|
|
368
368
|
"fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
|
|
369
|
-
"version": "2.
|
|
369
|
+
"version": "2.174.0"
|
|
370
370
|
}
|
|
371
371
|
},
|
|
372
372
|
"PrivateSubnet1": {
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
},
|
|
411
411
|
"constructInfo": {
|
|
412
412
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
|
|
413
|
-
"version": "2.
|
|
413
|
+
"version": "2.174.0"
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
416
|
"Acl": {
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
"path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/Acl",
|
|
419
419
|
"constructInfo": {
|
|
420
420
|
"fqn": "aws-cdk-lib.Resource",
|
|
421
|
-
"version": "2.
|
|
421
|
+
"version": "2.174.0"
|
|
422
422
|
}
|
|
423
423
|
},
|
|
424
424
|
"RouteTable": {
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
},
|
|
441
441
|
"constructInfo": {
|
|
442
442
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
|
|
443
|
-
"version": "2.
|
|
443
|
+
"version": "2.174.0"
|
|
444
444
|
}
|
|
445
445
|
},
|
|
446
446
|
"RouteTableAssociation": {
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
},
|
|
460
460
|
"constructInfo": {
|
|
461
461
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
|
|
462
|
-
"version": "2.
|
|
462
|
+
"version": "2.174.0"
|
|
463
463
|
}
|
|
464
464
|
},
|
|
465
465
|
"DefaultRoute": {
|
|
@@ -479,13 +479,13 @@
|
|
|
479
479
|
},
|
|
480
480
|
"constructInfo": {
|
|
481
481
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
|
|
482
|
-
"version": "2.
|
|
482
|
+
"version": "2.174.0"
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
},
|
|
486
486
|
"constructInfo": {
|
|
487
487
|
"fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
|
|
488
|
-
"version": "2.
|
|
488
|
+
"version": "2.174.0"
|
|
489
489
|
}
|
|
490
490
|
},
|
|
491
491
|
"PrivateSubnet2": {
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
},
|
|
530
530
|
"constructInfo": {
|
|
531
531
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
|
|
532
|
-
"version": "2.
|
|
532
|
+
"version": "2.174.0"
|
|
533
533
|
}
|
|
534
534
|
},
|
|
535
535
|
"Acl": {
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
"path": "lamddb-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/Acl",
|
|
538
538
|
"constructInfo": {
|
|
539
539
|
"fqn": "aws-cdk-lib.Resource",
|
|
540
|
-
"version": "2.
|
|
540
|
+
"version": "2.174.0"
|
|
541
541
|
}
|
|
542
542
|
},
|
|
543
543
|
"RouteTable": {
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
},
|
|
560
560
|
"constructInfo": {
|
|
561
561
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
|
|
562
|
-
"version": "2.
|
|
562
|
+
"version": "2.174.0"
|
|
563
563
|
}
|
|
564
564
|
},
|
|
565
565
|
"RouteTableAssociation": {
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
},
|
|
579
579
|
"constructInfo": {
|
|
580
580
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
|
|
581
|
-
"version": "2.
|
|
581
|
+
"version": "2.174.0"
|
|
582
582
|
}
|
|
583
583
|
},
|
|
584
584
|
"DefaultRoute": {
|
|
@@ -598,13 +598,13 @@
|
|
|
598
598
|
},
|
|
599
599
|
"constructInfo": {
|
|
600
600
|
"fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
|
|
601
|
-
"version": "2.
|
|
601
|
+
"version": "2.174.0"
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
604
|
},
|
|
605
605
|
"constructInfo": {
|
|
606
606
|
"fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
|
|
607
|
-
"version": "2.
|
|
607
|
+
"version": "2.174.0"
|
|
608
608
|
}
|
|
609
609
|
},
|
|
610
610
|
"IGW": {
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
},
|
|
624
624
|
"constructInfo": {
|
|
625
625
|
"fqn": "aws-cdk-lib.aws_ec2.CfnInternetGateway",
|
|
626
|
-
"version": "2.
|
|
626
|
+
"version": "2.174.0"
|
|
627
627
|
}
|
|
628
628
|
},
|
|
629
629
|
"VPCGW": {
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
},
|
|
643
643
|
"constructInfo": {
|
|
644
644
|
"fqn": "aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment",
|
|
645
|
-
"version": "2.
|
|
645
|
+
"version": "2.174.0"
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
648
|
"RestrictDefaultSecurityGroupCustomResource": {
|
|
@@ -654,13 +654,13 @@
|
|
|
654
654
|
"path": "lamddb-deployFunctionWithExistingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
|
|
655
655
|
"constructInfo": {
|
|
656
656
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
657
|
-
"version": "2.
|
|
657
|
+
"version": "2.174.0"
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
},
|
|
661
661
|
"constructInfo": {
|
|
662
662
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
663
|
-
"version": "2.
|
|
663
|
+
"version": "2.174.0"
|
|
664
664
|
}
|
|
665
665
|
},
|
|
666
666
|
"FlowLog": {
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
"path": "lamddb-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
|
|
677
677
|
"constructInfo": {
|
|
678
678
|
"fqn": "aws-cdk-lib.Resource",
|
|
679
|
-
"version": "2.
|
|
679
|
+
"version": "2.174.0"
|
|
680
680
|
}
|
|
681
681
|
},
|
|
682
682
|
"Resource": {
|
|
@@ -707,7 +707,7 @@
|
|
|
707
707
|
},
|
|
708
708
|
"constructInfo": {
|
|
709
709
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
710
|
-
"version": "2.
|
|
710
|
+
"version": "2.174.0"
|
|
711
711
|
}
|
|
712
712
|
},
|
|
713
713
|
"DefaultPolicy": {
|
|
@@ -759,19 +759,19 @@
|
|
|
759
759
|
},
|
|
760
760
|
"constructInfo": {
|
|
761
761
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
762
|
-
"version": "2.
|
|
762
|
+
"version": "2.174.0"
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
765
|
},
|
|
766
766
|
"constructInfo": {
|
|
767
767
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
768
|
-
"version": "2.
|
|
768
|
+
"version": "2.174.0"
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
},
|
|
772
772
|
"constructInfo": {
|
|
773
773
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
774
|
-
"version": "2.
|
|
774
|
+
"version": "2.174.0"
|
|
775
775
|
}
|
|
776
776
|
},
|
|
777
777
|
"LogGroup": {
|
|
@@ -795,13 +795,13 @@
|
|
|
795
795
|
},
|
|
796
796
|
"constructInfo": {
|
|
797
797
|
"fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
|
|
798
|
-
"version": "2.
|
|
798
|
+
"version": "2.174.0"
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
801
|
},
|
|
802
802
|
"constructInfo": {
|
|
803
803
|
"fqn": "aws-cdk-lib.aws_logs.LogGroup",
|
|
804
|
-
"version": "2.
|
|
804
|
+
"version": "2.174.0"
|
|
805
805
|
}
|
|
806
806
|
},
|
|
807
807
|
"FlowLog": {
|
|
@@ -835,13 +835,13 @@
|
|
|
835
835
|
},
|
|
836
836
|
"constructInfo": {
|
|
837
837
|
"fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
|
|
838
|
-
"version": "2.
|
|
838
|
+
"version": "2.174.0"
|
|
839
839
|
}
|
|
840
840
|
}
|
|
841
841
|
},
|
|
842
842
|
"constructInfo": {
|
|
843
843
|
"fqn": "aws-cdk-lib.aws_ec2.FlowLog",
|
|
844
|
-
"version": "2.
|
|
844
|
+
"version": "2.174.0"
|
|
845
845
|
}
|
|
846
846
|
},
|
|
847
847
|
"DDB": {
|
|
@@ -854,6 +854,12 @@
|
|
|
854
854
|
"attributes": {
|
|
855
855
|
"aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
|
|
856
856
|
"aws:cdk:cloudformation:props": {
|
|
857
|
+
"tags": [
|
|
858
|
+
{
|
|
859
|
+
"key": "Name",
|
|
860
|
+
"value": "lamddb-deployFunctionWithExistingVpc/Vpc"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
857
863
|
"routeTableIds": [
|
|
858
864
|
{
|
|
859
865
|
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
@@ -888,19 +894,19 @@
|
|
|
888
894
|
},
|
|
889
895
|
"constructInfo": {
|
|
890
896
|
"fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
|
|
891
|
-
"version": "2.
|
|
897
|
+
"version": "2.174.0"
|
|
892
898
|
}
|
|
893
899
|
}
|
|
894
900
|
},
|
|
895
901
|
"constructInfo": {
|
|
896
902
|
"fqn": "aws-cdk-lib.aws_ec2.GatewayVpcEndpoint",
|
|
897
|
-
"version": "2.
|
|
903
|
+
"version": "2.174.0"
|
|
898
904
|
}
|
|
899
905
|
}
|
|
900
906
|
},
|
|
901
907
|
"constructInfo": {
|
|
902
908
|
"fqn": "aws-cdk-lib.aws_ec2.Vpc",
|
|
903
|
-
"version": "2.
|
|
909
|
+
"version": "2.174.0"
|
|
904
910
|
}
|
|
905
911
|
},
|
|
906
912
|
"LatestNodeRuntimeMap": {
|
|
@@ -908,7 +914,7 @@
|
|
|
908
914
|
"path": "lamddb-deployFunctionWithExistingVpc/LatestNodeRuntimeMap",
|
|
909
915
|
"constructInfo": {
|
|
910
916
|
"fqn": "aws-cdk-lib.CfnMapping",
|
|
911
|
-
"version": "2.
|
|
917
|
+
"version": "2.174.0"
|
|
912
918
|
}
|
|
913
919
|
},
|
|
914
920
|
"Custom::VpcRestrictDefaultSGCustomResourceProvider": {
|
|
@@ -920,7 +926,7 @@
|
|
|
920
926
|
"path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
|
|
921
927
|
"constructInfo": {
|
|
922
928
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
923
|
-
"version": "2.
|
|
929
|
+
"version": "2.174.0"
|
|
924
930
|
}
|
|
925
931
|
},
|
|
926
932
|
"Role": {
|
|
@@ -928,7 +934,7 @@
|
|
|
928
934
|
"path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
|
|
929
935
|
"constructInfo": {
|
|
930
936
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
931
|
-
"version": "2.
|
|
937
|
+
"version": "2.174.0"
|
|
932
938
|
}
|
|
933
939
|
},
|
|
934
940
|
"Handler": {
|
|
@@ -936,13 +942,13 @@
|
|
|
936
942
|
"path": "lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
|
|
937
943
|
"constructInfo": {
|
|
938
944
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
939
|
-
"version": "2.
|
|
945
|
+
"version": "2.174.0"
|
|
940
946
|
}
|
|
941
947
|
}
|
|
942
948
|
},
|
|
943
949
|
"constructInfo": {
|
|
944
950
|
"fqn": "aws-cdk-lib.CustomResourceProviderBase",
|
|
945
|
-
"version": "2.
|
|
951
|
+
"version": "2.174.0"
|
|
946
952
|
}
|
|
947
953
|
},
|
|
948
954
|
"test-lambda-dynamodb-stack": {
|
|
@@ -958,7 +964,7 @@
|
|
|
958
964
|
"path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
959
965
|
"constructInfo": {
|
|
960
966
|
"fqn": "aws-cdk-lib.Resource",
|
|
961
|
-
"version": "2.
|
|
967
|
+
"version": "2.174.0"
|
|
962
968
|
}
|
|
963
969
|
},
|
|
964
970
|
"Resource": {
|
|
@@ -1021,7 +1027,7 @@
|
|
|
1021
1027
|
},
|
|
1022
1028
|
"constructInfo": {
|
|
1023
1029
|
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
1024
|
-
"version": "2.
|
|
1030
|
+
"version": "2.174.0"
|
|
1025
1031
|
}
|
|
1026
1032
|
},
|
|
1027
1033
|
"DefaultPolicy": {
|
|
@@ -1090,19 +1096,19 @@
|
|
|
1090
1096
|
},
|
|
1091
1097
|
"constructInfo": {
|
|
1092
1098
|
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
1093
|
-
"version": "2.
|
|
1099
|
+
"version": "2.174.0"
|
|
1094
1100
|
}
|
|
1095
1101
|
}
|
|
1096
1102
|
},
|
|
1097
1103
|
"constructInfo": {
|
|
1098
1104
|
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
1099
|
-
"version": "2.
|
|
1105
|
+
"version": "2.174.0"
|
|
1100
1106
|
}
|
|
1101
1107
|
}
|
|
1102
1108
|
},
|
|
1103
1109
|
"constructInfo": {
|
|
1104
1110
|
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
1105
|
-
"version": "2.
|
|
1111
|
+
"version": "2.174.0"
|
|
1106
1112
|
}
|
|
1107
1113
|
},
|
|
1108
1114
|
"ReplaceDefaultSecurityGroup-security-group": {
|
|
@@ -1130,13 +1136,13 @@
|
|
|
1130
1136
|
},
|
|
1131
1137
|
"constructInfo": {
|
|
1132
1138
|
"fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
|
|
1133
|
-
"version": "2.
|
|
1139
|
+
"version": "2.174.0"
|
|
1134
1140
|
}
|
|
1135
1141
|
}
|
|
1136
1142
|
},
|
|
1137
1143
|
"constructInfo": {
|
|
1138
1144
|
"fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
|
|
1139
|
-
"version": "2.
|
|
1145
|
+
"version": "2.174.0"
|
|
1140
1146
|
}
|
|
1141
1147
|
},
|
|
1142
1148
|
"LambdaFunction": {
|
|
@@ -1152,7 +1158,7 @@
|
|
|
1152
1158
|
"path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/Stage",
|
|
1153
1159
|
"constructInfo": {
|
|
1154
1160
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
1155
|
-
"version": "2.
|
|
1161
|
+
"version": "2.174.0"
|
|
1156
1162
|
}
|
|
1157
1163
|
},
|
|
1158
1164
|
"AssetBucket": {
|
|
@@ -1160,13 +1166,13 @@
|
|
|
1160
1166
|
"path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/LambdaFunction/Code/AssetBucket",
|
|
1161
1167
|
"constructInfo": {
|
|
1162
1168
|
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
1163
|
-
"version": "2.
|
|
1169
|
+
"version": "2.174.0"
|
|
1164
1170
|
}
|
|
1165
1171
|
}
|
|
1166
1172
|
},
|
|
1167
1173
|
"constructInfo": {
|
|
1168
1174
|
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
1169
|
-
"version": "2.
|
|
1175
|
+
"version": "2.174.0"
|
|
1170
1176
|
}
|
|
1171
1177
|
},
|
|
1172
1178
|
"Resource": {
|
|
@@ -1179,7 +1185,7 @@
|
|
|
1179
1185
|
"s3Bucket": {
|
|
1180
1186
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
1181
1187
|
},
|
|
1182
|
-
"s3Key": "
|
|
1188
|
+
"s3Key": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"
|
|
1183
1189
|
},
|
|
1184
1190
|
"environment": {
|
|
1185
1191
|
"variables": {
|
|
@@ -1222,13 +1228,13 @@
|
|
|
1222
1228
|
},
|
|
1223
1229
|
"constructInfo": {
|
|
1224
1230
|
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
1225
|
-
"version": "2.
|
|
1231
|
+
"version": "2.174.0"
|
|
1226
1232
|
}
|
|
1227
1233
|
}
|
|
1228
1234
|
},
|
|
1229
1235
|
"constructInfo": {
|
|
1230
1236
|
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
1231
|
-
"version": "2.
|
|
1237
|
+
"version": "2.174.0"
|
|
1232
1238
|
}
|
|
1233
1239
|
},
|
|
1234
1240
|
"DynamoTable": {
|
|
@@ -1264,7 +1270,7 @@
|
|
|
1264
1270
|
},
|
|
1265
1271
|
"constructInfo": {
|
|
1266
1272
|
"fqn": "aws-cdk-lib.aws_dynamodb.CfnTable",
|
|
1267
|
-
"version": "2.
|
|
1273
|
+
"version": "2.174.0"
|
|
1268
1274
|
}
|
|
1269
1275
|
},
|
|
1270
1276
|
"ScalingRole": {
|
|
@@ -1272,19 +1278,19 @@
|
|
|
1272
1278
|
"path": "lamddb-deployFunctionWithExistingVpc/test-lambda-dynamodb-stack/DynamoTable/ScalingRole",
|
|
1273
1279
|
"constructInfo": {
|
|
1274
1280
|
"fqn": "aws-cdk-lib.Resource",
|
|
1275
|
-
"version": "2.
|
|
1281
|
+
"version": "2.174.0"
|
|
1276
1282
|
}
|
|
1277
1283
|
}
|
|
1278
1284
|
},
|
|
1279
1285
|
"constructInfo": {
|
|
1280
1286
|
"fqn": "aws-cdk-lib.aws_dynamodb.Table",
|
|
1281
|
-
"version": "2.
|
|
1287
|
+
"version": "2.174.0"
|
|
1282
1288
|
}
|
|
1283
1289
|
}
|
|
1284
1290
|
},
|
|
1285
1291
|
"constructInfo": {
|
|
1286
1292
|
"fqn": "@aws-solutions-constructs/aws-lambda-dynamodb.LambdaToDynamoDB",
|
|
1287
|
-
"version": "2.
|
|
1293
|
+
"version": "2.76.0"
|
|
1288
1294
|
}
|
|
1289
1295
|
},
|
|
1290
1296
|
"Integ": {
|
|
@@ -1300,7 +1306,7 @@
|
|
|
1300
1306
|
"path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/Default",
|
|
1301
1307
|
"constructInfo": {
|
|
1302
1308
|
"fqn": "constructs.Construct",
|
|
1303
|
-
"version": "10.
|
|
1309
|
+
"version": "10.4.2"
|
|
1304
1310
|
}
|
|
1305
1311
|
},
|
|
1306
1312
|
"DeployAssert": {
|
|
@@ -1312,7 +1318,7 @@
|
|
|
1312
1318
|
"path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
1313
1319
|
"constructInfo": {
|
|
1314
1320
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
1315
|
-
"version": "2.
|
|
1321
|
+
"version": "2.174.0"
|
|
1316
1322
|
}
|
|
1317
1323
|
},
|
|
1318
1324
|
"CheckBootstrapVersion": {
|
|
@@ -1320,25 +1326,25 @@
|
|
|
1320
1326
|
"path": "lamddb-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
1321
1327
|
"constructInfo": {
|
|
1322
1328
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
1323
|
-
"version": "2.
|
|
1329
|
+
"version": "2.174.0"
|
|
1324
1330
|
}
|
|
1325
1331
|
}
|
|
1326
1332
|
},
|
|
1327
1333
|
"constructInfo": {
|
|
1328
1334
|
"fqn": "aws-cdk-lib.Stack",
|
|
1329
|
-
"version": "2.
|
|
1335
|
+
"version": "2.174.0"
|
|
1330
1336
|
}
|
|
1331
1337
|
}
|
|
1332
1338
|
},
|
|
1333
1339
|
"constructInfo": {
|
|
1334
1340
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
1335
|
-
"version": "2.
|
|
1341
|
+
"version": "2.174.0-alpha.0"
|
|
1336
1342
|
}
|
|
1337
1343
|
}
|
|
1338
1344
|
},
|
|
1339
1345
|
"constructInfo": {
|
|
1340
1346
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
1341
|
-
"version": "2.
|
|
1347
|
+
"version": "2.174.0-alpha.0"
|
|
1342
1348
|
}
|
|
1343
1349
|
},
|
|
1344
1350
|
"BootstrapVersion": {
|
|
@@ -1346,7 +1352,7 @@
|
|
|
1346
1352
|
"path": "lamddb-deployFunctionWithExistingVpc/BootstrapVersion",
|
|
1347
1353
|
"constructInfo": {
|
|
1348
1354
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
1349
|
-
"version": "2.
|
|
1355
|
+
"version": "2.174.0"
|
|
1350
1356
|
}
|
|
1351
1357
|
},
|
|
1352
1358
|
"CheckBootstrapVersion": {
|
|
@@ -1354,13 +1360,13 @@
|
|
|
1354
1360
|
"path": "lamddb-deployFunctionWithExistingVpc/CheckBootstrapVersion",
|
|
1355
1361
|
"constructInfo": {
|
|
1356
1362
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
1357
|
-
"version": "2.
|
|
1363
|
+
"version": "2.174.0"
|
|
1358
1364
|
}
|
|
1359
1365
|
}
|
|
1360
1366
|
},
|
|
1361
1367
|
"constructInfo": {
|
|
1362
1368
|
"fqn": "aws-cdk-lib.Stack",
|
|
1363
|
-
"version": "2.
|
|
1369
|
+
"version": "2.174.0"
|
|
1364
1370
|
}
|
|
1365
1371
|
},
|
|
1366
1372
|
"Tree": {
|
|
@@ -1368,13 +1374,13 @@
|
|
|
1368
1374
|
"path": "Tree",
|
|
1369
1375
|
"constructInfo": {
|
|
1370
1376
|
"fqn": "constructs.Construct",
|
|
1371
|
-
"version": "10.
|
|
1377
|
+
"version": "10.4.2"
|
|
1372
1378
|
}
|
|
1373
1379
|
}
|
|
1374
1380
|
},
|
|
1375
1381
|
"constructInfo": {
|
|
1376
1382
|
"fqn": "aws-cdk-lib.App",
|
|
1377
|
-
"version": "2.
|
|
1383
|
+
"version": "2.174.0"
|
|
1378
1384
|
}
|
|
1379
1385
|
}
|
|
1380
1386
|
}
|
|
@@ -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))}
|