@aws-solutions-constructs/aws-lambda-dynamodb 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 (38) hide show
  1. package/.jsii +45 -8
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamddb-add-secondary-index.js +3 -2
  5. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.assets.json +2 -2
  6. package/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.template.json +1 -1
  7. package/test/integ.lamddb-add-secondary-index.js.snapshot/manifest.json +1 -1
  8. package/test/integ.lamddb-add-secondary-index.js.snapshot/tree.json +26 -26
  9. package/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -2
  10. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
  11. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +5 -5
  12. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +120 -3
  13. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +7 -1
  14. package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +83 -75
  15. package/test/integ.lamddb-deployFunctionWithVpc.js +3 -2
  16. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/__entrypoint__.js +1 -1
  17. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +5 -5
  18. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +120 -3
  19. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +7 -1
  20. package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +63 -55
  21. package/test/integ.lamddb-no-arguments.js +3 -2
  22. package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.assets.json +2 -2
  23. package/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.template.json +1 -1
  24. package/test/integ.lamddb-no-arguments.js.snapshot/manifest.json +1 -1
  25. package/test/integ.lamddb-no-arguments.js.snapshot/tree.json +26 -26
  26. package/test/integ.lamddb-set-billing-mode.js +3 -2
  27. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.assets.json +2 -2
  28. package/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.template.json +1 -1
  29. package/test/integ.lamddb-set-billing-mode.js.snapshot/manifest.json +1 -1
  30. package/test/integ.lamddb-set-billing-mode.js.snapshot/tree.json +26 -26
  31. package/test/integ.lamddb-use-existing-func.js +2 -2
  32. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.assets.json +2 -2
  33. package/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.template.json +1 -1
  34. package/test/integ.lamddb-use-existing-func.js.snapshot/manifest.json +1 -1
  35. package/test/integ.lamddb-use-existing-func.js.snapshot/tree.json +26 -26
  36. package/test/lambda-dynamodb.test.js +21 -20
  37. /package/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
  38. /package/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/{asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e → asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a}/index.js +0 -0
@@ -658,7 +658,7 @@
658
658
  "S3Bucket": {
659
659
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
660
660
  },
661
- "S3Key": "dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e.zip"
661
+ "S3Key": "ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a.zip"
662
662
  },
663
663
  "Timeout": 900,
664
664
  "MemorySize": 128,
@@ -669,7 +669,15 @@
669
669
  "Arn"
670
670
  ]
671
671
  },
672
- "Runtime": "nodejs18.x",
672
+ "Runtime": {
673
+ "Fn::FindInMap": [
674
+ "LatestNodeRuntimeMap",
675
+ {
676
+ "Ref": "AWS::Region"
677
+ },
678
+ "value"
679
+ ]
680
+ },
673
681
  "Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
674
682
  },
675
683
  "DependsOn": [
@@ -870,7 +878,7 @@
870
878
  "Arn"
871
879
  ]
872
880
  },
873
- "Runtime": "nodejs16.x",
881
+ "Runtime": "nodejs20.x",
874
882
  "TracingConfig": {
875
883
  "Mode": "Active"
876
884
  },
@@ -947,6 +955,115 @@
947
955
  "DeletionPolicy": "Retain"
948
956
  }
949
957
  },
958
+ "Mappings": {
959
+ "LatestNodeRuntimeMap": {
960
+ "af-south-1": {
961
+ "value": "nodejs20.x"
962
+ },
963
+ "ap-east-1": {
964
+ "value": "nodejs20.x"
965
+ },
966
+ "ap-northeast-1": {
967
+ "value": "nodejs20.x"
968
+ },
969
+ "ap-northeast-2": {
970
+ "value": "nodejs20.x"
971
+ },
972
+ "ap-northeast-3": {
973
+ "value": "nodejs20.x"
974
+ },
975
+ "ap-south-1": {
976
+ "value": "nodejs20.x"
977
+ },
978
+ "ap-south-2": {
979
+ "value": "nodejs20.x"
980
+ },
981
+ "ap-southeast-1": {
982
+ "value": "nodejs20.x"
983
+ },
984
+ "ap-southeast-2": {
985
+ "value": "nodejs20.x"
986
+ },
987
+ "ap-southeast-3": {
988
+ "value": "nodejs20.x"
989
+ },
990
+ "ap-southeast-4": {
991
+ "value": "nodejs20.x"
992
+ },
993
+ "ca-central-1": {
994
+ "value": "nodejs20.x"
995
+ },
996
+ "cn-north-1": {
997
+ "value": "nodejs18.x"
998
+ },
999
+ "cn-northwest-1": {
1000
+ "value": "nodejs18.x"
1001
+ },
1002
+ "eu-central-1": {
1003
+ "value": "nodejs20.x"
1004
+ },
1005
+ "eu-central-2": {
1006
+ "value": "nodejs20.x"
1007
+ },
1008
+ "eu-north-1": {
1009
+ "value": "nodejs20.x"
1010
+ },
1011
+ "eu-south-1": {
1012
+ "value": "nodejs20.x"
1013
+ },
1014
+ "eu-south-2": {
1015
+ "value": "nodejs20.x"
1016
+ },
1017
+ "eu-west-1": {
1018
+ "value": "nodejs20.x"
1019
+ },
1020
+ "eu-west-2": {
1021
+ "value": "nodejs20.x"
1022
+ },
1023
+ "eu-west-3": {
1024
+ "value": "nodejs20.x"
1025
+ },
1026
+ "il-central-1": {
1027
+ "value": "nodejs20.x"
1028
+ },
1029
+ "me-central-1": {
1030
+ "value": "nodejs20.x"
1031
+ },
1032
+ "me-south-1": {
1033
+ "value": "nodejs20.x"
1034
+ },
1035
+ "sa-east-1": {
1036
+ "value": "nodejs20.x"
1037
+ },
1038
+ "us-east-1": {
1039
+ "value": "nodejs20.x"
1040
+ },
1041
+ "us-east-2": {
1042
+ "value": "nodejs20.x"
1043
+ },
1044
+ "us-gov-east-1": {
1045
+ "value": "nodejs18.x"
1046
+ },
1047
+ "us-gov-west-1": {
1048
+ "value": "nodejs18.x"
1049
+ },
1050
+ "us-iso-east-1": {
1051
+ "value": "nodejs18.x"
1052
+ },
1053
+ "us-iso-west-1": {
1054
+ "value": "nodejs18.x"
1055
+ },
1056
+ "us-isob-east-1": {
1057
+ "value": "nodejs18.x"
1058
+ },
1059
+ "us-west-1": {
1060
+ "value": "nodejs20.x"
1061
+ },
1062
+ "us-west-2": {
1063
+ "value": "nodejs20.x"
1064
+ }
1065
+ }
1066
+ },
950
1067
  "Parameters": {
951
1068
  "BootstrapVersion": {
952
1069
  "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}/46625e0239fa0d5dd8779b2b0bec49096449f1ef77532467de451faa7815c3e8.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/fd0297aad1549c0427058dae2d67d5adfe5ffee721ac892b245df62b8cf19fce.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -256,6 +256,12 @@
256
256
  "data": "VpcDDB49FBEC5F"
257
257
  }
258
258
  ],
259
+ "/lamddb-deployFunctionWithExistingVpc/LatestNodeRuntimeMap": [
260
+ {
261
+ "type": "aws:cdk:logicalId",
262
+ "data": "LatestNodeRuntimeMap"
263
+ }
264
+ ],
259
265
  "/lamddb-deployFunctionWithExistingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role": [
260
266
  {
261
267
  "type": "aws:cdk:logicalId",