@aws-solutions-constructs/aws-lambda-secretsmanager 2.59.0 → 2.61.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 (28) hide show
  1. package/.jsii +45 -8
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamsec-deployFunction.js +3 -2
  5. package/test/integ.lamsec-deployFunction.js.snapshot/lamsec-deployFunction.assets.json +2 -2
  6. package/test/integ.lamsec-deployFunction.js.snapshot/lamsec-deployFunction.template.json +1 -1
  7. package/test/integ.lamsec-deployFunction.js.snapshot/manifest.json +1 -1
  8. package/test/integ.lamsec-deployFunction.js.snapshot/tree.json +25 -25
  9. package/test/integ.lamsec-deployFunctionWithExistingVpc.js +2 -2
  10. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
  11. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/lamsec-deployFunctionWithExistingVpc.assets.json +5 -5
  12. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/lamsec-deployFunctionWithExistingVpc.template.json +120 -3
  13. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/manifest.json +7 -1
  14. package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/tree.json +84 -76
  15. package/test/integ.lamsec-deployFunctionWithVpc.js +4 -3
  16. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
  17. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/lamsec-deployFunctionWithVpc.assets.json +5 -5
  18. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/lamsec-deployFunctionWithVpc.template.json +120 -3
  19. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/manifest.json +7 -1
  20. package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/tree.json +64 -56
  21. package/test/integ.lamsec-existingFunction.js +2 -2
  22. package/test/integ.lamsec-existingFunction.js.snapshot/lamsec-existingFunction.assets.json +2 -2
  23. package/test/integ.lamsec-existingFunction.js.snapshot/lamsec-existingFunction.template.json +1 -1
  24. package/test/integ.lamsec-existingFunction.js.snapshot/manifest.json +1 -1
  25. package/test/integ.lamsec-existingFunction.js.snapshot/tree.json +25 -25
  26. package/test/lambda-secretsmanager.test.js +17 -17
  27. /package/test/integ.lamsec-deployFunctionWithExistingVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
  28. /package/test/integ.lamsec-deployFunctionWithVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
@@ -661,7 +661,7 @@
661
661
  "S3Bucket": {
662
662
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
663
663
  },
664
- "S3Key": "dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e.zip"
664
+ "S3Key": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip"
665
665
  },
666
666
  "Timeout": 900,
667
667
  "MemorySize": 128,
@@ -672,7 +672,15 @@
672
672
  "Arn"
673
673
  ]
674
674
  },
675
- "Runtime": "nodejs18.x",
675
+ "Runtime": {
676
+ "Fn::FindInMap": [
677
+ "LatestNodeRuntimeMap",
678
+ {
679
+ "Ref": "AWS::Region"
680
+ },
681
+ "value"
682
+ ]
683
+ },
676
684
  "Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
677
685
  },
678
686
  "DependsOn": [
@@ -855,7 +863,7 @@
855
863
  "Arn"
856
864
  ]
857
865
  },
858
- "Runtime": "nodejs16.x",
866
+ "Runtime": "nodejs20.x",
859
867
  "TracingConfig": {
860
868
  "Mode": "Active"
861
869
  },
@@ -982,6 +990,115 @@
982
990
  }
983
991
  }
984
992
  },
993
+ "Mappings": {
994
+ "LatestNodeRuntimeMap": {
995
+ "af-south-1": {
996
+ "value": "nodejs20.x"
997
+ },
998
+ "ap-east-1": {
999
+ "value": "nodejs20.x"
1000
+ },
1001
+ "ap-northeast-1": {
1002
+ "value": "nodejs20.x"
1003
+ },
1004
+ "ap-northeast-2": {
1005
+ "value": "nodejs20.x"
1006
+ },
1007
+ "ap-northeast-3": {
1008
+ "value": "nodejs20.x"
1009
+ },
1010
+ "ap-south-1": {
1011
+ "value": "nodejs20.x"
1012
+ },
1013
+ "ap-south-2": {
1014
+ "value": "nodejs20.x"
1015
+ },
1016
+ "ap-southeast-1": {
1017
+ "value": "nodejs20.x"
1018
+ },
1019
+ "ap-southeast-2": {
1020
+ "value": "nodejs20.x"
1021
+ },
1022
+ "ap-southeast-3": {
1023
+ "value": "nodejs20.x"
1024
+ },
1025
+ "ap-southeast-4": {
1026
+ "value": "nodejs20.x"
1027
+ },
1028
+ "ca-central-1": {
1029
+ "value": "nodejs20.x"
1030
+ },
1031
+ "cn-north-1": {
1032
+ "value": "nodejs18.x"
1033
+ },
1034
+ "cn-northwest-1": {
1035
+ "value": "nodejs18.x"
1036
+ },
1037
+ "eu-central-1": {
1038
+ "value": "nodejs20.x"
1039
+ },
1040
+ "eu-central-2": {
1041
+ "value": "nodejs20.x"
1042
+ },
1043
+ "eu-north-1": {
1044
+ "value": "nodejs20.x"
1045
+ },
1046
+ "eu-south-1": {
1047
+ "value": "nodejs20.x"
1048
+ },
1049
+ "eu-south-2": {
1050
+ "value": "nodejs20.x"
1051
+ },
1052
+ "eu-west-1": {
1053
+ "value": "nodejs20.x"
1054
+ },
1055
+ "eu-west-2": {
1056
+ "value": "nodejs20.x"
1057
+ },
1058
+ "eu-west-3": {
1059
+ "value": "nodejs20.x"
1060
+ },
1061
+ "il-central-1": {
1062
+ "value": "nodejs20.x"
1063
+ },
1064
+ "me-central-1": {
1065
+ "value": "nodejs20.x"
1066
+ },
1067
+ "me-south-1": {
1068
+ "value": "nodejs20.x"
1069
+ },
1070
+ "sa-east-1": {
1071
+ "value": "nodejs20.x"
1072
+ },
1073
+ "us-east-1": {
1074
+ "value": "nodejs20.x"
1075
+ },
1076
+ "us-east-2": {
1077
+ "value": "nodejs20.x"
1078
+ },
1079
+ "us-gov-east-1": {
1080
+ "value": "nodejs18.x"
1081
+ },
1082
+ "us-gov-west-1": {
1083
+ "value": "nodejs18.x"
1084
+ },
1085
+ "us-iso-east-1": {
1086
+ "value": "nodejs18.x"
1087
+ },
1088
+ "us-iso-west-1": {
1089
+ "value": "nodejs18.x"
1090
+ },
1091
+ "us-isob-east-1": {
1092
+ "value": "nodejs18.x"
1093
+ },
1094
+ "us-west-1": {
1095
+ "value": "nodejs20.x"
1096
+ },
1097
+ "us-west-2": {
1098
+ "value": "nodejs20.x"
1099
+ }
1100
+ }
1101
+ },
985
1102
  "Parameters": {
986
1103
  "BootstrapVersion": {
987
1104
  "Type": "AWS::SSM::Parameter::Value<String>",
@@ -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}/866ffc8bad93a64431285277a99984416862edce03b94fdce329050fccc8d372.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/a0b49a3bdffc9a1db55e4e79de6c307de5344b0ca1c970f2196a628e1c3af191.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -256,6 +256,12 @@
256
256
  "data": "VpcSECRETSMANAGERF52907C2"
257
257
  }
258
258
  ],
259
+ "/lamsec-deployFunctionWithExistingVpc/LatestNodeRuntimeMap": [
260
+ {
261
+ "type": "aws:cdk:logicalId",
262
+ "data": "LatestNodeRuntimeMap"
263
+ }
264
+ ],
259
265
  "/lamsec-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
260
266
  {
261
267
  "type": "aws:cdk:logicalId",