@aws-solutions-constructs/aws-lambda-secretsmanager 2.76.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.
Files changed (27) hide show
  1. package/.jsii +57 -18
  2. package/lib/index.js +1 -1
  3. package/package.json +7 -6
  4. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  5. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  6. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
  7. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/integ.json +1 -1
  8. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/lamsec-deployFunctionWithExistingVpc.assets.json +9 -9
  9. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/lamsec-deployFunctionWithExistingVpc.template.json +8 -2
  10. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/lamsecdeployFunctionWithExistingVpcIntegDefaultTestDeployAssert647243A7.assets.json +1 -1
  11. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/manifest.json +8 -2
  12. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/tree.json +85 -79
  13. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  14. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
  15. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  16. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/integ.json +1 -1
  17. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/lamsec-deployFunctionWithVpc.assets.json +9 -9
  18. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/lamsec-deployFunctionWithVpc.template.json +8 -2
  19. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/lamsecdeployFunctionWithVpcIntegDefaultTestDeployAssert66148FF5.assets.json +1 -1
  20. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/manifest.json +8 -2
  21. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/tree.json +65 -59
  22. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
  23. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  24. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/asset.0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8/index.js +0 -8
  25. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  26. /package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  27. /package/test/integ.lamsec-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.150.0"
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.150.0"
79
+ "version": "2.174.0"
80
80
  }
81
81
  },
82
82
  "Acl": {
@@ -84,7 +84,7 @@
84
84
  "path": "lamsec-deployFunctionWithExistingVpc/Vpc/PublicSubnet1/Acl",
85
85
  "constructInfo": {
86
86
  "fqn": "aws-cdk-lib.Resource",
87
- "version": "2.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
246
+ "version": "2.174.0"
247
247
  }
248
248
  },
249
249
  "Acl": {
@@ -251,7 +251,7 @@
251
251
  "path": "lamsec-deployFunctionWithExistingVpc/Vpc/PublicSubnet2/Acl",
252
252
  "constructInfo": {
253
253
  "fqn": "aws-cdk-lib.Resource",
254
- "version": "2.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
413
+ "version": "2.174.0"
414
414
  }
415
415
  },
416
416
  "Acl": {
@@ -418,7 +418,7 @@
418
418
  "path": "lamsec-deployFunctionWithExistingVpc/Vpc/PrivateSubnet1/Acl",
419
419
  "constructInfo": {
420
420
  "fqn": "aws-cdk-lib.Resource",
421
- "version": "2.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
532
+ "version": "2.174.0"
533
533
  }
534
534
  },
535
535
  "Acl": {
@@ -537,7 +537,7 @@
537
537
  "path": "lamsec-deployFunctionWithExistingVpc/Vpc/PrivateSubnet2/Acl",
538
538
  "constructInfo": {
539
539
  "fqn": "aws-cdk-lib.Resource",
540
- "version": "2.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
645
+ "version": "2.174.0"
646
646
  }
647
647
  },
648
648
  "RestrictDefaultSecurityGroupCustomResource": {
@@ -654,13 +654,13 @@
654
654
  "path": "lamsec-deployFunctionWithExistingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
655
655
  "constructInfo": {
656
656
  "fqn": "aws-cdk-lib.CfnResource",
657
- "version": "2.150.0"
657
+ "version": "2.174.0"
658
658
  }
659
659
  }
660
660
  },
661
661
  "constructInfo": {
662
662
  "fqn": "aws-cdk-lib.CustomResource",
663
- "version": "2.150.0"
663
+ "version": "2.174.0"
664
664
  }
665
665
  },
666
666
  "FlowLog": {
@@ -676,7 +676,7 @@
676
676
  "path": "lamsec-deployFunctionWithExistingVpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
677
677
  "constructInfo": {
678
678
  "fqn": "aws-cdk-lib.Resource",
679
- "version": "2.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
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.150.0"
844
+ "version": "2.174.0"
845
845
  }
846
846
  },
847
847
  "SECRETS_MANAGER": {
@@ -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": "lamsec-deployFunctionWithExistingVpc/Vpc"
861
+ }
862
+ ],
857
863
  "privateDnsEnabled": true,
858
864
  "securityGroupIds": [
859
865
  {
@@ -891,19 +897,19 @@
891
897
  },
892
898
  "constructInfo": {
893
899
  "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
894
- "version": "2.150.0"
900
+ "version": "2.174.0"
895
901
  }
896
902
  }
897
903
  },
898
904
  "constructInfo": {
899
905
  "fqn": "aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint",
900
- "version": "2.150.0"
906
+ "version": "2.174.0"
901
907
  }
902
908
  }
903
909
  },
904
910
  "constructInfo": {
905
911
  "fqn": "aws-cdk-lib.aws_ec2.Vpc",
906
- "version": "2.150.0"
912
+ "version": "2.174.0"
907
913
  }
908
914
  },
909
915
  "LatestNodeRuntimeMap": {
@@ -911,7 +917,7 @@
911
917
  "path": "lamsec-deployFunctionWithExistingVpc/LatestNodeRuntimeMap",
912
918
  "constructInfo": {
913
919
  "fqn": "aws-cdk-lib.CfnMapping",
914
- "version": "2.150.0"
920
+ "version": "2.174.0"
915
921
  }
916
922
  },
917
923
  "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
@@ -923,7 +929,7 @@
923
929
  "path": "lamsec-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
924
930
  "constructInfo": {
925
931
  "fqn": "aws-cdk-lib.AssetStaging",
926
- "version": "2.150.0"
932
+ "version": "2.174.0"
927
933
  }
928
934
  },
929
935
  "Role": {
@@ -931,7 +937,7 @@
931
937
  "path": "lamsec-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
932
938
  "constructInfo": {
933
939
  "fqn": "aws-cdk-lib.CfnResource",
934
- "version": "2.150.0"
940
+ "version": "2.174.0"
935
941
  }
936
942
  },
937
943
  "Handler": {
@@ -939,13 +945,13 @@
939
945
  "path": "lamsec-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
940
946
  "constructInfo": {
941
947
  "fqn": "aws-cdk-lib.CfnResource",
942
- "version": "2.150.0"
948
+ "version": "2.174.0"
943
949
  }
944
950
  }
945
951
  },
946
952
  "constructInfo": {
947
953
  "fqn": "aws-cdk-lib.CustomResourceProviderBase",
948
- "version": "2.150.0"
954
+ "version": "2.174.0"
949
955
  }
950
956
  },
951
957
  "test-lambda-secretsmanager-stack": {
@@ -961,7 +967,7 @@
961
967
  "path": "lamsec-deployFunctionWithExistingVpc/test-lambda-secretsmanager-stack/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
962
968
  "constructInfo": {
963
969
  "fqn": "aws-cdk-lib.Resource",
964
- "version": "2.150.0"
970
+ "version": "2.174.0"
965
971
  }
966
972
  },
967
973
  "Resource": {
@@ -1024,7 +1030,7 @@
1024
1030
  },
1025
1031
  "constructInfo": {
1026
1032
  "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1027
- "version": "2.150.0"
1033
+ "version": "2.174.0"
1028
1034
  }
1029
1035
  },
1030
1036
  "DefaultPolicy": {
@@ -1075,19 +1081,19 @@
1075
1081
  },
1076
1082
  "constructInfo": {
1077
1083
  "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1078
- "version": "2.150.0"
1084
+ "version": "2.174.0"
1079
1085
  }
1080
1086
  }
1081
1087
  },
1082
1088
  "constructInfo": {
1083
1089
  "fqn": "aws-cdk-lib.aws_iam.Policy",
1084
- "version": "2.150.0"
1090
+ "version": "2.174.0"
1085
1091
  }
1086
1092
  }
1087
1093
  },
1088
1094
  "constructInfo": {
1089
1095
  "fqn": "aws-cdk-lib.aws_iam.Role",
1090
- "version": "2.150.0"
1096
+ "version": "2.174.0"
1091
1097
  }
1092
1098
  },
1093
1099
  "ReplaceDefaultSecurityGroup-security-group": {
@@ -1115,13 +1121,13 @@
1115
1121
  },
1116
1122
  "constructInfo": {
1117
1123
  "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1118
- "version": "2.150.0"
1124
+ "version": "2.174.0"
1119
1125
  }
1120
1126
  }
1121
1127
  },
1122
1128
  "constructInfo": {
1123
1129
  "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1124
- "version": "2.150.0"
1130
+ "version": "2.174.0"
1125
1131
  }
1126
1132
  },
1127
1133
  "LambdaFunction": {
@@ -1137,7 +1143,7 @@
1137
1143
  "path": "lamsec-deployFunctionWithExistingVpc/test-lambda-secretsmanager-stack/LambdaFunction/Code/Stage",
1138
1144
  "constructInfo": {
1139
1145
  "fqn": "aws-cdk-lib.AssetStaging",
1140
- "version": "2.150.0"
1146
+ "version": "2.174.0"
1141
1147
  }
1142
1148
  },
1143
1149
  "AssetBucket": {
@@ -1145,13 +1151,13 @@
1145
1151
  "path": "lamsec-deployFunctionWithExistingVpc/test-lambda-secretsmanager-stack/LambdaFunction/Code/AssetBucket",
1146
1152
  "constructInfo": {
1147
1153
  "fqn": "aws-cdk-lib.aws_s3.BucketBase",
1148
- "version": "2.150.0"
1154
+ "version": "2.174.0"
1149
1155
  }
1150
1156
  }
1151
1157
  },
1152
1158
  "constructInfo": {
1153
1159
  "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
1154
- "version": "2.150.0"
1160
+ "version": "2.174.0"
1155
1161
  }
1156
1162
  },
1157
1163
  "Resource": {
@@ -1164,7 +1170,7 @@
1164
1170
  "s3Bucket": {
1165
1171
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1166
1172
  },
1167
- "s3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
1173
+ "s3Key": "a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c.zip"
1168
1174
  },
1169
1175
  "environment": {
1170
1176
  "variables": {
@@ -1207,13 +1213,13 @@
1207
1213
  },
1208
1214
  "constructInfo": {
1209
1215
  "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
1210
- "version": "2.150.0"
1216
+ "version": "2.174.0"
1211
1217
  }
1212
1218
  }
1213
1219
  },
1214
1220
  "constructInfo": {
1215
1221
  "fqn": "aws-cdk-lib.aws_lambda.Function",
1216
- "version": "2.150.0"
1222
+ "version": "2.174.0"
1217
1223
  }
1218
1224
  },
1219
1225
  "secret": {
@@ -1231,19 +1237,19 @@
1231
1237
  },
1232
1238
  "constructInfo": {
1233
1239
  "fqn": "aws-cdk-lib.aws_secretsmanager.CfnSecret",
1234
- "version": "2.150.0"
1240
+ "version": "2.174.0"
1235
1241
  }
1236
1242
  }
1237
1243
  },
1238
1244
  "constructInfo": {
1239
1245
  "fqn": "aws-cdk-lib.aws_secretsmanager.Secret",
1240
- "version": "2.150.0"
1246
+ "version": "2.174.0"
1241
1247
  }
1242
1248
  }
1243
1249
  },
1244
1250
  "constructInfo": {
1245
1251
  "fqn": "@aws-solutions-constructs/aws-lambda-secretsmanager.LambdaToSecretsmanager",
1246
- "version": "2.63.0"
1252
+ "version": "2.76.0"
1247
1253
  }
1248
1254
  },
1249
1255
  "lamsec-deployFunctionWithExistingVpc-SECRETS_MANAGER-security-group": {
@@ -1299,13 +1305,13 @@
1299
1305
  },
1300
1306
  "constructInfo": {
1301
1307
  "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1302
- "version": "2.150.0"
1308
+ "version": "2.174.0"
1303
1309
  }
1304
1310
  }
1305
1311
  },
1306
1312
  "constructInfo": {
1307
1313
  "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1308
- "version": "2.150.0"
1314
+ "version": "2.174.0"
1309
1315
  }
1310
1316
  },
1311
1317
  "Integ": {
@@ -1321,7 +1327,7 @@
1321
1327
  "path": "lamsec-deployFunctionWithExistingVpc/Integ/DefaultTest/Default",
1322
1328
  "constructInfo": {
1323
1329
  "fqn": "constructs.Construct",
1324
- "version": "10.3.0"
1330
+ "version": "10.4.2"
1325
1331
  }
1326
1332
  },
1327
1333
  "DeployAssert": {
@@ -1333,7 +1339,7 @@
1333
1339
  "path": "lamsec-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1334
1340
  "constructInfo": {
1335
1341
  "fqn": "aws-cdk-lib.CfnParameter",
1336
- "version": "2.150.0"
1342
+ "version": "2.174.0"
1337
1343
  }
1338
1344
  },
1339
1345
  "CheckBootstrapVersion": {
@@ -1341,25 +1347,25 @@
1341
1347
  "path": "lamsec-deployFunctionWithExistingVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1342
1348
  "constructInfo": {
1343
1349
  "fqn": "aws-cdk-lib.CfnRule",
1344
- "version": "2.150.0"
1350
+ "version": "2.174.0"
1345
1351
  }
1346
1352
  }
1347
1353
  },
1348
1354
  "constructInfo": {
1349
1355
  "fqn": "aws-cdk-lib.Stack",
1350
- "version": "2.150.0"
1356
+ "version": "2.174.0"
1351
1357
  }
1352
1358
  }
1353
1359
  },
1354
1360
  "constructInfo": {
1355
1361
  "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1356
- "version": "2.150.0-alpha.0"
1362
+ "version": "2.174.0-alpha.0"
1357
1363
  }
1358
1364
  }
1359
1365
  },
1360
1366
  "constructInfo": {
1361
1367
  "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1362
- "version": "2.150.0-alpha.0"
1368
+ "version": "2.174.0-alpha.0"
1363
1369
  }
1364
1370
  },
1365
1371
  "BootstrapVersion": {
@@ -1367,7 +1373,7 @@
1367
1373
  "path": "lamsec-deployFunctionWithExistingVpc/BootstrapVersion",
1368
1374
  "constructInfo": {
1369
1375
  "fqn": "aws-cdk-lib.CfnParameter",
1370
- "version": "2.150.0"
1376
+ "version": "2.174.0"
1371
1377
  }
1372
1378
  },
1373
1379
  "CheckBootstrapVersion": {
@@ -1375,13 +1381,13 @@
1375
1381
  "path": "lamsec-deployFunctionWithExistingVpc/CheckBootstrapVersion",
1376
1382
  "constructInfo": {
1377
1383
  "fqn": "aws-cdk-lib.CfnRule",
1378
- "version": "2.150.0"
1384
+ "version": "2.174.0"
1379
1385
  }
1380
1386
  }
1381
1387
  },
1382
1388
  "constructInfo": {
1383
1389
  "fqn": "aws-cdk-lib.Stack",
1384
- "version": "2.150.0"
1390
+ "version": "2.174.0"
1385
1391
  }
1386
1392
  },
1387
1393
  "Tree": {
@@ -1389,13 +1395,13 @@
1389
1395
  "path": "Tree",
1390
1396
  "constructInfo": {
1391
1397
  "fqn": "constructs.Construct",
1392
- "version": "10.3.0"
1398
+ "version": "10.4.2"
1393
1399
  }
1394
1400
  }
1395
1401
  },
1396
1402
  "constructInfo": {
1397
1403
  "fqn": "aws-cdk-lib.App",
1398
- "version": "2.150.0"
1404
+ "version": "2.174.0"
1399
1405
  }
1400
1406
  }
1401
1407
  }
@@ -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))}