@aws-solutions-constructs/aws-lambda-sns 2.86.0 → 2.87.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 +82 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamsns-deployFunction.js +2 -1
  5. package/test/integ.lamsns-deployFunction.js.snapshot/cdk.out +1 -1
  6. package/test/integ.lamsns-deployFunction.js.snapshot/integ.json +3 -2
  7. package/test/integ.lamsns-deployFunction.js.snapshot/lamsns-deployFunction.assets.json +7 -5
  8. package/test/integ.lamsns-deployFunction.js.snapshot/lamsns-deployFunction.template.json +32 -0
  9. package/test/integ.lamsns-deployFunction.js.snapshot/lamsnsdeployFunctionIntegDefaultTestDeployAssert36FE5D09.assets.json +3 -2
  10. package/test/integ.lamsns-deployFunction.js.snapshot/manifest.json +488 -3
  11. package/test/integ.lamsns-deployFunction.js.snapshot/tree.json +1 -1
  12. package/test/integ.lamsns-deployFunctionWithVpc.js +2 -1
  13. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  14. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
  15. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/lamsns-deployFunctionWithVpc.assets.json +6 -6
  16. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/lamsns-deployFunctionWithVpc.template.json +33 -136
  17. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/lamsnsdeployFunctionWithVpcIntegDefaultTestDeployAssertEDF33408.assets.json +2 -2
  18. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/manifest.json +488 -9
  19. package/test/integ.lamsns-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
  20. package/test/integ.lamsns-existingFunction.js +2 -1
  21. package/test/integ.lamsns-existingFunction.js.snapshot/cdk.out +1 -1
  22. package/test/integ.lamsns-existingFunction.js.snapshot/integ.json +3 -2
  23. package/test/integ.lamsns-existingFunction.js.snapshot/lamsns-existingFunction.assets.json +7 -5
  24. package/test/integ.lamsns-existingFunction.js.snapshot/lamsns-existingFunction.template.json +32 -0
  25. package/test/integ.lamsns-existingFunction.js.snapshot/lamsnsexistingFunctionIntegDefaultTestDeployAssert733AE3CB.assets.json +3 -2
  26. package/test/integ.lamsns-existingFunction.js.snapshot/manifest.json +488 -3
  27. package/test/integ.lamsns-existingFunction.js.snapshot/tree.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "41.0.0",
2
+ "version": "45.0.0",
3
3
  "testCases": {
4
4
  "lamsns-deployFunctionWithVpc/Integ/DefaultTest": {
5
5
  "stacks": [
@@ -9,5 +9,5 @@
9
9
  "assertionStackName": "lamsnsdeployFunctionWithVpcIntegDefaultTestDeployAssertEDF33408"
10
10
  }
11
11
  },
12
- "minimumCliVersion": "2.1005.0"
12
+ "minimumCliVersion": "2.1020.2"
13
13
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "41.0.0",
2
+ "version": "45.0.0",
3
3
  "files": {
4
4
  "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200": {
5
5
  "displayName": "lamsns-deployFunctionWithVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider Code",
@@ -8,7 +8,7 @@
8
8
  "packaging": "zip"
9
9
  },
10
10
  "destinations": {
11
- "current_account-current_region": {
11
+ "current_account-current_region-2561d6a5": {
12
12
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
13
13
  "objectKey": "7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200.zip",
14
14
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
@@ -22,23 +22,23 @@
22
22
  "packaging": "zip"
23
23
  },
24
24
  "destinations": {
25
- "current_account-current_region": {
25
+ "current_account-current_region-86d36d19": {
26
26
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
27
27
  "objectKey": "0904d3723480fed2daf7885caa427b930881caae6879d1e6b0d395020173ef6f.zip",
28
28
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
29
29
  }
30
30
  }
31
31
  },
32
- "c8e1997b5a288f3e982da1ed526bf72d82445210f5ee29a05c420ea9af4032cb": {
32
+ "bbd1199c267fe344101528db158d6f3109631932545c9656c1c4d1dea7b5ebf3": {
33
33
  "displayName": "lamsns-deployFunctionWithVpc Template",
34
34
  "source": {
35
35
  "path": "lamsns-deployFunctionWithVpc.template.json",
36
36
  "packaging": "file"
37
37
  },
38
38
  "destinations": {
39
- "current_account-current_region": {
39
+ "current_account-current_region-8546d211": {
40
40
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
41
- "objectKey": "c8e1997b5a288f3e982da1ed526bf72d82445210f5ee29a05c420ea9af4032cb.json",
41
+ "objectKey": "bbd1199c267fe344101528db158d6f3109631932545c9656c1c4d1dea7b5ebf3.json",
42
42
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
43
43
  }
44
44
  }
@@ -85,6 +85,38 @@
85
85
  "Resource": {
86
86
  "Ref": "testlambdasnsSnsTopic57DFED98"
87
87
  }
88
+ },
89
+ {
90
+ "Action": [
91
+ "kms:Decrypt",
92
+ "kms:GenerateDataKey*"
93
+ ],
94
+ "Condition": {
95
+ "ForAnyValue:StringEquals": {
96
+ "kms:ResourceAliases": "alias/aws/sns"
97
+ }
98
+ },
99
+ "Effect": "Allow",
100
+ "Resource": {
101
+ "Fn::Join": [
102
+ "",
103
+ [
104
+ "arn:",
105
+ {
106
+ "Ref": "AWS::Partition"
107
+ },
108
+ ":kms:",
109
+ {
110
+ "Ref": "AWS::Region"
111
+ },
112
+ ":",
113
+ {
114
+ "Ref": "AWS::AccountId"
115
+ },
116
+ ":key/*"
117
+ ]
118
+ ]
119
+ }
88
120
  }
89
121
  ],
90
122
  "Version": "2012-10-17"
@@ -752,15 +784,7 @@
752
784
  "Arn"
753
785
  ]
754
786
  },
755
- "Runtime": {
756
- "Fn::FindInMap": [
757
- "LatestNodeRuntimeMap",
758
- {
759
- "Ref": "AWS::Region"
760
- },
761
- "value"
762
- ]
763
- },
787
+ "Runtime": "nodejs22.x",
764
788
  "Description": "Lambda function for removing all inbound/outbound rules from the VPC default security group"
765
789
  },
766
790
  "DependsOn": [
@@ -844,133 +868,6 @@
844
868
  }
845
869
  }
846
870
  },
847
- "Mappings": {
848
- "LatestNodeRuntimeMap": {
849
- "af-south-1": {
850
- "value": "nodejs20.x"
851
- },
852
- "ap-east-1": {
853
- "value": "nodejs20.x"
854
- },
855
- "ap-northeast-1": {
856
- "value": "nodejs20.x"
857
- },
858
- "ap-northeast-2": {
859
- "value": "nodejs20.x"
860
- },
861
- "ap-northeast-3": {
862
- "value": "nodejs20.x"
863
- },
864
- "ap-south-1": {
865
- "value": "nodejs20.x"
866
- },
867
- "ap-south-2": {
868
- "value": "nodejs20.x"
869
- },
870
- "ap-southeast-1": {
871
- "value": "nodejs20.x"
872
- },
873
- "ap-southeast-2": {
874
- "value": "nodejs20.x"
875
- },
876
- "ap-southeast-3": {
877
- "value": "nodejs20.x"
878
- },
879
- "ap-southeast-4": {
880
- "value": "nodejs20.x"
881
- },
882
- "ap-southeast-5": {
883
- "value": "nodejs20.x"
884
- },
885
- "ap-southeast-7": {
886
- "value": "nodejs20.x"
887
- },
888
- "ca-central-1": {
889
- "value": "nodejs20.x"
890
- },
891
- "ca-west-1": {
892
- "value": "nodejs20.x"
893
- },
894
- "cn-north-1": {
895
- "value": "nodejs20.x"
896
- },
897
- "cn-northwest-1": {
898
- "value": "nodejs20.x"
899
- },
900
- "eu-central-1": {
901
- "value": "nodejs20.x"
902
- },
903
- "eu-central-2": {
904
- "value": "nodejs20.x"
905
- },
906
- "eu-isoe-west-1": {
907
- "value": "nodejs18.x"
908
- },
909
- "eu-north-1": {
910
- "value": "nodejs20.x"
911
- },
912
- "eu-south-1": {
913
- "value": "nodejs20.x"
914
- },
915
- "eu-south-2": {
916
- "value": "nodejs20.x"
917
- },
918
- "eu-west-1": {
919
- "value": "nodejs20.x"
920
- },
921
- "eu-west-2": {
922
- "value": "nodejs20.x"
923
- },
924
- "eu-west-3": {
925
- "value": "nodejs20.x"
926
- },
927
- "il-central-1": {
928
- "value": "nodejs20.x"
929
- },
930
- "me-central-1": {
931
- "value": "nodejs20.x"
932
- },
933
- "me-south-1": {
934
- "value": "nodejs20.x"
935
- },
936
- "mx-central-1": {
937
- "value": "nodejs20.x"
938
- },
939
- "sa-east-1": {
940
- "value": "nodejs20.x"
941
- },
942
- "us-east-1": {
943
- "value": "nodejs20.x"
944
- },
945
- "us-east-2": {
946
- "value": "nodejs20.x"
947
- },
948
- "us-gov-east-1": {
949
- "value": "nodejs20.x"
950
- },
951
- "us-gov-west-1": {
952
- "value": "nodejs20.x"
953
- },
954
- "us-iso-east-1": {
955
- "value": "nodejs18.x"
956
- },
957
- "us-iso-west-1": {
958
- "value": "nodejs18.x"
959
- },
960
- "us-isob-east-1": {
961
- "value": "nodejs18.x"
962
- },
963
- "us-isob-west-1": {
964
- "value": "nodejs18.x"
965
- },
966
- "us-west-1": {
967
- "value": "nodejs20.x"
968
- },
969
- "us-west-2": {
970
- "value": "nodejs20.x"
971
- }
972
- }
973
- },
974
871
  "Parameters": {
975
872
  "BootstrapVersion": {
976
873
  "Type": "AWS::SSM::Parameter::Value<String>",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "41.0.0",
2
+ "version": "45.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "displayName": "lamsnsdeployFunctionWithVpcIntegDefaultTestDeployAssertEDF33408 Template",
@@ -8,7 +8,7 @@
8
8
  "packaging": "file"
9
9
  },
10
10
  "destinations": {
11
- "current_account-current_region": {
11
+ "current_account-current_region-d8d86b35": {
12
12
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
13
13
  "objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
14
14
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"