@mavogel/awscdk-rootmail 0.1.17 → 0.1.18

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 (85) hide show
  1. package/.jsii +12 -12
  2. package/README.md +2 -2
  3. package/integ-tests/integ.rootmail-custom-santa.ts +3 -2
  4. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/RootmailIntegTestStack.assets.json +31 -33
  5. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/RootmailIntegTestStack.metadata.json +3923 -0
  6. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/RootmailIntegTestStack.template.json +432 -2072
  7. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.assets.json +9 -8
  8. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.metadata.json +84 -0
  9. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json +29 -139
  10. package/integ-tests/{integ.rootmail-filter-subject.ts.snapshot/asset.b01091642674a865788c271ec84db9d88a8dfbe14d4d95583aca8814cfa848b9 → integ.rootmail-custom-santa.ts.snapshot/asset.3a99c40cdc76ed5458a3eba04a84e2a224db6d82fec9c3754279f76e43c0fe86}/index.js +10270 -3218
  11. package/integ-tests/{integ.rootmail.ts.snapshot/asset.f692c9f68e4daba2abc99103efd3518bced1e9d7a2a89847b9b5d5473c64f1bd.bundle → integ.rootmail-custom-santa.ts.snapshot/asset.6ffc47b88143a52aa50e26c31da776854b28dff0e45b1a97d7c1e530d59590ad.bundle}/index.js +8324 -8070
  12. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/cfn-response.js +1 -0
  13. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/framework.js +3 -0
  14. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/outbound.js +1 -0
  15. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/integ.json +5 -3
  16. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/manifest.json +549 -734
  17. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/tree.json +1 -6407
  18. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/validation-report.json +5 -0
  19. package/integ-tests/integ.rootmail-filter-subject.ts +3 -2
  20. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/RootmailIntegTestStack.assets.json +31 -33
  21. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/RootmailIntegTestStack.metadata.json +3923 -0
  22. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/RootmailIntegTestStack.template.json +432 -2072
  23. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.assets.json +9 -8
  24. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.metadata.json +84 -0
  25. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json +29 -139
  26. package/integ-tests/{integ.rootmail-custom-santa.ts.snapshot/asset.b01091642674a865788c271ec84db9d88a8dfbe14d4d95583aca8814cfa848b9 → integ.rootmail-filter-subject.ts.snapshot/asset.3a99c40cdc76ed5458a3eba04a84e2a224db6d82fec9c3754279f76e43c0fe86}/index.js +10270 -3218
  27. package/integ-tests/{integ.rootmail-custom-santa.ts.snapshot/asset.f692c9f68e4daba2abc99103efd3518bced1e9d7a2a89847b9b5d5473c64f1bd.bundle → integ.rootmail-filter-subject.ts.snapshot/asset.6ffc47b88143a52aa50e26c31da776854b28dff0e45b1a97d7c1e530d59590ad.bundle}/index.js +8324 -8070
  28. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/cfn-response.js +1 -0
  29. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/framework.js +3 -0
  30. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/outbound.js +1 -0
  31. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/integ.json +5 -3
  32. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/manifest.json +549 -734
  33. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/tree.json +1 -6407
  34. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/validation-report.json +5 -0
  35. package/integ-tests/integ.rootmail.ts +3 -2
  36. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.assets.json +60 -61
  37. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.metadata.json +3936 -0
  38. package/integ-tests/integ.rootmail.ts.snapshot/RootmailIntegTestStack.template.json +493 -2146
  39. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.assets.json +9 -8
  40. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.metadata.json +116 -0
  41. package/integ-tests/integ.rootmail.ts.snapshot/SetupTestIntegStackDefaultTestDeployAssert6EB6FF77.template.json +51 -143
  42. package/integ-tests/integ.rootmail.ts.snapshot/{asset.409d1db869dd0ed635bff94c855031afc92e9ac918a5d09651dd0b5316db1433 → asset.157ba1713f7224463b621261792d18081588ff306a9bc3f75e6c468fabbe1a60}/index.js +1 -1
  43. package/integ-tests/integ.rootmail.ts.snapshot/{asset.0cc54596504938d3858f36b8eaeb554817254230dfa52e23a70aad9e657b80b8 → asset.2b86f8b255c50c6eba274c368849bab1c7a3747c30ef5df4c96f8dea8fffa21e}/index.js +1 -1
  44. package/integ-tests/integ.rootmail.ts.snapshot/{asset.aca912f8a6aebc5dfd423aff79785b8fd7488473a4cf93aaa7ad0e442b548787 → asset.4c079063901e6478dbb5ace19e3123641ebf0da2ab648ecf52079c5bec154196}/index.js +1 -1
  45. package/integ-tests/integ.rootmail.ts.snapshot/{asset.ed72e1e93cae7d32d1a99c33e6f697428dc230c3922131e7ba121cc99a732f3f → asset.6ae1d1fcc0e69b0216c406dcb73136e88857dfc9a29784c57838e1fb0f9f7496}/index.js +1 -1
  46. package/integ-tests/{integ.rootmail-filter-subject.ts.snapshot/asset.f692c9f68e4daba2abc99103efd3518bced1e9d7a2a89847b9b5d5473c64f1bd.bundle → integ.rootmail.ts.snapshot/asset.6ffc47b88143a52aa50e26c31da776854b28dff0e45b1a97d7c1e530d59590ad.bundle}/index.js +8324 -8070
  47. package/integ-tests/integ.rootmail.ts.snapshot/{asset.7144c5a47b3904b1aa4b27be73803a4b684f4ef765d9df8fa767779d37106254 → asset.78b64aaf9aebb4eacbdd42197be10e9d5894360a642f7dcf79aeb84bb3552377}/index.js +1 -1
  48. package/integ-tests/integ.rootmail.ts.snapshot/{asset.f61472ea141af20f69ebb7a7718158fcb95d72410c0c2a2e72cc59b1822873fc → asset.7e8a681794eff5fda1841caa360113df5488ecf944055a69b8f1e5a687e269f5}/index.js +1 -1
  49. package/integ-tests/integ.rootmail.ts.snapshot/{asset.11768574bbd12c5ed10f463a68797423c366b61535ebc1b14951661b92657fa5 → asset.9572b451243318765beb576ae7528096b3879783dbaab795c02c01d7f4e83438}/index.js +1 -1
  50. package/integ-tests/integ.rootmail.ts.snapshot/{asset.9709438d0fbb508ea9bfee8683a274b4f9492f5e527eb28e0bd9e2bc96b9a08f → asset.be7d56b509650f7f97c406a745d8335992726086995e4cb4aaf50417ab40e803}/index.js +1 -1
  51. package/integ-tests/integ.rootmail.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/cfn-response.js +1 -0
  52. package/integ-tests/integ.rootmail.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/framework.js +3 -0
  53. package/integ-tests/integ.rootmail.ts.snapshot/asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63/outbound.js +1 -0
  54. package/integ-tests/integ.rootmail.ts.snapshot/{asset.aa3a06cb0aae2ae75b5bdf62921fd207503fd54b0e711ebb20274f3e6afd3bfa → asset.ee814b07e4253e03bace8114424b313a76d41c6312b50dc336730835e39f5fa4}/index.js +10367 -3313
  55. package/integ-tests/integ.rootmail.ts.snapshot/{asset.11281c9e2a2b601c3421513ba7c9be4b643b04ba6a934192e52e46def7ab0830 → asset.f75274dd7677b6ef41f29d2dfc2c885b4f4e069d3fb8e67636bd89efd3f0fcad}/index.js +3 -1
  56. package/integ-tests/integ.rootmail.ts.snapshot/integ.json +5 -3
  57. package/integ-tests/integ.rootmail.ts.snapshot/manifest.json +548 -764
  58. package/integ-tests/integ.rootmail.ts.snapshot/tree.json +1 -6522
  59. package/integ-tests/integ.rootmail.ts.snapshot/validation-report.json +5 -0
  60. package/lib/hosted-zone-dkim-propagation.js +4 -4
  61. package/lib/hosted-zone-dkim-verification-records.js +3 -3
  62. package/lib/hosted-zone-dkim.js +1 -6
  63. package/lib/rootmail-autowire-dns.js +4 -4
  64. package/lib/rootmail.js +1 -1
  65. package/lib/ses-receipt-ruleset-activation.js +4 -4
  66. package/lib/ses-receive.js +3 -3
  67. package/package.json +1 -1
  68. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d/index.js +0 -1
  69. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +0 -1
  70. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/framework.js +0 -3
  71. package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/outbound.js +0 -1
  72. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d/index.js +0 -1
  73. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +0 -1
  74. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/framework.js +0 -3
  75. package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/outbound.js +0 -1
  76. package/integ-tests/integ.rootmail.ts.snapshot/asset.2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d/index.js +0 -1
  77. package/integ-tests/integ.rootmail.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +0 -1
  78. package/integ-tests/integ.rootmail.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/framework.js +0 -3
  79. package/integ-tests/integ.rootmail.ts.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/outbound.js +0 -1
  80. /package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63}/consts.js +0 -0
  81. /package/integ-tests/integ.rootmail-custom-santa.ts.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63}/util.js +0 -0
  82. /package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63}/consts.js +0 -0
  83. /package/integ-tests/integ.rootmail-filter-subject.ts.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63}/util.js +0 -0
  84. /package/integ-tests/integ.rootmail.ts.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63}/consts.js +0 -0
  85. /package/integ-tests/integ.rootmail.ts.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63}/util.js +0 -0
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "Description": "This stack includes the application's resources for integration testing.",
3
3
  "Resources": {
4
+ "customsesreceivefunctionloggroup397707C4": {
5
+ "Type": "AWS::Logs::LogGroup",
6
+ "Properties": {
7
+ "RetentionInDays": 1
8
+ },
9
+ "UpdateReplacePolicy": "Retain",
10
+ "DeletionPolicy": "Retain"
11
+ },
4
12
  "customsesreceivefunctionServiceRole59428503": {
5
13
  "Type": "AWS::IAM::Role",
6
14
  "Properties": {
@@ -60,7 +68,7 @@
60
68
  "S3Bucket": {
61
69
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
62
70
  },
63
- "S3Key": "b01091642674a865788c271ec84db9d88a8dfbe14d4d95583aca8814cfa848b9.zip"
71
+ "S3Key": "3a99c40cdc76ed5458a3eba04a84e2a224db6d82fec9c3754279f76e43c0fe86.zip"
64
72
  },
65
73
  "Environment": {
66
74
  "Variables": {
@@ -76,13 +84,18 @@
76
84
  }
77
85
  },
78
86
  "Handler": "index.handler",
87
+ "LoggingConfig": {
88
+ "LogGroup": {
89
+ "Ref": "customsesreceivefunctionloggroup397707C4"
90
+ }
91
+ },
79
92
  "Role": {
80
93
  "Fn::GetAtt": [
81
94
  "customsesreceivefunctionServiceRole59428503",
82
95
  "Arn"
83
96
  ]
84
97
  },
85
- "Runtime": "nodejs18.x",
98
+ "Runtime": "nodejs24.x",
86
99
  "Timeout": 30
87
100
  },
88
101
  "DependsOn": [
@@ -90,29 +103,6 @@
90
103
  "customsesreceivefunctionServiceRole59428503"
91
104
  ]
92
105
  },
93
- "customsesreceivefunctionLogRetention0291B225": {
94
- "Type": "Custom::LogRetention",
95
- "Properties": {
96
- "ServiceToken": {
97
- "Fn::GetAtt": [
98
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
99
- "Arn"
100
- ]
101
- },
102
- "LogGroupName": {
103
- "Fn::Join": [
104
- "",
105
- [
106
- "/aws/lambda/",
107
- {
108
- "Ref": "customsesreceivefunction5B1A9CD4"
109
- }
110
- ]
111
- ]
112
- },
113
- "RetentionInDays": 1
114
- }
115
- },
116
106
  "customsesreceivefunctionOpsSantaFunctionSESPermissions3D5DD310": {
117
107
  "Type": "AWS::Lambda::Permission",
118
108
  "Properties": {
@@ -129,93 +119,6 @@
129
119
  }
130
120
  }
131
121
  },
132
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB": {
133
- "Type": "AWS::IAM::Role",
134
- "Properties": {
135
- "AssumeRolePolicyDocument": {
136
- "Statement": [
137
- {
138
- "Action": "sts:AssumeRole",
139
- "Effect": "Allow",
140
- "Principal": {
141
- "Service": "lambda.amazonaws.com"
142
- }
143
- }
144
- ],
145
- "Version": "2012-10-17"
146
- },
147
- "ManagedPolicyArns": [
148
- {
149
- "Fn::Join": [
150
- "",
151
- [
152
- "arn:",
153
- {
154
- "Ref": "AWS::Partition"
155
- },
156
- ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
157
- ]
158
- ]
159
- }
160
- ]
161
- }
162
- },
163
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB": {
164
- "Type": "AWS::IAM::Policy",
165
- "Properties": {
166
- "PolicyDocument": {
167
- "Statement": [
168
- {
169
- "Action": [
170
- "logs:DeleteRetentionPolicy",
171
- "logs:PutRetentionPolicy"
172
- ],
173
- "Effect": "Allow",
174
- "Resource": "*"
175
- }
176
- ],
177
- "Version": "2012-10-17"
178
- },
179
- "PolicyName": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB",
180
- "Roles": [
181
- {
182
- "Ref": "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB"
183
- }
184
- ]
185
- }
186
- },
187
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A": {
188
- "Type": "AWS::Lambda::Function",
189
- "Properties": {
190
- "Handler": "index.handler",
191
- "Runtime": {
192
- "Fn::FindInMap": [
193
- "LatestNodeRuntimeMap",
194
- {
195
- "Ref": "AWS::Region"
196
- },
197
- "value"
198
- ]
199
- },
200
- "Timeout": 900,
201
- "Code": {
202
- "S3Bucket": {
203
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
204
- },
205
- "S3Key": "2819175352ad1ce0dae768e83fc328fb70fb5f10b4a8ff0ccbcb791f02b0716d.zip"
206
- },
207
- "Role": {
208
- "Fn::GetAtt": [
209
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB",
210
- "Arn"
211
- ]
212
- }
213
- },
214
- "DependsOn": [
215
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB",
216
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRole9741ECFB"
217
- ]
218
- },
219
122
  "testRootmailEmailBucket2A470446": {
220
123
  "Type": "AWS::S3::Bucket",
221
124
  "Properties": {
@@ -236,21 +139,7 @@
236
139
  }
237
140
  },
238
141
  "UpdateReplacePolicy": "Retain",
239
- "DeletionPolicy": "Retain",
240
- "Metadata": {
241
- "cdk_nag": {
242
- "rules_to_suppress": [
243
- {
244
- "reason": "no server access logs needed",
245
- "id": "AwsSolutions-S1"
246
- },
247
- {
248
- "reason": "no SSL access needed",
249
- "id": "AwsSolutions-S10"
250
- }
251
- ]
252
- }
253
- }
142
+ "DeletionPolicy": "Retain"
254
143
  },
255
144
  "testRootmailEmailBucketPolicy5DA39984": {
256
145
  "Type": "AWS::S3::BucketPolicy",
@@ -291,16 +180,6 @@
291
180
  ],
292
181
  "Version": "2012-10-17"
293
182
  }
294
- },
295
- "Metadata": {
296
- "cdk_nag": {
297
- "rules_to_suppress": [
298
- {
299
- "reason": "no SSL access needed",
300
- "id": "AwsSolutions-S10"
301
- }
302
- ]
303
- }
304
183
  }
305
184
  },
306
185
  "testRootmailHostedZone6DFD3C9C": {
@@ -751,20 +630,6 @@
751
630
  "PolicyName": "OpsSantaFunctionRolePolicy"
752
631
  }
753
632
  ]
754
- },
755
- "Metadata": {
756
- "cdk_nag": {
757
- "rules_to_suppress": [
758
- {
759
- "reason": "no service role restriction needed",
760
- "id": "AwsSolutions-IAM4"
761
- },
762
- {
763
- "reason": "wildcards are ok as we allow every opsitem to be created",
764
- "id": "AwsSolutions-IAM5"
765
- }
766
- ]
767
- }
768
633
  }
769
634
  },
770
635
  "testRootmailSESReceiveCustomSesReceiveFunctionPolicy193B75EC": {
@@ -836,6 +701,14 @@
836
701
  "UpdateReplacePolicy": "Delete",
837
702
  "DeletionPolicy": "Delete"
838
703
  },
704
+ "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerloggroup0A89A5E2": {
705
+ "Type": "AWS::Logs::LogGroup",
706
+ "Properties": {
707
+ "RetentionInDays": 1
708
+ },
709
+ "UpdateReplacePolicy": "Retain",
710
+ "DeletionPolicy": "Retain"
711
+ },
839
712
  "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerServiceRole83E5B139": {
840
713
  "Type": "AWS::IAM::Role",
841
714
  "Properties": {
@@ -865,20 +738,6 @@
865
738
  ]
866
739
  }
867
740
  ]
868
- },
869
- "Metadata": {
870
- "cdk_nag": {
871
- "rules_to_suppress": [
872
- {
873
- "reason": "no service role restriction needed",
874
- "id": "AwsSolutions-IAM4"
875
- },
876
- {
877
- "reason": "wildcards are ok for the provider as the function has restrictions",
878
- "id": "AwsSolutions-IAM5"
879
- }
880
- ]
881
- }
882
741
  }
883
742
  },
884
743
  "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerServiceRoleDefaultPolicy5C0E86C8": {
@@ -904,20 +763,6 @@
904
763
  "Ref": "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerServiceRole83E5B139"
905
764
  }
906
765
  ]
907
- },
908
- "Metadata": {
909
- "cdk_nag": {
910
- "rules_to_suppress": [
911
- {
912
- "reason": "no service role restriction needed",
913
- "id": "AwsSolutions-IAM4"
914
- },
915
- {
916
- "reason": "wildcards are ok for the provider as the function has restrictions",
917
- "id": "AwsSolutions-IAM5"
918
- }
919
- ]
920
- }
921
766
  }
922
767
  },
923
768
  "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerADD3C0BE": {
@@ -930,70 +775,32 @@
930
775
  "S3Key": "f75274dd7677b6ef41f29d2dfc2c885b4f4e069d3fb8e67636bd89efd3f0fcad.zip"
931
776
  },
932
777
  "Handler": "index.handler",
778
+ "LoggingConfig": {
779
+ "LogGroup": {
780
+ "Ref": "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerloggroup0A89A5E2"
781
+ }
782
+ },
933
783
  "Role": {
934
784
  "Fn::GetAtt": [
935
785
  "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerServiceRole83E5B139",
936
786
  "Arn"
937
787
  ]
938
788
  },
939
- "Runtime": "nodejs18.x",
789
+ "Runtime": "nodejs24.x",
940
790
  "Timeout": 200
941
791
  },
942
792
  "DependsOn": [
943
793
  "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerServiceRoleDefaultPolicy5C0E86C8",
944
794
  "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerServiceRole83E5B139"
945
- ],
946
- "Metadata": {
947
- "cdk_nag": {
948
- "rules_to_suppress": [
949
- {
950
- "reason": "no service role restriction needed",
951
- "id": "AwsSolutions-IAM4"
952
- },
953
- {
954
- "reason": "wildcards are ok for the provider as the function has restrictions",
955
- "id": "AwsSolutions-IAM5"
956
- }
957
- ]
958
- }
959
- }
795
+ ]
960
796
  },
961
- "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerLogRetentionCA165FC4": {
962
- "Type": "Custom::LogRetention",
797
+ "rootmailhostedzonedkimverificationrecordsproviderhostedzonedkimverificationrecordsproviderloggroupC3BF9C7C": {
798
+ "Type": "AWS::Logs::LogGroup",
963
799
  "Properties": {
964
- "ServiceToken": {
965
- "Fn::GetAtt": [
966
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
967
- "Arn"
968
- ]
969
- },
970
- "LogGroupName": {
971
- "Fn::Join": [
972
- "",
973
- [
974
- "/aws/lambda/",
975
- {
976
- "Ref": "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerADD3C0BE"
977
- }
978
- ]
979
- ]
980
- },
981
800
  "RetentionInDays": 1
982
801
  },
983
- "Metadata": {
984
- "cdk_nag": {
985
- "rules_to_suppress": [
986
- {
987
- "reason": "no service role restriction needed",
988
- "id": "AwsSolutions-IAM4"
989
- },
990
- {
991
- "reason": "wildcards are ok for the provider as the function has restrictions",
992
- "id": "AwsSolutions-IAM5"
993
- }
994
- ]
995
- }
996
- }
802
+ "UpdateReplacePolicy": "Retain",
803
+ "DeletionPolicy": "Retain"
997
804
  },
998
805
  "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventServiceRoleA09812EA": {
999
806
  "Type": "AWS::IAM::Role",
@@ -1024,20 +831,6 @@
1024
831
  ]
1025
832
  }
1026
833
  ]
1027
- },
1028
- "Metadata": {
1029
- "cdk_nag": {
1030
- "rules_to_suppress": [
1031
- {
1032
- "reason": "no service role restriction needed",
1033
- "id": "AwsSolutions-IAM4"
1034
- },
1035
- {
1036
- "reason": "wildcards are ok for the provider as the function has restrictions",
1037
- "id": "AwsSolutions-IAM5"
1038
- }
1039
- ]
1040
- }
1041
834
  }
1042
835
  },
1043
836
  "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventServiceRoleDefaultPolicy2775D1BA": {
@@ -1070,6 +863,16 @@
1070
863
  ]
1071
864
  }
1072
865
  ]
866
+ },
867
+ {
868
+ "Action": "lambda:GetFunction",
869
+ "Effect": "Allow",
870
+ "Resource": {
871
+ "Fn::GetAtt": [
872
+ "rootmailhostedzonedkimverificationrecordsprovideroneventhandlerADD3C0BE",
873
+ "Arn"
874
+ ]
875
+ }
1073
876
  }
1074
877
  ],
1075
878
  "Version": "2012-10-17"
@@ -1080,20 +883,6 @@
1080
883
  "Ref": "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventServiceRoleA09812EA"
1081
884
  }
1082
885
  ]
1083
- },
1084
- "Metadata": {
1085
- "cdk_nag": {
1086
- "rules_to_suppress": [
1087
- {
1088
- "reason": "no service role restriction needed",
1089
- "id": "AwsSolutions-IAM4"
1090
- },
1091
- {
1092
- "reason": "wildcards are ok for the provider as the function has restrictions",
1093
- "id": "AwsSolutions-IAM5"
1094
- }
1095
- ]
1096
- }
1097
886
  }
1098
887
  },
1099
888
  "rootmailhostedzonedkimverificationrecordsproviderframeworkonEvent801E57DE": {
@@ -1103,7 +892,7 @@
1103
892
  "S3Bucket": {
1104
893
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1105
894
  },
1106
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
895
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
1107
896
  },
1108
897
  "Description": "AWS CDK resource provider framework - onEvent (RootmailIntegTestStack/rootmail.hosted-zone-dkim-verification-records-provider/hosted-zone-dkim-verification-records-provider)",
1109
898
  "Environment": {
@@ -1117,78 +906,34 @@
1117
906
  }
1118
907
  },
1119
908
  "Handler": "framework.onEvent",
909
+ "LoggingConfig": {
910
+ "ApplicationLogLevel": "FATAL",
911
+ "LogFormat": "JSON",
912
+ "LogGroup": {
913
+ "Ref": "rootmailhostedzonedkimverificationrecordsproviderhostedzonedkimverificationrecordsproviderloggroupC3BF9C7C"
914
+ }
915
+ },
1120
916
  "Role": {
1121
917
  "Fn::GetAtt": [
1122
918
  "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventServiceRoleA09812EA",
1123
919
  "Arn"
1124
920
  ]
1125
921
  },
1126
- "Runtime": {
1127
- "Fn::FindInMap": [
1128
- "LatestNodeRuntimeMap",
1129
- {
1130
- "Ref": "AWS::Region"
1131
- },
1132
- "value"
1133
- ]
1134
- },
922
+ "Runtime": "nodejs24.x",
1135
923
  "Timeout": 900
1136
924
  },
1137
925
  "DependsOn": [
1138
926
  "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventServiceRoleDefaultPolicy2775D1BA",
1139
927
  "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventServiceRoleA09812EA"
1140
- ],
1141
- "Metadata": {
1142
- "cdk_nag": {
1143
- "rules_to_suppress": [
1144
- {
1145
- "reason": "no service role restriction needed",
1146
- "id": "AwsSolutions-IAM4"
1147
- },
1148
- {
1149
- "reason": "wildcards are ok for the provider as the function has restrictions",
1150
- "id": "AwsSolutions-IAM5"
1151
- }
1152
- ]
1153
- }
1154
- }
928
+ ]
1155
929
  },
1156
- "rootmailhostedzonedkimverificationrecordsproviderframeworkonEventLogRetention64AEF97C": {
1157
- "Type": "Custom::LogRetention",
930
+ "rootmailautowirednsprovideriscompletehandlerloggroupCB90A9F7": {
931
+ "Type": "AWS::Logs::LogGroup",
1158
932
  "Properties": {
1159
- "ServiceToken": {
1160
- "Fn::GetAtt": [
1161
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
1162
- "Arn"
1163
- ]
1164
- },
1165
- "LogGroupName": {
1166
- "Fn::Join": [
1167
- "",
1168
- [
1169
- "/aws/lambda/",
1170
- {
1171
- "Ref": "rootmailhostedzonedkimverificationrecordsproviderframeworkonEvent801E57DE"
1172
- }
1173
- ]
1174
- ]
1175
- },
1176
933
  "RetentionInDays": 1
1177
934
  },
1178
- "Metadata": {
1179
- "cdk_nag": {
1180
- "rules_to_suppress": [
1181
- {
1182
- "reason": "no service role restriction needed",
1183
- "id": "AwsSolutions-IAM4"
1184
- },
1185
- {
1186
- "reason": "wildcards are ok for the provider as the function has restrictions",
1187
- "id": "AwsSolutions-IAM5"
1188
- }
1189
- ]
1190
- }
1191
- }
935
+ "UpdateReplacePolicy": "Retain",
936
+ "DeletionPolicy": "Retain"
1192
937
  },
1193
938
  "rootmailautowirednsprovideriscompletehandlerServiceRole35CABB06": {
1194
939
  "Type": "AWS::IAM::Role",
@@ -1219,20 +964,6 @@
1219
964
  ]
1220
965
  }
1221
966
  ]
1222
- },
1223
- "Metadata": {
1224
- "cdk_nag": {
1225
- "rules_to_suppress": [
1226
- {
1227
- "reason": "no service role restriction needed",
1228
- "id": "AwsSolutions-IAM4"
1229
- },
1230
- {
1231
- "reason": "wildcards are ok for the provider as the function has restrictions",
1232
- "id": "AwsSolutions-IAM5"
1233
- }
1234
- ]
1235
- }
1236
967
  }
1237
968
  },
1238
969
  "rootmailautowirednsprovideriscompletehandlerServiceRoleDefaultPolicy7DA8ECD2": {
@@ -1289,20 +1020,6 @@
1289
1020
  "Ref": "rootmailautowirednsprovideriscompletehandlerServiceRole35CABB06"
1290
1021
  }
1291
1022
  ]
1292
- },
1293
- "Metadata": {
1294
- "cdk_nag": {
1295
- "rules_to_suppress": [
1296
- {
1297
- "reason": "no service role restriction needed",
1298
- "id": "AwsSolutions-IAM4"
1299
- },
1300
- {
1301
- "reason": "wildcards are ok for the provider as the function has restrictions",
1302
- "id": "AwsSolutions-IAM5"
1303
- }
1304
- ]
1305
- }
1306
1023
  }
1307
1024
  },
1308
1025
  "rootmailautowirednsprovideriscompletehandlerBFD3F7F5": {
@@ -1315,70 +1032,32 @@
1315
1032
  "S3Key": "157ba1713f7224463b621261792d18081588ff306a9bc3f75e6c468fabbe1a60.zip"
1316
1033
  },
1317
1034
  "Handler": "index.handler",
1035
+ "LoggingConfig": {
1036
+ "LogGroup": {
1037
+ "Ref": "rootmailautowirednsprovideriscompletehandlerloggroupCB90A9F7"
1038
+ }
1039
+ },
1318
1040
  "Role": {
1319
1041
  "Fn::GetAtt": [
1320
1042
  "rootmailautowirednsprovideriscompletehandlerServiceRole35CABB06",
1321
1043
  "Arn"
1322
1044
  ]
1323
1045
  },
1324
- "Runtime": "nodejs18.x",
1046
+ "Runtime": "nodejs24.x",
1325
1047
  "Timeout": 120
1326
1048
  },
1327
1049
  "DependsOn": [
1328
1050
  "rootmailautowirednsprovideriscompletehandlerServiceRoleDefaultPolicy7DA8ECD2",
1329
1051
  "rootmailautowirednsprovideriscompletehandlerServiceRole35CABB06"
1330
- ],
1331
- "Metadata": {
1332
- "cdk_nag": {
1333
- "rules_to_suppress": [
1334
- {
1335
- "reason": "no service role restriction needed",
1336
- "id": "AwsSolutions-IAM4"
1337
- },
1338
- {
1339
- "reason": "wildcards are ok for the provider as the function has restrictions",
1340
- "id": "AwsSolutions-IAM5"
1341
- }
1342
- ]
1343
- }
1344
- }
1052
+ ]
1345
1053
  },
1346
- "rootmailautowirednsprovideriscompletehandlerLogRetention304C1822": {
1347
- "Type": "Custom::LogRetention",
1054
+ "rootmailautowirednsprovideroneventhandlerloggroup578EB8FA": {
1055
+ "Type": "AWS::Logs::LogGroup",
1348
1056
  "Properties": {
1349
- "ServiceToken": {
1350
- "Fn::GetAtt": [
1351
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
1352
- "Arn"
1353
- ]
1354
- },
1355
- "LogGroupName": {
1356
- "Fn::Join": [
1357
- "",
1358
- [
1359
- "/aws/lambda/",
1360
- {
1361
- "Ref": "rootmailautowirednsprovideriscompletehandlerBFD3F7F5"
1362
- }
1363
- ]
1364
- ]
1365
- },
1366
1057
  "RetentionInDays": 1
1367
1058
  },
1368
- "Metadata": {
1369
- "cdk_nag": {
1370
- "rules_to_suppress": [
1371
- {
1372
- "reason": "no service role restriction needed",
1373
- "id": "AwsSolutions-IAM4"
1374
- },
1375
- {
1376
- "reason": "wildcards are ok for the provider as the function has restrictions",
1377
- "id": "AwsSolutions-IAM5"
1378
- }
1379
- ]
1380
- }
1381
- }
1059
+ "UpdateReplacePolicy": "Retain",
1060
+ "DeletionPolicy": "Retain"
1382
1061
  },
1383
1062
  "rootmailautowirednsprovideroneventhandlerServiceRole6D9F81B0": {
1384
1063
  "Type": "AWS::IAM::Role",
@@ -1409,20 +1088,6 @@
1409
1088
  ]
1410
1089
  }
1411
1090
  ]
1412
- },
1413
- "Metadata": {
1414
- "cdk_nag": {
1415
- "rules_to_suppress": [
1416
- {
1417
- "reason": "no service role restriction needed",
1418
- "id": "AwsSolutions-IAM4"
1419
- },
1420
- {
1421
- "reason": "wildcards are ok for the provider as the function has restrictions",
1422
- "id": "AwsSolutions-IAM5"
1423
- }
1424
- ]
1425
- }
1426
1091
  }
1427
1092
  },
1428
1093
  "rootmailautowirednsprovideroneventhandlerServiceRoleDefaultPolicy4A5BBAB1": {
@@ -1514,20 +1179,6 @@
1514
1179
  "Ref": "rootmailautowirednsprovideroneventhandlerServiceRole6D9F81B0"
1515
1180
  }
1516
1181
  ]
1517
- },
1518
- "Metadata": {
1519
- "cdk_nag": {
1520
- "rules_to_suppress": [
1521
- {
1522
- "reason": "no service role restriction needed",
1523
- "id": "AwsSolutions-IAM4"
1524
- },
1525
- {
1526
- "reason": "wildcards are ok for the provider as the function has restrictions",
1527
- "id": "AwsSolutions-IAM5"
1528
- }
1529
- ]
1530
- }
1531
1182
  }
1532
1183
  },
1533
1184
  "rootmailautowirednsprovideroneventhandler2ADE543F": {
@@ -1540,70 +1191,32 @@
1540
1191
  "S3Key": "4c079063901e6478dbb5ace19e3123641ebf0da2ab648ecf52079c5bec154196.zip"
1541
1192
  },
1542
1193
  "Handler": "index.handler",
1194
+ "LoggingConfig": {
1195
+ "LogGroup": {
1196
+ "Ref": "rootmailautowirednsprovideroneventhandlerloggroup578EB8FA"
1197
+ }
1198
+ },
1543
1199
  "Role": {
1544
1200
  "Fn::GetAtt": [
1545
1201
  "rootmailautowirednsprovideroneventhandlerServiceRole6D9F81B0",
1546
1202
  "Arn"
1547
1203
  ]
1548
1204
  },
1549
- "Runtime": "nodejs18.x",
1205
+ "Runtime": "nodejs24.x",
1550
1206
  "Timeout": 160
1551
1207
  },
1552
1208
  "DependsOn": [
1553
1209
  "rootmailautowirednsprovideroneventhandlerServiceRoleDefaultPolicy4A5BBAB1",
1554
1210
  "rootmailautowirednsprovideroneventhandlerServiceRole6D9F81B0"
1555
- ],
1556
- "Metadata": {
1557
- "cdk_nag": {
1558
- "rules_to_suppress": [
1559
- {
1560
- "reason": "no service role restriction needed",
1561
- "id": "AwsSolutions-IAM4"
1562
- },
1563
- {
1564
- "reason": "wildcards are ok for the provider as the function has restrictions",
1565
- "id": "AwsSolutions-IAM5"
1566
- }
1567
- ]
1568
- }
1569
- }
1211
+ ]
1570
1212
  },
1571
- "rootmailautowirednsprovideroneventhandlerLogRetentionA4DB1AD5": {
1572
- "Type": "Custom::LogRetention",
1213
+ "rootmailautowirednsproviderrootmailautowirednsproviderloggroup8B8FFFCE": {
1214
+ "Type": "AWS::Logs::LogGroup",
1573
1215
  "Properties": {
1574
- "ServiceToken": {
1575
- "Fn::GetAtt": [
1576
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
1577
- "Arn"
1578
- ]
1579
- },
1580
- "LogGroupName": {
1581
- "Fn::Join": [
1582
- "",
1583
- [
1584
- "/aws/lambda/",
1585
- {
1586
- "Ref": "rootmailautowirednsprovideroneventhandler2ADE543F"
1587
- }
1588
- ]
1589
- ]
1590
- },
1591
1216
  "RetentionInDays": 1
1592
1217
  },
1593
- "Metadata": {
1594
- "cdk_nag": {
1595
- "rules_to_suppress": [
1596
- {
1597
- "reason": "no service role restriction needed",
1598
- "id": "AwsSolutions-IAM4"
1599
- },
1600
- {
1601
- "reason": "wildcards are ok for the provider as the function has restrictions",
1602
- "id": "AwsSolutions-IAM5"
1603
- }
1604
- ]
1605
- }
1606
- }
1218
+ "UpdateReplacePolicy": "Retain",
1219
+ "DeletionPolicy": "Retain"
1607
1220
  },
1608
1221
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventServiceRoleECC96780": {
1609
1222
  "Type": "AWS::IAM::Role",
@@ -1634,20 +1247,6 @@
1634
1247
  ]
1635
1248
  }
1636
1249
  ]
1637
- },
1638
- "Metadata": {
1639
- "cdk_nag": {
1640
- "rules_to_suppress": [
1641
- {
1642
- "reason": "no service role restriction needed",
1643
- "id": "AwsSolutions-IAM4"
1644
- },
1645
- {
1646
- "reason": "wildcards are ok for the provider as the function has restrictions",
1647
- "id": "AwsSolutions-IAM5"
1648
- }
1649
- ]
1650
- }
1651
1250
  }
1652
1251
  },
1653
1252
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventServiceRoleDefaultPolicy16D799D5": {
@@ -1701,6 +1300,24 @@
1701
1300
  }
1702
1301
  ]
1703
1302
  },
1303
+ {
1304
+ "Action": "lambda:GetFunction",
1305
+ "Effect": "Allow",
1306
+ "Resource": [
1307
+ {
1308
+ "Fn::GetAtt": [
1309
+ "rootmailautowirednsprovideriscompletehandlerBFD3F7F5",
1310
+ "Arn"
1311
+ ]
1312
+ },
1313
+ {
1314
+ "Fn::GetAtt": [
1315
+ "rootmailautowirednsprovideroneventhandler2ADE543F",
1316
+ "Arn"
1317
+ ]
1318
+ }
1319
+ ]
1320
+ },
1704
1321
  {
1705
1322
  "Action": "states:StartExecution",
1706
1323
  "Effect": "Allow",
@@ -1717,20 +1334,6 @@
1717
1334
  "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventServiceRoleECC96780"
1718
1335
  }
1719
1336
  ]
1720
- },
1721
- "Metadata": {
1722
- "cdk_nag": {
1723
- "rules_to_suppress": [
1724
- {
1725
- "reason": "no service role restriction needed",
1726
- "id": "AwsSolutions-IAM4"
1727
- },
1728
- {
1729
- "reason": "wildcards are ok for the provider as the function has restrictions",
1730
- "id": "AwsSolutions-IAM5"
1731
- }
1732
- ]
1733
- }
1734
1337
  }
1735
1338
  },
1736
1339
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventAA9D49B6": {
@@ -1740,7 +1343,7 @@
1740
1343
  "S3Bucket": {
1741
1344
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1742
1345
  },
1743
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
1346
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
1744
1347
  },
1745
1348
  "Description": "AWS CDK resource provider framework - onEvent (RootmailIntegTestStack/rootmail.autowire-dns-provider/rootmail-autowire-dns-provider)",
1746
1349
  "Environment": {
@@ -1763,78 +1366,26 @@
1763
1366
  }
1764
1367
  },
1765
1368
  "Handler": "framework.onEvent",
1369
+ "LoggingConfig": {
1370
+ "ApplicationLogLevel": "FATAL",
1371
+ "LogFormat": "JSON",
1372
+ "LogGroup": {
1373
+ "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderloggroup8B8FFFCE"
1374
+ }
1375
+ },
1766
1376
  "Role": {
1767
1377
  "Fn::GetAtt": [
1768
1378
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventServiceRoleECC96780",
1769
1379
  "Arn"
1770
1380
  ]
1771
1381
  },
1772
- "Runtime": {
1773
- "Fn::FindInMap": [
1774
- "LatestNodeRuntimeMap",
1775
- {
1776
- "Ref": "AWS::Region"
1777
- },
1778
- "value"
1779
- ]
1780
- },
1382
+ "Runtime": "nodejs24.x",
1781
1383
  "Timeout": 900
1782
1384
  },
1783
1385
  "DependsOn": [
1784
1386
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventServiceRoleDefaultPolicy16D799D5",
1785
1387
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventServiceRoleECC96780"
1786
- ],
1787
- "Metadata": {
1788
- "cdk_nag": {
1789
- "rules_to_suppress": [
1790
- {
1791
- "reason": "no service role restriction needed",
1792
- "id": "AwsSolutions-IAM4"
1793
- },
1794
- {
1795
- "reason": "wildcards are ok for the provider as the function has restrictions",
1796
- "id": "AwsSolutions-IAM5"
1797
- }
1798
- ]
1799
- }
1800
- }
1801
- },
1802
- "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventLogRetention06222B6A": {
1803
- "Type": "Custom::LogRetention",
1804
- "Properties": {
1805
- "ServiceToken": {
1806
- "Fn::GetAtt": [
1807
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
1808
- "Arn"
1809
- ]
1810
- },
1811
- "LogGroupName": {
1812
- "Fn::Join": [
1813
- "",
1814
- [
1815
- "/aws/lambda/",
1816
- {
1817
- "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonEventAA9D49B6"
1818
- }
1819
- ]
1820
- ]
1821
- },
1822
- "RetentionInDays": 1
1823
- },
1824
- "Metadata": {
1825
- "cdk_nag": {
1826
- "rules_to_suppress": [
1827
- {
1828
- "reason": "no service role restriction needed",
1829
- "id": "AwsSolutions-IAM4"
1830
- },
1831
- {
1832
- "reason": "wildcards are ok for the provider as the function has restrictions",
1833
- "id": "AwsSolutions-IAM5"
1834
- }
1835
- ]
1836
- }
1837
- }
1388
+ ]
1838
1389
  },
1839
1390
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteServiceRoleD15A96AC": {
1840
1391
  "Type": "AWS::IAM::Role",
@@ -1865,20 +1416,6 @@
1865
1416
  ]
1866
1417
  }
1867
1418
  ]
1868
- },
1869
- "Metadata": {
1870
- "cdk_nag": {
1871
- "rules_to_suppress": [
1872
- {
1873
- "reason": "no service role restriction needed",
1874
- "id": "AwsSolutions-IAM4"
1875
- },
1876
- {
1877
- "reason": "wildcards are ok for the provider as the function has restrictions",
1878
- "id": "AwsSolutions-IAM5"
1879
- }
1880
- ]
1881
- }
1882
1419
  }
1883
1420
  },
1884
1421
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteServiceRoleDefaultPolicy5728F288": {
@@ -1931,6 +1468,24 @@
1931
1468
  ]
1932
1469
  }
1933
1470
  ]
1471
+ },
1472
+ {
1473
+ "Action": "lambda:GetFunction",
1474
+ "Effect": "Allow",
1475
+ "Resource": [
1476
+ {
1477
+ "Fn::GetAtt": [
1478
+ "rootmailautowirednsprovideriscompletehandlerBFD3F7F5",
1479
+ "Arn"
1480
+ ]
1481
+ },
1482
+ {
1483
+ "Fn::GetAtt": [
1484
+ "rootmailautowirednsprovideroneventhandler2ADE543F",
1485
+ "Arn"
1486
+ ]
1487
+ }
1488
+ ]
1934
1489
  }
1935
1490
  ],
1936
1491
  "Version": "2012-10-17"
@@ -1941,20 +1496,6 @@
1941
1496
  "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteServiceRoleD15A96AC"
1942
1497
  }
1943
1498
  ]
1944
- },
1945
- "Metadata": {
1946
- "cdk_nag": {
1947
- "rules_to_suppress": [
1948
- {
1949
- "reason": "no service role restriction needed",
1950
- "id": "AwsSolutions-IAM4"
1951
- },
1952
- {
1953
- "reason": "wildcards are ok for the provider as the function has restrictions",
1954
- "id": "AwsSolutions-IAM5"
1955
- }
1956
- ]
1957
- }
1958
1499
  }
1959
1500
  },
1960
1501
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteC48DABD2": {
@@ -1964,7 +1505,7 @@
1964
1505
  "S3Bucket": {
1965
1506
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1966
1507
  },
1967
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
1508
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
1968
1509
  },
1969
1510
  "Description": "AWS CDK resource provider framework - isComplete (RootmailIntegTestStack/rootmail.autowire-dns-provider/rootmail-autowire-dns-provider)",
1970
1511
  "Environment": {
@@ -1984,78 +1525,26 @@
1984
1525
  }
1985
1526
  },
1986
1527
  "Handler": "framework.isComplete",
1528
+ "LoggingConfig": {
1529
+ "ApplicationLogLevel": "FATAL",
1530
+ "LogFormat": "JSON",
1531
+ "LogGroup": {
1532
+ "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderloggroup8B8FFFCE"
1533
+ }
1534
+ },
1987
1535
  "Role": {
1988
1536
  "Fn::GetAtt": [
1989
1537
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteServiceRoleD15A96AC",
1990
1538
  "Arn"
1991
1539
  ]
1992
1540
  },
1993
- "Runtime": {
1994
- "Fn::FindInMap": [
1995
- "LatestNodeRuntimeMap",
1996
- {
1997
- "Ref": "AWS::Region"
1998
- },
1999
- "value"
2000
- ]
2001
- },
1541
+ "Runtime": "nodejs24.x",
2002
1542
  "Timeout": 900
2003
1543
  },
2004
1544
  "DependsOn": [
2005
1545
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteServiceRoleDefaultPolicy5728F288",
2006
1546
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteServiceRoleD15A96AC"
2007
- ],
2008
- "Metadata": {
2009
- "cdk_nag": {
2010
- "rules_to_suppress": [
2011
- {
2012
- "reason": "no service role restriction needed",
2013
- "id": "AwsSolutions-IAM4"
2014
- },
2015
- {
2016
- "reason": "wildcards are ok for the provider as the function has restrictions",
2017
- "id": "AwsSolutions-IAM5"
2018
- }
2019
- ]
2020
- }
2021
- }
2022
- },
2023
- "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteLogRetentionB48EA66E": {
2024
- "Type": "Custom::LogRetention",
2025
- "Properties": {
2026
- "ServiceToken": {
2027
- "Fn::GetAtt": [
2028
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
2029
- "Arn"
2030
- ]
2031
- },
2032
- "LogGroupName": {
2033
- "Fn::Join": [
2034
- "",
2035
- [
2036
- "/aws/lambda/",
2037
- {
2038
- "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteC48DABD2"
2039
- }
2040
- ]
2041
- ]
2042
- },
2043
- "RetentionInDays": 1
2044
- },
2045
- "Metadata": {
2046
- "cdk_nag": {
2047
- "rules_to_suppress": [
2048
- {
2049
- "reason": "no service role restriction needed",
2050
- "id": "AwsSolutions-IAM4"
2051
- },
2052
- {
2053
- "reason": "wildcards are ok for the provider as the function has restrictions",
2054
- "id": "AwsSolutions-IAM5"
2055
- }
2056
- ]
2057
- }
2058
- }
1547
+ ]
2059
1548
  },
2060
1549
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutServiceRole4383D224": {
2061
1550
  "Type": "AWS::IAM::Role",
@@ -2086,20 +1575,6 @@
2086
1575
  ]
2087
1576
  }
2088
1577
  ]
2089
- },
2090
- "Metadata": {
2091
- "cdk_nag": {
2092
- "rules_to_suppress": [
2093
- {
2094
- "reason": "no service role restriction needed",
2095
- "id": "AwsSolutions-IAM4"
2096
- },
2097
- {
2098
- "reason": "wildcards are ok for the provider as the function has restrictions",
2099
- "id": "AwsSolutions-IAM5"
2100
- }
2101
- ]
2102
- }
2103
1578
  }
2104
1579
  },
2105
1580
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutServiceRoleDefaultPolicy53D3B624": {
@@ -2152,6 +1627,24 @@
2152
1627
  ]
2153
1628
  }
2154
1629
  ]
1630
+ },
1631
+ {
1632
+ "Action": "lambda:GetFunction",
1633
+ "Effect": "Allow",
1634
+ "Resource": [
1635
+ {
1636
+ "Fn::GetAtt": [
1637
+ "rootmailautowirednsprovideriscompletehandlerBFD3F7F5",
1638
+ "Arn"
1639
+ ]
1640
+ },
1641
+ {
1642
+ "Fn::GetAtt": [
1643
+ "rootmailautowirednsprovideroneventhandler2ADE543F",
1644
+ "Arn"
1645
+ ]
1646
+ }
1647
+ ]
2155
1648
  }
2156
1649
  ],
2157
1650
  "Version": "2012-10-17"
@@ -2162,20 +1655,6 @@
2162
1655
  "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutServiceRole4383D224"
2163
1656
  }
2164
1657
  ]
2165
- },
2166
- "Metadata": {
2167
- "cdk_nag": {
2168
- "rules_to_suppress": [
2169
- {
2170
- "reason": "no service role restriction needed",
2171
- "id": "AwsSolutions-IAM4"
2172
- },
2173
- {
2174
- "reason": "wildcards are ok for the provider as the function has restrictions",
2175
- "id": "AwsSolutions-IAM5"
2176
- }
2177
- ]
2178
- }
2179
1658
  }
2180
1659
  },
2181
1660
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutC714B95F": {
@@ -2185,7 +1664,7 @@
2185
1664
  "S3Bucket": {
2186
1665
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
2187
1666
  },
2188
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
1667
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
2189
1668
  },
2190
1669
  "Description": "AWS CDK resource provider framework - onTimeout (RootmailIntegTestStack/rootmail.autowire-dns-provider/rootmail-autowire-dns-provider)",
2191
1670
  "Environment": {
@@ -2205,112 +1684,46 @@
2205
1684
  }
2206
1685
  },
2207
1686
  "Handler": "framework.onTimeout",
1687
+ "LoggingConfig": {
1688
+ "ApplicationLogLevel": "FATAL",
1689
+ "LogFormat": "JSON",
1690
+ "LogGroup": {
1691
+ "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderloggroup8B8FFFCE"
1692
+ }
1693
+ },
2208
1694
  "Role": {
2209
1695
  "Fn::GetAtt": [
2210
1696
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutServiceRole4383D224",
2211
1697
  "Arn"
2212
1698
  ]
2213
1699
  },
2214
- "Runtime": {
2215
- "Fn::FindInMap": [
2216
- "LatestNodeRuntimeMap",
2217
- {
2218
- "Ref": "AWS::Region"
2219
- },
2220
- "value"
2221
- ]
2222
- },
1700
+ "Runtime": "nodejs24.x",
2223
1701
  "Timeout": 900
2224
1702
  },
2225
1703
  "DependsOn": [
2226
1704
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutServiceRoleDefaultPolicy53D3B624",
2227
1705
  "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutServiceRole4383D224"
2228
- ],
2229
- "Metadata": {
2230
- "cdk_nag": {
2231
- "rules_to_suppress": [
2232
- {
2233
- "reason": "no service role restriction needed",
2234
- "id": "AwsSolutions-IAM4"
2235
- },
1706
+ ]
1707
+ },
1708
+ "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRole258A7061": {
1709
+ "Type": "AWS::IAM::Role",
1710
+ "Properties": {
1711
+ "AssumeRolePolicyDocument": {
1712
+ "Statement": [
2236
1713
  {
2237
- "reason": "wildcards are ok for the provider as the function has restrictions",
2238
- "id": "AwsSolutions-IAM5"
1714
+ "Action": "sts:AssumeRole",
1715
+ "Effect": "Allow",
1716
+ "Principal": {
1717
+ "Service": "states.amazonaws.com"
1718
+ }
2239
1719
  }
2240
- ]
1720
+ ],
1721
+ "Version": "2012-10-17"
2241
1722
  }
2242
1723
  }
2243
1724
  },
2244
- "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutLogRetention59C14E50": {
2245
- "Type": "Custom::LogRetention",
2246
- "Properties": {
2247
- "ServiceToken": {
2248
- "Fn::GetAtt": [
2249
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
2250
- "Arn"
2251
- ]
2252
- },
2253
- "LogGroupName": {
2254
- "Fn::Join": [
2255
- "",
2256
- [
2257
- "/aws/lambda/",
2258
- {
2259
- "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkonTimeoutC714B95F"
2260
- }
2261
- ]
2262
- ]
2263
- },
2264
- "RetentionInDays": 1
2265
- },
2266
- "Metadata": {
2267
- "cdk_nag": {
2268
- "rules_to_suppress": [
2269
- {
2270
- "reason": "no service role restriction needed",
2271
- "id": "AwsSolutions-IAM4"
2272
- },
2273
- {
2274
- "reason": "wildcards are ok for the provider as the function has restrictions",
2275
- "id": "AwsSolutions-IAM5"
2276
- }
2277
- ]
2278
- }
2279
- }
2280
- },
2281
- "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRole258A7061": {
2282
- "Type": "AWS::IAM::Role",
2283
- "Properties": {
2284
- "AssumeRolePolicyDocument": {
2285
- "Statement": [
2286
- {
2287
- "Action": "sts:AssumeRole",
2288
- "Effect": "Allow",
2289
- "Principal": {
2290
- "Service": "states.amazonaws.com"
2291
- }
2292
- }
2293
- ],
2294
- "Version": "2012-10-17"
2295
- }
2296
- },
2297
- "Metadata": {
2298
- "cdk_nag": {
2299
- "rules_to_suppress": [
2300
- {
2301
- "reason": "no service role restriction needed",
2302
- "id": "AwsSolutions-IAM4"
2303
- },
2304
- {
2305
- "reason": "wildcards are ok for the provider as the function has restrictions",
2306
- "id": "AwsSolutions-IAM5"
2307
- }
2308
- ]
2309
- }
2310
- }
2311
- },
2312
- "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRoleDefaultPolicy310226B4": {
2313
- "Type": "AWS::IAM::Policy",
1725
+ "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRoleDefaultPolicy310226B4": {
1726
+ "Type": "AWS::IAM::Policy",
2314
1727
  "Properties": {
2315
1728
  "PolicyDocument": {
2316
1729
  "Statement": [
@@ -2359,22 +1772,6 @@
2359
1772
  ]
2360
1773
  }
2361
1774
  ]
2362
- },
2363
- {
2364
- "Action": [
2365
- "logs:CreateLogDelivery",
2366
- "logs:CreateLogStream",
2367
- "logs:DeleteLogDelivery",
2368
- "logs:DescribeLogGroups",
2369
- "logs:DescribeResourcePolicies",
2370
- "logs:GetLogDelivery",
2371
- "logs:ListLogDeliveries",
2372
- "logs:PutLogEvents",
2373
- "logs:PutResourcePolicy",
2374
- "logs:UpdateLogDelivery"
2375
- ],
2376
- "Effect": "Allow",
2377
- "Resource": "*"
2378
1775
  }
2379
1776
  ],
2380
1777
  "Version": "2012-10-17"
@@ -2385,54 +1782,6 @@
2385
1782
  "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRole258A7061"
2386
1783
  }
2387
1784
  ]
2388
- },
2389
- "Metadata": {
2390
- "cdk_nag": {
2391
- "rules_to_suppress": [
2392
- {
2393
- "reason": "no service role restriction needed",
2394
- "id": "AwsSolutions-IAM4"
2395
- },
2396
- {
2397
- "reason": "wildcards are ok for the provider as the function has restrictions",
2398
- "id": "AwsSolutions-IAM5"
2399
- }
2400
- ]
2401
- }
2402
- }
2403
- },
2404
- "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineLogGroup8F234E2E": {
2405
- "Type": "AWS::Logs::LogGroup",
2406
- "Properties": {
2407
- "LogGroupName": {
2408
- "Fn::Join": [
2409
- "",
2410
- [
2411
- "/aws/vendedlogs/states/waiter-state-machine-",
2412
- {
2413
- "Ref": "rootmailautowirednsproviderrootmailautowirednsproviderframeworkisCompleteC48DABD2"
2414
- },
2415
- "-c87dd05ebab293a9aee46077d679d140dd7cde1383"
2416
- ]
2417
- ]
2418
- },
2419
- "RetentionInDays": 731
2420
- },
2421
- "UpdateReplacePolicy": "Retain",
2422
- "DeletionPolicy": "Retain",
2423
- "Metadata": {
2424
- "cdk_nag": {
2425
- "rules_to_suppress": [
2426
- {
2427
- "reason": "no service role restriction needed",
2428
- "id": "AwsSolutions-IAM4"
2429
- },
2430
- {
2431
- "reason": "wildcards are ok for the provider as the function has restrictions",
2432
- "id": "AwsSolutions-IAM5"
2433
- }
2434
- ]
2435
- }
2436
1785
  }
2437
1786
  },
2438
1787
  "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachine81102355": {
@@ -2460,22 +1809,6 @@
2460
1809
  ]
2461
1810
  ]
2462
1811
  },
2463
- "LoggingConfiguration": {
2464
- "Destinations": [
2465
- {
2466
- "CloudWatchLogsLogGroup": {
2467
- "LogGroupArn": {
2468
- "Fn::GetAtt": [
2469
- "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineLogGroup8F234E2E",
2470
- "Arn"
2471
- ]
2472
- }
2473
- }
2474
- }
2475
- ],
2476
- "IncludeExecutionData": false,
2477
- "Level": "ERROR"
2478
- },
2479
1812
  "RoleArn": {
2480
1813
  "Fn::GetAtt": [
2481
1814
  "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRole258A7061",
@@ -2486,21 +1819,15 @@
2486
1819
  "DependsOn": [
2487
1820
  "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRoleDefaultPolicy310226B4",
2488
1821
  "rootmailautowirednsproviderrootmailautowirednsproviderwaiterstatemachineRole258A7061"
2489
- ],
2490
- "Metadata": {
2491
- "cdk_nag": {
2492
- "rules_to_suppress": [
2493
- {
2494
- "reason": "no service role restriction needed",
2495
- "id": "AwsSolutions-IAM4"
2496
- },
2497
- {
2498
- "reason": "wildcards are ok for the provider as the function has restrictions",
2499
- "id": "AwsSolutions-IAM5"
2500
- }
2501
- ]
2502
- }
2503
- }
1822
+ ]
1823
+ },
1824
+ "rootmailhostedzonedkimpropagationprovideriscompletehandlerloggroup9B435FA9": {
1825
+ "Type": "AWS::Logs::LogGroup",
1826
+ "Properties": {
1827
+ "RetentionInDays": 1
1828
+ },
1829
+ "UpdateReplacePolicy": "Retain",
1830
+ "DeletionPolicy": "Retain"
2504
1831
  },
2505
1832
  "rootmailhostedzonedkimpropagationprovideriscompletehandlerServiceRoleDFD2C35E": {
2506
1833
  "Type": "AWS::IAM::Role",
@@ -2531,20 +1858,6 @@
2531
1858
  ]
2532
1859
  }
2533
1860
  ]
2534
- },
2535
- "Metadata": {
2536
- "cdk_nag": {
2537
- "rules_to_suppress": [
2538
- {
2539
- "reason": "no service role restriction needed",
2540
- "id": "AwsSolutions-IAM4"
2541
- },
2542
- {
2543
- "reason": "wildcards are ok for the provider as the function has restrictions",
2544
- "id": "AwsSolutions-IAM5"
2545
- }
2546
- ]
2547
- }
2548
1861
  }
2549
1862
  },
2550
1863
  "rootmailhostedzonedkimpropagationprovideriscompletehandlerServiceRoleDefaultPolicy57D46916": {
@@ -2571,20 +1884,6 @@
2571
1884
  "Ref": "rootmailhostedzonedkimpropagationprovideriscompletehandlerServiceRoleDFD2C35E"
2572
1885
  }
2573
1886
  ]
2574
- },
2575
- "Metadata": {
2576
- "cdk_nag": {
2577
- "rules_to_suppress": [
2578
- {
2579
- "reason": "no service role restriction needed",
2580
- "id": "AwsSolutions-IAM4"
2581
- },
2582
- {
2583
- "reason": "wildcards are ok for the provider as the function has restrictions",
2584
- "id": "AwsSolutions-IAM5"
2585
- }
2586
- ]
2587
- }
2588
1887
  }
2589
1888
  },
2590
1889
  "rootmailhostedzonedkimpropagationprovideriscompletehandlerB67C8E91": {
@@ -2597,70 +1896,32 @@
2597
1896
  "S3Key": "7e8a681794eff5fda1841caa360113df5488ecf944055a69b8f1e5a687e269f5.zip"
2598
1897
  },
2599
1898
  "Handler": "index.handler",
1899
+ "LoggingConfig": {
1900
+ "LogGroup": {
1901
+ "Ref": "rootmailhostedzonedkimpropagationprovideriscompletehandlerloggroup9B435FA9"
1902
+ }
1903
+ },
2600
1904
  "Role": {
2601
1905
  "Fn::GetAtt": [
2602
1906
  "rootmailhostedzonedkimpropagationprovideriscompletehandlerServiceRoleDFD2C35E",
2603
1907
  "Arn"
2604
1908
  ]
2605
1909
  },
2606
- "Runtime": "nodejs18.x",
1910
+ "Runtime": "nodejs24.x",
2607
1911
  "Timeout": 30
2608
1912
  },
2609
1913
  "DependsOn": [
2610
1914
  "rootmailhostedzonedkimpropagationprovideriscompletehandlerServiceRoleDefaultPolicy57D46916",
2611
1915
  "rootmailhostedzonedkimpropagationprovideriscompletehandlerServiceRoleDFD2C35E"
2612
- ],
2613
- "Metadata": {
2614
- "cdk_nag": {
2615
- "rules_to_suppress": [
2616
- {
2617
- "reason": "no service role restriction needed",
2618
- "id": "AwsSolutions-IAM4"
2619
- },
2620
- {
2621
- "reason": "wildcards are ok for the provider as the function has restrictions",
2622
- "id": "AwsSolutions-IAM5"
2623
- }
2624
- ]
2625
- }
2626
- }
1916
+ ]
2627
1917
  },
2628
- "rootmailhostedzonedkimpropagationprovideriscompletehandlerLogRetentionA997105A": {
2629
- "Type": "Custom::LogRetention",
1918
+ "rootmailhostedzonedkimpropagationprovideroneventhandlerloggroupB2F904C5": {
1919
+ "Type": "AWS::Logs::LogGroup",
2630
1920
  "Properties": {
2631
- "ServiceToken": {
2632
- "Fn::GetAtt": [
2633
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
2634
- "Arn"
2635
- ]
2636
- },
2637
- "LogGroupName": {
2638
- "Fn::Join": [
2639
- "",
2640
- [
2641
- "/aws/lambda/",
2642
- {
2643
- "Ref": "rootmailhostedzonedkimpropagationprovideriscompletehandlerB67C8E91"
2644
- }
2645
- ]
2646
- ]
2647
- },
2648
1921
  "RetentionInDays": 1
2649
1922
  },
2650
- "Metadata": {
2651
- "cdk_nag": {
2652
- "rules_to_suppress": [
2653
- {
2654
- "reason": "no service role restriction needed",
2655
- "id": "AwsSolutions-IAM4"
2656
- },
2657
- {
2658
- "reason": "wildcards are ok for the provider as the function has restrictions",
2659
- "id": "AwsSolutions-IAM5"
2660
- }
2661
- ]
2662
- }
2663
- }
1923
+ "UpdateReplacePolicy": "Retain",
1924
+ "DeletionPolicy": "Retain"
2664
1925
  },
2665
1926
  "rootmailhostedzonedkimpropagationprovideroneventhandlerServiceRole02FD73CE": {
2666
1927
  "Type": "AWS::IAM::Role",
@@ -2691,20 +1952,6 @@
2691
1952
  ]
2692
1953
  }
2693
1954
  ]
2694
- },
2695
- "Metadata": {
2696
- "cdk_nag": {
2697
- "rules_to_suppress": [
2698
- {
2699
- "reason": "no service role restriction needed",
2700
- "id": "AwsSolutions-IAM4"
2701
- },
2702
- {
2703
- "reason": "wildcards are ok for the provider as the function has restrictions",
2704
- "id": "AwsSolutions-IAM5"
2705
- }
2706
- ]
2707
- }
2708
1955
  }
2709
1956
  },
2710
1957
  "rootmailhostedzonedkimpropagationprovideroneventhandlerC59BDC16": {
@@ -2717,69 +1964,31 @@
2717
1964
  "S3Key": "9572b451243318765beb576ae7528096b3879783dbaab795c02c01d7f4e83438.zip"
2718
1965
  },
2719
1966
  "Handler": "index.handler",
1967
+ "LoggingConfig": {
1968
+ "LogGroup": {
1969
+ "Ref": "rootmailhostedzonedkimpropagationprovideroneventhandlerloggroupB2F904C5"
1970
+ }
1971
+ },
2720
1972
  "Role": {
2721
1973
  "Fn::GetAtt": [
2722
1974
  "rootmailhostedzonedkimpropagationprovideroneventhandlerServiceRole02FD73CE",
2723
1975
  "Arn"
2724
1976
  ]
2725
1977
  },
2726
- "Runtime": "nodejs18.x",
1978
+ "Runtime": "nodejs24.x",
2727
1979
  "Timeout": 10
2728
1980
  },
2729
1981
  "DependsOn": [
2730
1982
  "rootmailhostedzonedkimpropagationprovideroneventhandlerServiceRole02FD73CE"
2731
- ],
2732
- "Metadata": {
2733
- "cdk_nag": {
2734
- "rules_to_suppress": [
2735
- {
2736
- "reason": "no service role restriction needed",
2737
- "id": "AwsSolutions-IAM4"
2738
- },
2739
- {
2740
- "reason": "wildcards are ok for the provider as the function has restrictions",
2741
- "id": "AwsSolutions-IAM5"
2742
- }
2743
- ]
2744
- }
2745
- }
1983
+ ]
2746
1984
  },
2747
- "rootmailhostedzonedkimpropagationprovideroneventhandlerLogRetentionD97E8A18": {
2748
- "Type": "Custom::LogRetention",
1985
+ "rootmailhostedzonedkimpropagationproviderhostedzonedkimpropagationproviderloggroupFE0FB1AC": {
1986
+ "Type": "AWS::Logs::LogGroup",
2749
1987
  "Properties": {
2750
- "ServiceToken": {
2751
- "Fn::GetAtt": [
2752
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
2753
- "Arn"
2754
- ]
2755
- },
2756
- "LogGroupName": {
2757
- "Fn::Join": [
2758
- "",
2759
- [
2760
- "/aws/lambda/",
2761
- {
2762
- "Ref": "rootmailhostedzonedkimpropagationprovideroneventhandlerC59BDC16"
2763
- }
2764
- ]
2765
- ]
2766
- },
2767
1988
  "RetentionInDays": 1
2768
1989
  },
2769
- "Metadata": {
2770
- "cdk_nag": {
2771
- "rules_to_suppress": [
2772
- {
2773
- "reason": "no service role restriction needed",
2774
- "id": "AwsSolutions-IAM4"
2775
- },
2776
- {
2777
- "reason": "wildcards are ok for the provider as the function has restrictions",
2778
- "id": "AwsSolutions-IAM5"
2779
- }
2780
- ]
2781
- }
2782
- }
1990
+ "UpdateReplacePolicy": "Retain",
1991
+ "DeletionPolicy": "Retain"
2783
1992
  },
2784
1993
  "rootmailhostedzonedkimpropagationproviderframeworkonEventServiceRole5729BE95": {
2785
1994
  "Type": "AWS::IAM::Role",
@@ -2810,20 +2019,6 @@
2810
2019
  ]
2811
2020
  }
2812
2021
  ]
2813
- },
2814
- "Metadata": {
2815
- "cdk_nag": {
2816
- "rules_to_suppress": [
2817
- {
2818
- "reason": "no service role restriction needed",
2819
- "id": "AwsSolutions-IAM4"
2820
- },
2821
- {
2822
- "reason": "wildcards are ok for the provider as the function has restrictions",
2823
- "id": "AwsSolutions-IAM5"
2824
- }
2825
- ]
2826
- }
2827
2022
  }
2828
2023
  },
2829
2024
  "rootmailhostedzonedkimpropagationproviderframeworkonEventServiceRoleDefaultPolicy68675555": {
@@ -2877,6 +2072,24 @@
2877
2072
  }
2878
2073
  ]
2879
2074
  },
2075
+ {
2076
+ "Action": "lambda:GetFunction",
2077
+ "Effect": "Allow",
2078
+ "Resource": [
2079
+ {
2080
+ "Fn::GetAtt": [
2081
+ "rootmailhostedzonedkimpropagationprovideriscompletehandlerB67C8E91",
2082
+ "Arn"
2083
+ ]
2084
+ },
2085
+ {
2086
+ "Fn::GetAtt": [
2087
+ "rootmailhostedzonedkimpropagationprovideroneventhandlerC59BDC16",
2088
+ "Arn"
2089
+ ]
2090
+ }
2091
+ ]
2092
+ },
2880
2093
  {
2881
2094
  "Action": "states:StartExecution",
2882
2095
  "Effect": "Allow",
@@ -2893,20 +2106,6 @@
2893
2106
  "Ref": "rootmailhostedzonedkimpropagationproviderframeworkonEventServiceRole5729BE95"
2894
2107
  }
2895
2108
  ]
2896
- },
2897
- "Metadata": {
2898
- "cdk_nag": {
2899
- "rules_to_suppress": [
2900
- {
2901
- "reason": "no service role restriction needed",
2902
- "id": "AwsSolutions-IAM4"
2903
- },
2904
- {
2905
- "reason": "wildcards are ok for the provider as the function has restrictions",
2906
- "id": "AwsSolutions-IAM5"
2907
- }
2908
- ]
2909
- }
2910
2109
  }
2911
2110
  },
2912
2111
  "rootmailhostedzonedkimpropagationproviderframeworkonEvent15357119": {
@@ -2916,7 +2115,7 @@
2916
2115
  "S3Bucket": {
2917
2116
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
2918
2117
  },
2919
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
2118
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
2920
2119
  },
2921
2120
  "Description": "AWS CDK resource provider framework - onEvent (RootmailIntegTestStack/rootmail.hosted-zone-dkim-propagation-provider/hosted-zone-dkim-propagation-provider)",
2922
2121
  "Environment": {
@@ -2939,78 +2138,26 @@
2939
2138
  }
2940
2139
  },
2941
2140
  "Handler": "framework.onEvent",
2141
+ "LoggingConfig": {
2142
+ "ApplicationLogLevel": "FATAL",
2143
+ "LogFormat": "JSON",
2144
+ "LogGroup": {
2145
+ "Ref": "rootmailhostedzonedkimpropagationproviderhostedzonedkimpropagationproviderloggroupFE0FB1AC"
2146
+ }
2147
+ },
2942
2148
  "Role": {
2943
2149
  "Fn::GetAtt": [
2944
2150
  "rootmailhostedzonedkimpropagationproviderframeworkonEventServiceRole5729BE95",
2945
2151
  "Arn"
2946
2152
  ]
2947
2153
  },
2948
- "Runtime": {
2949
- "Fn::FindInMap": [
2950
- "LatestNodeRuntimeMap",
2951
- {
2952
- "Ref": "AWS::Region"
2953
- },
2954
- "value"
2955
- ]
2956
- },
2154
+ "Runtime": "nodejs24.x",
2957
2155
  "Timeout": 900
2958
2156
  },
2959
2157
  "DependsOn": [
2960
2158
  "rootmailhostedzonedkimpropagationproviderframeworkonEventServiceRoleDefaultPolicy68675555",
2961
2159
  "rootmailhostedzonedkimpropagationproviderframeworkonEventServiceRole5729BE95"
2962
- ],
2963
- "Metadata": {
2964
- "cdk_nag": {
2965
- "rules_to_suppress": [
2966
- {
2967
- "reason": "no service role restriction needed",
2968
- "id": "AwsSolutions-IAM4"
2969
- },
2970
- {
2971
- "reason": "wildcards are ok for the provider as the function has restrictions",
2972
- "id": "AwsSolutions-IAM5"
2973
- }
2974
- ]
2975
- }
2976
- }
2977
- },
2978
- "rootmailhostedzonedkimpropagationproviderframeworkonEventLogRetention39EDE52F": {
2979
- "Type": "Custom::LogRetention",
2980
- "Properties": {
2981
- "ServiceToken": {
2982
- "Fn::GetAtt": [
2983
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
2984
- "Arn"
2985
- ]
2986
- },
2987
- "LogGroupName": {
2988
- "Fn::Join": [
2989
- "",
2990
- [
2991
- "/aws/lambda/",
2992
- {
2993
- "Ref": "rootmailhostedzonedkimpropagationproviderframeworkonEvent15357119"
2994
- }
2995
- ]
2996
- ]
2997
- },
2998
- "RetentionInDays": 1
2999
- },
3000
- "Metadata": {
3001
- "cdk_nag": {
3002
- "rules_to_suppress": [
3003
- {
3004
- "reason": "no service role restriction needed",
3005
- "id": "AwsSolutions-IAM4"
3006
- },
3007
- {
3008
- "reason": "wildcards are ok for the provider as the function has restrictions",
3009
- "id": "AwsSolutions-IAM5"
3010
- }
3011
- ]
3012
- }
3013
- }
2160
+ ]
3014
2161
  },
3015
2162
  "rootmailhostedzonedkimpropagationproviderframeworkisCompleteServiceRole9BABA5E5": {
3016
2163
  "Type": "AWS::IAM::Role",
@@ -3041,20 +2188,6 @@
3041
2188
  ]
3042
2189
  }
3043
2190
  ]
3044
- },
3045
- "Metadata": {
3046
- "cdk_nag": {
3047
- "rules_to_suppress": [
3048
- {
3049
- "reason": "no service role restriction needed",
3050
- "id": "AwsSolutions-IAM4"
3051
- },
3052
- {
3053
- "reason": "wildcards are ok for the provider as the function has restrictions",
3054
- "id": "AwsSolutions-IAM5"
3055
- }
3056
- ]
3057
- }
3058
2191
  }
3059
2192
  },
3060
2193
  "rootmailhostedzonedkimpropagationproviderframeworkisCompleteServiceRoleDefaultPolicy02D0AEA6": {
@@ -3107,6 +2240,24 @@
3107
2240
  ]
3108
2241
  }
3109
2242
  ]
2243
+ },
2244
+ {
2245
+ "Action": "lambda:GetFunction",
2246
+ "Effect": "Allow",
2247
+ "Resource": [
2248
+ {
2249
+ "Fn::GetAtt": [
2250
+ "rootmailhostedzonedkimpropagationprovideriscompletehandlerB67C8E91",
2251
+ "Arn"
2252
+ ]
2253
+ },
2254
+ {
2255
+ "Fn::GetAtt": [
2256
+ "rootmailhostedzonedkimpropagationprovideroneventhandlerC59BDC16",
2257
+ "Arn"
2258
+ ]
2259
+ }
2260
+ ]
3110
2261
  }
3111
2262
  ],
3112
2263
  "Version": "2012-10-17"
@@ -3117,20 +2268,6 @@
3117
2268
  "Ref": "rootmailhostedzonedkimpropagationproviderframeworkisCompleteServiceRole9BABA5E5"
3118
2269
  }
3119
2270
  ]
3120
- },
3121
- "Metadata": {
3122
- "cdk_nag": {
3123
- "rules_to_suppress": [
3124
- {
3125
- "reason": "no service role restriction needed",
3126
- "id": "AwsSolutions-IAM4"
3127
- },
3128
- {
3129
- "reason": "wildcards are ok for the provider as the function has restrictions",
3130
- "id": "AwsSolutions-IAM5"
3131
- }
3132
- ]
3133
- }
3134
2271
  }
3135
2272
  },
3136
2273
  "rootmailhostedzonedkimpropagationproviderframeworkisComplete165FE163": {
@@ -3140,7 +2277,7 @@
3140
2277
  "S3Bucket": {
3141
2278
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
3142
2279
  },
3143
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
2280
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
3144
2281
  },
3145
2282
  "Description": "AWS CDK resource provider framework - isComplete (RootmailIntegTestStack/rootmail.hosted-zone-dkim-propagation-provider/hosted-zone-dkim-propagation-provider)",
3146
2283
  "Environment": {
@@ -3160,78 +2297,26 @@
3160
2297
  }
3161
2298
  },
3162
2299
  "Handler": "framework.isComplete",
2300
+ "LoggingConfig": {
2301
+ "ApplicationLogLevel": "FATAL",
2302
+ "LogFormat": "JSON",
2303
+ "LogGroup": {
2304
+ "Ref": "rootmailhostedzonedkimpropagationproviderhostedzonedkimpropagationproviderloggroupFE0FB1AC"
2305
+ }
2306
+ },
3163
2307
  "Role": {
3164
2308
  "Fn::GetAtt": [
3165
2309
  "rootmailhostedzonedkimpropagationproviderframeworkisCompleteServiceRole9BABA5E5",
3166
2310
  "Arn"
3167
2311
  ]
3168
2312
  },
3169
- "Runtime": {
3170
- "Fn::FindInMap": [
3171
- "LatestNodeRuntimeMap",
3172
- {
3173
- "Ref": "AWS::Region"
3174
- },
3175
- "value"
3176
- ]
3177
- },
2313
+ "Runtime": "nodejs24.x",
3178
2314
  "Timeout": 900
3179
2315
  },
3180
2316
  "DependsOn": [
3181
2317
  "rootmailhostedzonedkimpropagationproviderframeworkisCompleteServiceRoleDefaultPolicy02D0AEA6",
3182
2318
  "rootmailhostedzonedkimpropagationproviderframeworkisCompleteServiceRole9BABA5E5"
3183
- ],
3184
- "Metadata": {
3185
- "cdk_nag": {
3186
- "rules_to_suppress": [
3187
- {
3188
- "reason": "no service role restriction needed",
3189
- "id": "AwsSolutions-IAM4"
3190
- },
3191
- {
3192
- "reason": "wildcards are ok for the provider as the function has restrictions",
3193
- "id": "AwsSolutions-IAM5"
3194
- }
3195
- ]
3196
- }
3197
- }
3198
- },
3199
- "rootmailhostedzonedkimpropagationproviderframeworkisCompleteLogRetentionF6AB8959": {
3200
- "Type": "Custom::LogRetention",
3201
- "Properties": {
3202
- "ServiceToken": {
3203
- "Fn::GetAtt": [
3204
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
3205
- "Arn"
3206
- ]
3207
- },
3208
- "LogGroupName": {
3209
- "Fn::Join": [
3210
- "",
3211
- [
3212
- "/aws/lambda/",
3213
- {
3214
- "Ref": "rootmailhostedzonedkimpropagationproviderframeworkisComplete165FE163"
3215
- }
3216
- ]
3217
- ]
3218
- },
3219
- "RetentionInDays": 1
3220
- },
3221
- "Metadata": {
3222
- "cdk_nag": {
3223
- "rules_to_suppress": [
3224
- {
3225
- "reason": "no service role restriction needed",
3226
- "id": "AwsSolutions-IAM4"
3227
- },
3228
- {
3229
- "reason": "wildcards are ok for the provider as the function has restrictions",
3230
- "id": "AwsSolutions-IAM5"
3231
- }
3232
- ]
3233
- }
3234
- }
2319
+ ]
3235
2320
  },
3236
2321
  "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleB169BF13": {
3237
2322
  "Type": "AWS::IAM::Role",
@@ -3262,20 +2347,6 @@
3262
2347
  ]
3263
2348
  }
3264
2349
  ]
3265
- },
3266
- "Metadata": {
3267
- "cdk_nag": {
3268
- "rules_to_suppress": [
3269
- {
3270
- "reason": "no service role restriction needed",
3271
- "id": "AwsSolutions-IAM4"
3272
- },
3273
- {
3274
- "reason": "wildcards are ok for the provider as the function has restrictions",
3275
- "id": "AwsSolutions-IAM5"
3276
- }
3277
- ]
3278
- }
3279
2350
  }
3280
2351
  },
3281
2352
  "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleDefaultPolicy2FF6168E": {
@@ -3328,6 +2399,24 @@
3328
2399
  ]
3329
2400
  }
3330
2401
  ]
2402
+ },
2403
+ {
2404
+ "Action": "lambda:GetFunction",
2405
+ "Effect": "Allow",
2406
+ "Resource": [
2407
+ {
2408
+ "Fn::GetAtt": [
2409
+ "rootmailhostedzonedkimpropagationprovideriscompletehandlerB67C8E91",
2410
+ "Arn"
2411
+ ]
2412
+ },
2413
+ {
2414
+ "Fn::GetAtt": [
2415
+ "rootmailhostedzonedkimpropagationprovideroneventhandlerC59BDC16",
2416
+ "Arn"
2417
+ ]
2418
+ }
2419
+ ]
3331
2420
  }
3332
2421
  ],
3333
2422
  "Version": "2012-10-17"
@@ -3338,20 +2427,6 @@
3338
2427
  "Ref": "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleB169BF13"
3339
2428
  }
3340
2429
  ]
3341
- },
3342
- "Metadata": {
3343
- "cdk_nag": {
3344
- "rules_to_suppress": [
3345
- {
3346
- "reason": "no service role restriction needed",
3347
- "id": "AwsSolutions-IAM4"
3348
- },
3349
- {
3350
- "reason": "wildcards are ok for the provider as the function has restrictions",
3351
- "id": "AwsSolutions-IAM5"
3352
- }
3353
- ]
3354
- }
3355
2430
  }
3356
2431
  },
3357
2432
  "rootmailhostedzonedkimpropagationproviderframeworkonTimeout7D8A73CD": {
@@ -3361,7 +2436,7 @@
3361
2436
  "S3Bucket": {
3362
2437
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
3363
2438
  },
3364
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
2439
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
3365
2440
  },
3366
2441
  "Description": "AWS CDK resource provider framework - onTimeout (RootmailIntegTestStack/rootmail.hosted-zone-dkim-propagation-provider/hosted-zone-dkim-propagation-provider)",
3367
2442
  "Environment": {
@@ -3381,78 +2456,26 @@
3381
2456
  }
3382
2457
  },
3383
2458
  "Handler": "framework.onTimeout",
3384
- "Role": {
3385
- "Fn::GetAtt": [
3386
- "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleB169BF13",
3387
- "Arn"
3388
- ]
3389
- },
3390
- "Runtime": {
3391
- "Fn::FindInMap": [
3392
- "LatestNodeRuntimeMap",
3393
- {
3394
- "Ref": "AWS::Region"
3395
- },
3396
- "value"
3397
- ]
3398
- },
3399
- "Timeout": 900
3400
- },
3401
- "DependsOn": [
3402
- "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleDefaultPolicy2FF6168E",
3403
- "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleB169BF13"
3404
- ],
3405
- "Metadata": {
3406
- "cdk_nag": {
3407
- "rules_to_suppress": [
3408
- {
3409
- "reason": "no service role restriction needed",
3410
- "id": "AwsSolutions-IAM4"
3411
- },
3412
- {
3413
- "reason": "wildcards are ok for the provider as the function has restrictions",
3414
- "id": "AwsSolutions-IAM5"
3415
- }
3416
- ]
3417
- }
3418
- }
3419
- },
3420
- "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutLogRetentionB2967E04": {
3421
- "Type": "Custom::LogRetention",
3422
- "Properties": {
3423
- "ServiceToken": {
2459
+ "LoggingConfig": {
2460
+ "ApplicationLogLevel": "FATAL",
2461
+ "LogFormat": "JSON",
2462
+ "LogGroup": {
2463
+ "Ref": "rootmailhostedzonedkimpropagationproviderhostedzonedkimpropagationproviderloggroupFE0FB1AC"
2464
+ }
2465
+ },
2466
+ "Role": {
3424
2467
  "Fn::GetAtt": [
3425
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
2468
+ "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleB169BF13",
3426
2469
  "Arn"
3427
2470
  ]
3428
2471
  },
3429
- "LogGroupName": {
3430
- "Fn::Join": [
3431
- "",
3432
- [
3433
- "/aws/lambda/",
3434
- {
3435
- "Ref": "rootmailhostedzonedkimpropagationproviderframeworkonTimeout7D8A73CD"
3436
- }
3437
- ]
3438
- ]
3439
- },
3440
- "RetentionInDays": 1
2472
+ "Runtime": "nodejs24.x",
2473
+ "Timeout": 900
3441
2474
  },
3442
- "Metadata": {
3443
- "cdk_nag": {
3444
- "rules_to_suppress": [
3445
- {
3446
- "reason": "no service role restriction needed",
3447
- "id": "AwsSolutions-IAM4"
3448
- },
3449
- {
3450
- "reason": "wildcards are ok for the provider as the function has restrictions",
3451
- "id": "AwsSolutions-IAM5"
3452
- }
3453
- ]
3454
- }
3455
- }
2475
+ "DependsOn": [
2476
+ "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleDefaultPolicy2FF6168E",
2477
+ "rootmailhostedzonedkimpropagationproviderframeworkonTimeoutServiceRoleB169BF13"
2478
+ ]
3456
2479
  },
3457
2480
  "rootmailhostedzonedkimpropagationproviderwaiterstatemachineRole40906579": {
3458
2481
  "Type": "AWS::IAM::Role",
@@ -3469,20 +2492,6 @@
3469
2492
  ],
3470
2493
  "Version": "2012-10-17"
3471
2494
  }
3472
- },
3473
- "Metadata": {
3474
- "cdk_nag": {
3475
- "rules_to_suppress": [
3476
- {
3477
- "reason": "no service role restriction needed",
3478
- "id": "AwsSolutions-IAM4"
3479
- },
3480
- {
3481
- "reason": "wildcards are ok for the provider as the function has restrictions",
3482
- "id": "AwsSolutions-IAM5"
3483
- }
3484
- ]
3485
- }
3486
2495
  }
3487
2496
  },
3488
2497
  "rootmailhostedzonedkimpropagationproviderwaiterstatemachineRoleDefaultPolicy70368CA0": {
@@ -3535,22 +2544,6 @@
3535
2544
  ]
3536
2545
  }
3537
2546
  ]
3538
- },
3539
- {
3540
- "Action": [
3541
- "logs:CreateLogDelivery",
3542
- "logs:CreateLogStream",
3543
- "logs:DeleteLogDelivery",
3544
- "logs:DescribeLogGroups",
3545
- "logs:DescribeResourcePolicies",
3546
- "logs:GetLogDelivery",
3547
- "logs:ListLogDeliveries",
3548
- "logs:PutLogEvents",
3549
- "logs:PutResourcePolicy",
3550
- "logs:UpdateLogDelivery"
3551
- ],
3552
- "Effect": "Allow",
3553
- "Resource": "*"
3554
2547
  }
3555
2548
  ],
3556
2549
  "Version": "2012-10-17"
@@ -3561,54 +2554,6 @@
3561
2554
  "Ref": "rootmailhostedzonedkimpropagationproviderwaiterstatemachineRole40906579"
3562
2555
  }
3563
2556
  ]
3564
- },
3565
- "Metadata": {
3566
- "cdk_nag": {
3567
- "rules_to_suppress": [
3568
- {
3569
- "reason": "no service role restriction needed",
3570
- "id": "AwsSolutions-IAM4"
3571
- },
3572
- {
3573
- "reason": "wildcards are ok for the provider as the function has restrictions",
3574
- "id": "AwsSolutions-IAM5"
3575
- }
3576
- ]
3577
- }
3578
- }
3579
- },
3580
- "rootmailhostedzonedkimpropagationproviderwaiterstatemachineLogGroup9CDB772B": {
3581
- "Type": "AWS::Logs::LogGroup",
3582
- "Properties": {
3583
- "LogGroupName": {
3584
- "Fn::Join": [
3585
- "",
3586
- [
3587
- "/aws/vendedlogs/states/waiter-state-machine-",
3588
- {
3589
- "Ref": "rootmailhostedzonedkimpropagationproviderframeworkisComplete165FE163"
3590
- },
3591
- "-c8475ff4cfa405647403a9effa67ebd6e9b6ff1a29"
3592
- ]
3593
- ]
3594
- },
3595
- "RetentionInDays": 731
3596
- },
3597
- "UpdateReplacePolicy": "Retain",
3598
- "DeletionPolicy": "Retain",
3599
- "Metadata": {
3600
- "cdk_nag": {
3601
- "rules_to_suppress": [
3602
- {
3603
- "reason": "no service role restriction needed",
3604
- "id": "AwsSolutions-IAM4"
3605
- },
3606
- {
3607
- "reason": "wildcards are ok for the provider as the function has restrictions",
3608
- "id": "AwsSolutions-IAM5"
3609
- }
3610
- ]
3611
- }
3612
2557
  }
3613
2558
  },
3614
2559
  "rootmailhostedzonedkimpropagationproviderwaiterstatemachine2C629ADB": {
@@ -3636,22 +2581,6 @@
3636
2581
  ]
3637
2582
  ]
3638
2583
  },
3639
- "LoggingConfiguration": {
3640
- "Destinations": [
3641
- {
3642
- "CloudWatchLogsLogGroup": {
3643
- "LogGroupArn": {
3644
- "Fn::GetAtt": [
3645
- "rootmailhostedzonedkimpropagationproviderwaiterstatemachineLogGroup9CDB772B",
3646
- "Arn"
3647
- ]
3648
- }
3649
- }
3650
- }
3651
- ],
3652
- "IncludeExecutionData": false,
3653
- "Level": "ERROR"
3654
- },
3655
2584
  "RoleArn": {
3656
2585
  "Fn::GetAtt": [
3657
2586
  "rootmailhostedzonedkimpropagationproviderwaiterstatemachineRole40906579",
@@ -3662,21 +2591,7 @@
3662
2591
  "DependsOn": [
3663
2592
  "rootmailhostedzonedkimpropagationproviderwaiterstatemachineRoleDefaultPolicy70368CA0",
3664
2593
  "rootmailhostedzonedkimpropagationproviderwaiterstatemachineRole40906579"
3665
- ],
3666
- "Metadata": {
3667
- "cdk_nag": {
3668
- "rules_to_suppress": [
3669
- {
3670
- "reason": "no service role restriction needed",
3671
- "id": "AwsSolutions-IAM4"
3672
- },
3673
- {
3674
- "reason": "wildcards are ok for the provider as the function has restrictions",
3675
- "id": "AwsSolutions-IAM5"
3676
- }
3677
- ]
3678
- }
3679
- }
2594
+ ]
3680
2595
  },
3681
2596
  "rootmailsesreceiptrulesetactivationproviderSesReceiptRuleSetActivationCustomResourceRoleA5C4F5B4": {
3682
2597
  "Type": "AWS::IAM::Role",
@@ -3707,20 +2622,6 @@
3707
2622
  ]
3708
2623
  }
3709
2624
  ]
3710
- },
3711
- "Metadata": {
3712
- "cdk_nag": {
3713
- "rules_to_suppress": [
3714
- {
3715
- "reason": "no service role restriction needed",
3716
- "id": "AwsSolutions-IAM4"
3717
- },
3718
- {
3719
- "reason": "wildcards are ok for the provider as the function has restrictions",
3720
- "id": "AwsSolutions-IAM5"
3721
- }
3722
- ]
3723
- }
3724
2625
  }
3725
2626
  },
3726
2627
  "rootmailsesreceiptrulesetactivationproviderSesReceiptRuleSetActivationCustomResourceRoleDefaultPolicy92E90A6D": {
@@ -3748,22 +2649,16 @@
3748
2649
  "Ref": "rootmailsesreceiptrulesetactivationproviderSesReceiptRuleSetActivationCustomResourceRoleA5C4F5B4"
3749
2650
  }
3750
2651
  ]
3751
- },
3752
- "Metadata": {
3753
- "cdk_nag": {
3754
- "rules_to_suppress": [
3755
- {
3756
- "reason": "no service role restriction needed",
3757
- "id": "AwsSolutions-IAM4"
3758
- },
3759
- {
3760
- "reason": "wildcards are ok for the provider as the function has restrictions",
3761
- "id": "AwsSolutions-IAM5"
3762
- }
3763
- ]
3764
- }
3765
2652
  }
3766
2653
  },
2654
+ "rootmailsesreceiptrulesetactivationprovideroneventhandlerloggroupA8D38A9B": {
2655
+ "Type": "AWS::Logs::LogGroup",
2656
+ "Properties": {
2657
+ "RetentionInDays": 1
2658
+ },
2659
+ "UpdateReplacePolicy": "Retain",
2660
+ "DeletionPolicy": "Retain"
2661
+ },
3767
2662
  "rootmailsesreceiptrulesetactivationprovideroneventhandler8E245877": {
3768
2663
  "Type": "AWS::Lambda::Function",
3769
2664
  "Properties": {
@@ -3774,70 +2669,32 @@
3774
2669
  "S3Key": "be7d56b509650f7f97c406a745d8335992726086995e4cb4aaf50417ab40e803.zip"
3775
2670
  },
3776
2671
  "Handler": "index.handler",
2672
+ "LoggingConfig": {
2673
+ "LogGroup": {
2674
+ "Ref": "rootmailsesreceiptrulesetactivationprovideroneventhandlerloggroupA8D38A9B"
2675
+ }
2676
+ },
3777
2677
  "Role": {
3778
2678
  "Fn::GetAtt": [
3779
2679
  "rootmailsesreceiptrulesetactivationproviderSesReceiptRuleSetActivationCustomResourceRoleA5C4F5B4",
3780
2680
  "Arn"
3781
2681
  ]
3782
2682
  },
3783
- "Runtime": "nodejs18.x",
2683
+ "Runtime": "nodejs24.x",
3784
2684
  "Timeout": 30
3785
2685
  },
3786
2686
  "DependsOn": [
3787
2687
  "rootmailsesreceiptrulesetactivationproviderSesReceiptRuleSetActivationCustomResourceRoleDefaultPolicy92E90A6D",
3788
2688
  "rootmailsesreceiptrulesetactivationproviderSesReceiptRuleSetActivationCustomResourceRoleA5C4F5B4"
3789
- ],
3790
- "Metadata": {
3791
- "cdk_nag": {
3792
- "rules_to_suppress": [
3793
- {
3794
- "reason": "no service role restriction needed",
3795
- "id": "AwsSolutions-IAM4"
3796
- },
3797
- {
3798
- "reason": "wildcards are ok for the provider as the function has restrictions",
3799
- "id": "AwsSolutions-IAM5"
3800
- }
3801
- ]
3802
- }
3803
- }
2689
+ ]
3804
2690
  },
3805
- "rootmailsesreceiptrulesetactivationprovideroneventhandlerLogRetentionFD6A9185": {
3806
- "Type": "Custom::LogRetention",
2691
+ "rootmailsesreceiptrulesetactivationprovideriscompletehandlerloggroupB30DB696": {
2692
+ "Type": "AWS::Logs::LogGroup",
3807
2693
  "Properties": {
3808
- "ServiceToken": {
3809
- "Fn::GetAtt": [
3810
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
3811
- "Arn"
3812
- ]
3813
- },
3814
- "LogGroupName": {
3815
- "Fn::Join": [
3816
- "",
3817
- [
3818
- "/aws/lambda/",
3819
- {
3820
- "Ref": "rootmailsesreceiptrulesetactivationprovideroneventhandler8E245877"
3821
- }
3822
- ]
3823
- ]
3824
- },
3825
2694
  "RetentionInDays": 1
3826
2695
  },
3827
- "Metadata": {
3828
- "cdk_nag": {
3829
- "rules_to_suppress": [
3830
- {
3831
- "reason": "no service role restriction needed",
3832
- "id": "AwsSolutions-IAM4"
3833
- },
3834
- {
3835
- "reason": "wildcards are ok for the provider as the function has restrictions",
3836
- "id": "AwsSolutions-IAM5"
3837
- }
3838
- ]
3839
- }
3840
- }
2696
+ "UpdateReplacePolicy": "Retain",
2697
+ "DeletionPolicy": "Retain"
3841
2698
  },
3842
2699
  "rootmailsesreceiptrulesetactivationprovideriscompletehandlerServiceRole9D6CAFC0": {
3843
2700
  "Type": "AWS::IAM::Role",
@@ -3868,20 +2725,6 @@
3868
2725
  ]
3869
2726
  }
3870
2727
  ]
3871
- },
3872
- "Metadata": {
3873
- "cdk_nag": {
3874
- "rules_to_suppress": [
3875
- {
3876
- "reason": "no service role restriction needed",
3877
- "id": "AwsSolutions-IAM4"
3878
- },
3879
- {
3880
- "reason": "wildcards are ok for the provider as the function has restrictions",
3881
- "id": "AwsSolutions-IAM5"
3882
- }
3883
- ]
3884
- }
3885
2728
  }
3886
2729
  },
3887
2730
  "rootmailsesreceiptrulesetactivationprovideriscompletehandlerServiceRoleDefaultPolicyFB99DF60": {
@@ -3928,20 +2771,6 @@
3928
2771
  "Ref": "rootmailsesreceiptrulesetactivationprovideriscompletehandlerServiceRole9D6CAFC0"
3929
2772
  }
3930
2773
  ]
3931
- },
3932
- "Metadata": {
3933
- "cdk_nag": {
3934
- "rules_to_suppress": [
3935
- {
3936
- "reason": "no service role restriction needed",
3937
- "id": "AwsSolutions-IAM4"
3938
- },
3939
- {
3940
- "reason": "wildcards are ok for the provider as the function has restrictions",
3941
- "id": "AwsSolutions-IAM5"
3942
- }
3943
- ]
3944
- }
3945
2774
  }
3946
2775
  },
3947
2776
  "rootmailsesreceiptrulesetactivationprovideriscompletehandler676C1A14": {
@@ -3954,70 +2783,32 @@
3954
2783
  "S3Key": "78b64aaf9aebb4eacbdd42197be10e9d5894360a642f7dcf79aeb84bb3552377.zip"
3955
2784
  },
3956
2785
  "Handler": "index.handler",
2786
+ "LoggingConfig": {
2787
+ "LogGroup": {
2788
+ "Ref": "rootmailsesreceiptrulesetactivationprovideriscompletehandlerloggroupB30DB696"
2789
+ }
2790
+ },
3957
2791
  "Role": {
3958
2792
  "Fn::GetAtt": [
3959
2793
  "rootmailsesreceiptrulesetactivationprovideriscompletehandlerServiceRole9D6CAFC0",
3960
2794
  "Arn"
3961
2795
  ]
3962
2796
  },
3963
- "Runtime": "nodejs18.x",
2797
+ "Runtime": "nodejs24.x",
3964
2798
  "Timeout": 30
3965
2799
  },
3966
2800
  "DependsOn": [
3967
2801
  "rootmailsesreceiptrulesetactivationprovideriscompletehandlerServiceRoleDefaultPolicyFB99DF60",
3968
2802
  "rootmailsesreceiptrulesetactivationprovideriscompletehandlerServiceRole9D6CAFC0"
3969
- ],
3970
- "Metadata": {
3971
- "cdk_nag": {
3972
- "rules_to_suppress": [
3973
- {
3974
- "reason": "no service role restriction needed",
3975
- "id": "AwsSolutions-IAM4"
3976
- },
3977
- {
3978
- "reason": "wildcards are ok for the provider as the function has restrictions",
3979
- "id": "AwsSolutions-IAM5"
3980
- }
3981
- ]
3982
- }
3983
- }
2803
+ ]
3984
2804
  },
3985
- "rootmailsesreceiptrulesetactivationprovideriscompletehandlerLogRetention03F74C63": {
3986
- "Type": "Custom::LogRetention",
2805
+ "rootmailsesreceiptrulesetactivationprovidersesreceiptrulesetactivationproviderloggroup8F6A5203": {
2806
+ "Type": "AWS::Logs::LogGroup",
3987
2807
  "Properties": {
3988
- "ServiceToken": {
3989
- "Fn::GetAtt": [
3990
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
3991
- "Arn"
3992
- ]
3993
- },
3994
- "LogGroupName": {
3995
- "Fn::Join": [
3996
- "",
3997
- [
3998
- "/aws/lambda/",
3999
- {
4000
- "Ref": "rootmailsesreceiptrulesetactivationprovideriscompletehandler676C1A14"
4001
- }
4002
- ]
4003
- ]
4004
- },
4005
2808
  "RetentionInDays": 1
4006
2809
  },
4007
- "Metadata": {
4008
- "cdk_nag": {
4009
- "rules_to_suppress": [
4010
- {
4011
- "reason": "no service role restriction needed",
4012
- "id": "AwsSolutions-IAM4"
4013
- },
4014
- {
4015
- "reason": "wildcards are ok for the provider as the function has restrictions",
4016
- "id": "AwsSolutions-IAM5"
4017
- }
4018
- ]
4019
- }
4020
- }
2810
+ "UpdateReplacePolicy": "Retain",
2811
+ "DeletionPolicy": "Retain"
4021
2812
  },
4022
2813
  "rootmailsesreceiptrulesetactivationproviderframeworkonEventServiceRoleB5050EE6": {
4023
2814
  "Type": "AWS::IAM::Role",
@@ -4048,20 +2839,6 @@
4048
2839
  ]
4049
2840
  }
4050
2841
  ]
4051
- },
4052
- "Metadata": {
4053
- "cdk_nag": {
4054
- "rules_to_suppress": [
4055
- {
4056
- "reason": "no service role restriction needed",
4057
- "id": "AwsSolutions-IAM4"
4058
- },
4059
- {
4060
- "reason": "wildcards are ok for the provider as the function has restrictions",
4061
- "id": "AwsSolutions-IAM5"
4062
- }
4063
- ]
4064
- }
4065
2842
  }
4066
2843
  },
4067
2844
  "rootmailsesreceiptrulesetactivationproviderframeworkonEventServiceRoleDefaultPolicy11FA01A0": {
@@ -4115,6 +2892,24 @@
4115
2892
  }
4116
2893
  ]
4117
2894
  },
2895
+ {
2896
+ "Action": "lambda:GetFunction",
2897
+ "Effect": "Allow",
2898
+ "Resource": [
2899
+ {
2900
+ "Fn::GetAtt": [
2901
+ "rootmailsesreceiptrulesetactivationprovideriscompletehandler676C1A14",
2902
+ "Arn"
2903
+ ]
2904
+ },
2905
+ {
2906
+ "Fn::GetAtt": [
2907
+ "rootmailsesreceiptrulesetactivationprovideroneventhandler8E245877",
2908
+ "Arn"
2909
+ ]
2910
+ }
2911
+ ]
2912
+ },
4118
2913
  {
4119
2914
  "Action": "states:StartExecution",
4120
2915
  "Effect": "Allow",
@@ -4131,20 +2926,6 @@
4131
2926
  "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkonEventServiceRoleB5050EE6"
4132
2927
  }
4133
2928
  ]
4134
- },
4135
- "Metadata": {
4136
- "cdk_nag": {
4137
- "rules_to_suppress": [
4138
- {
4139
- "reason": "no service role restriction needed",
4140
- "id": "AwsSolutions-IAM4"
4141
- },
4142
- {
4143
- "reason": "wildcards are ok for the provider as the function has restrictions",
4144
- "id": "AwsSolutions-IAM5"
4145
- }
4146
- ]
4147
- }
4148
2929
  }
4149
2930
  },
4150
2931
  "rootmailsesreceiptrulesetactivationproviderframeworkonEventC514B5CD": {
@@ -4154,7 +2935,7 @@
4154
2935
  "S3Bucket": {
4155
2936
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
4156
2937
  },
4157
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
2938
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
4158
2939
  },
4159
2940
  "Description": "AWS CDK resource provider framework - onEvent (RootmailIntegTestStack/rootmail.ses-receipt-ruleset-activation-provider/ses-receipt-ruleset-activation-provider)",
4160
2941
  "Environment": {
@@ -4177,78 +2958,26 @@
4177
2958
  }
4178
2959
  },
4179
2960
  "Handler": "framework.onEvent",
2961
+ "LoggingConfig": {
2962
+ "ApplicationLogLevel": "FATAL",
2963
+ "LogFormat": "JSON",
2964
+ "LogGroup": {
2965
+ "Ref": "rootmailsesreceiptrulesetactivationprovidersesreceiptrulesetactivationproviderloggroup8F6A5203"
2966
+ }
2967
+ },
4180
2968
  "Role": {
4181
2969
  "Fn::GetAtt": [
4182
2970
  "rootmailsesreceiptrulesetactivationproviderframeworkonEventServiceRoleB5050EE6",
4183
2971
  "Arn"
4184
2972
  ]
4185
2973
  },
4186
- "Runtime": {
4187
- "Fn::FindInMap": [
4188
- "LatestNodeRuntimeMap",
4189
- {
4190
- "Ref": "AWS::Region"
4191
- },
4192
- "value"
4193
- ]
4194
- },
2974
+ "Runtime": "nodejs24.x",
4195
2975
  "Timeout": 900
4196
2976
  },
4197
2977
  "DependsOn": [
4198
2978
  "rootmailsesreceiptrulesetactivationproviderframeworkonEventServiceRoleDefaultPolicy11FA01A0",
4199
2979
  "rootmailsesreceiptrulesetactivationproviderframeworkonEventServiceRoleB5050EE6"
4200
- ],
4201
- "Metadata": {
4202
- "cdk_nag": {
4203
- "rules_to_suppress": [
4204
- {
4205
- "reason": "no service role restriction needed",
4206
- "id": "AwsSolutions-IAM4"
4207
- },
4208
- {
4209
- "reason": "wildcards are ok for the provider as the function has restrictions",
4210
- "id": "AwsSolutions-IAM5"
4211
- }
4212
- ]
4213
- }
4214
- }
4215
- },
4216
- "rootmailsesreceiptrulesetactivationproviderframeworkonEventLogRetentionA6742D46": {
4217
- "Type": "Custom::LogRetention",
4218
- "Properties": {
4219
- "ServiceToken": {
4220
- "Fn::GetAtt": [
4221
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
4222
- "Arn"
4223
- ]
4224
- },
4225
- "LogGroupName": {
4226
- "Fn::Join": [
4227
- "",
4228
- [
4229
- "/aws/lambda/",
4230
- {
4231
- "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkonEventC514B5CD"
4232
- }
4233
- ]
4234
- ]
4235
- },
4236
- "RetentionInDays": 1
4237
- },
4238
- "Metadata": {
4239
- "cdk_nag": {
4240
- "rules_to_suppress": [
4241
- {
4242
- "reason": "no service role restriction needed",
4243
- "id": "AwsSolutions-IAM4"
4244
- },
4245
- {
4246
- "reason": "wildcards are ok for the provider as the function has restrictions",
4247
- "id": "AwsSolutions-IAM5"
4248
- }
4249
- ]
4250
- }
4251
- }
2980
+ ]
4252
2981
  },
4253
2982
  "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteServiceRoleCFD6EE46": {
4254
2983
  "Type": "AWS::IAM::Role",
@@ -4279,20 +3008,6 @@
4279
3008
  ]
4280
3009
  }
4281
3010
  ]
4282
- },
4283
- "Metadata": {
4284
- "cdk_nag": {
4285
- "rules_to_suppress": [
4286
- {
4287
- "reason": "no service role restriction needed",
4288
- "id": "AwsSolutions-IAM4"
4289
- },
4290
- {
4291
- "reason": "wildcards are ok for the provider as the function has restrictions",
4292
- "id": "AwsSolutions-IAM5"
4293
- }
4294
- ]
4295
- }
4296
3011
  }
4297
3012
  },
4298
3013
  "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteServiceRoleDefaultPolicy8A8828E7": {
@@ -4345,6 +3060,24 @@
4345
3060
  ]
4346
3061
  }
4347
3062
  ]
3063
+ },
3064
+ {
3065
+ "Action": "lambda:GetFunction",
3066
+ "Effect": "Allow",
3067
+ "Resource": [
3068
+ {
3069
+ "Fn::GetAtt": [
3070
+ "rootmailsesreceiptrulesetactivationprovideriscompletehandler676C1A14",
3071
+ "Arn"
3072
+ ]
3073
+ },
3074
+ {
3075
+ "Fn::GetAtt": [
3076
+ "rootmailsesreceiptrulesetactivationprovideroneventhandler8E245877",
3077
+ "Arn"
3078
+ ]
3079
+ }
3080
+ ]
4348
3081
  }
4349
3082
  ],
4350
3083
  "Version": "2012-10-17"
@@ -4355,20 +3088,6 @@
4355
3088
  "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteServiceRoleCFD6EE46"
4356
3089
  }
4357
3090
  ]
4358
- },
4359
- "Metadata": {
4360
- "cdk_nag": {
4361
- "rules_to_suppress": [
4362
- {
4363
- "reason": "no service role restriction needed",
4364
- "id": "AwsSolutions-IAM4"
4365
- },
4366
- {
4367
- "reason": "wildcards are ok for the provider as the function has restrictions",
4368
- "id": "AwsSolutions-IAM5"
4369
- }
4370
- ]
4371
- }
4372
3091
  }
4373
3092
  },
4374
3093
  "rootmailsesreceiptrulesetactivationproviderframeworkisComplete17519146": {
@@ -4378,7 +3097,7 @@
4378
3097
  "S3Bucket": {
4379
3098
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
4380
3099
  },
4381
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
3100
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
4382
3101
  },
4383
3102
  "Description": "AWS CDK resource provider framework - isComplete (RootmailIntegTestStack/rootmail.ses-receipt-ruleset-activation-provider/ses-receipt-ruleset-activation-provider)",
4384
3103
  "Environment": {
@@ -4398,78 +3117,26 @@
4398
3117
  }
4399
3118
  },
4400
3119
  "Handler": "framework.isComplete",
3120
+ "LoggingConfig": {
3121
+ "ApplicationLogLevel": "FATAL",
3122
+ "LogFormat": "JSON",
3123
+ "LogGroup": {
3124
+ "Ref": "rootmailsesreceiptrulesetactivationprovidersesreceiptrulesetactivationproviderloggroup8F6A5203"
3125
+ }
3126
+ },
4401
3127
  "Role": {
4402
3128
  "Fn::GetAtt": [
4403
3129
  "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteServiceRoleCFD6EE46",
4404
3130
  "Arn"
4405
3131
  ]
4406
3132
  },
4407
- "Runtime": {
4408
- "Fn::FindInMap": [
4409
- "LatestNodeRuntimeMap",
4410
- {
4411
- "Ref": "AWS::Region"
4412
- },
4413
- "value"
4414
- ]
4415
- },
3133
+ "Runtime": "nodejs24.x",
4416
3134
  "Timeout": 900
4417
3135
  },
4418
3136
  "DependsOn": [
4419
3137
  "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteServiceRoleDefaultPolicy8A8828E7",
4420
3138
  "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteServiceRoleCFD6EE46"
4421
- ],
4422
- "Metadata": {
4423
- "cdk_nag": {
4424
- "rules_to_suppress": [
4425
- {
4426
- "reason": "no service role restriction needed",
4427
- "id": "AwsSolutions-IAM4"
4428
- },
4429
- {
4430
- "reason": "wildcards are ok for the provider as the function has restrictions",
4431
- "id": "AwsSolutions-IAM5"
4432
- }
4433
- ]
4434
- }
4435
- }
4436
- },
4437
- "rootmailsesreceiptrulesetactivationproviderframeworkisCompleteLogRetention13DDD3A2": {
4438
- "Type": "Custom::LogRetention",
4439
- "Properties": {
4440
- "ServiceToken": {
4441
- "Fn::GetAtt": [
4442
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
4443
- "Arn"
4444
- ]
4445
- },
4446
- "LogGroupName": {
4447
- "Fn::Join": [
4448
- "",
4449
- [
4450
- "/aws/lambda/",
4451
- {
4452
- "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkisComplete17519146"
4453
- }
4454
- ]
4455
- ]
4456
- },
4457
- "RetentionInDays": 1
4458
- },
4459
- "Metadata": {
4460
- "cdk_nag": {
4461
- "rules_to_suppress": [
4462
- {
4463
- "reason": "no service role restriction needed",
4464
- "id": "AwsSolutions-IAM4"
4465
- },
4466
- {
4467
- "reason": "wildcards are ok for the provider as the function has restrictions",
4468
- "id": "AwsSolutions-IAM5"
4469
- }
4470
- ]
4471
- }
4472
- }
3139
+ ]
4473
3140
  },
4474
3141
  "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutServiceRole845C2519": {
4475
3142
  "Type": "AWS::IAM::Role",
@@ -4500,20 +3167,6 @@
4500
3167
  ]
4501
3168
  }
4502
3169
  ]
4503
- },
4504
- "Metadata": {
4505
- "cdk_nag": {
4506
- "rules_to_suppress": [
4507
- {
4508
- "reason": "no service role restriction needed",
4509
- "id": "AwsSolutions-IAM4"
4510
- },
4511
- {
4512
- "reason": "wildcards are ok for the provider as the function has restrictions",
4513
- "id": "AwsSolutions-IAM5"
4514
- }
4515
- ]
4516
- }
4517
3170
  }
4518
3171
  },
4519
3172
  "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutServiceRoleDefaultPolicy8A4A1F2A": {
@@ -4566,6 +3219,24 @@
4566
3219
  ]
4567
3220
  }
4568
3221
  ]
3222
+ },
3223
+ {
3224
+ "Action": "lambda:GetFunction",
3225
+ "Effect": "Allow",
3226
+ "Resource": [
3227
+ {
3228
+ "Fn::GetAtt": [
3229
+ "rootmailsesreceiptrulesetactivationprovideriscompletehandler676C1A14",
3230
+ "Arn"
3231
+ ]
3232
+ },
3233
+ {
3234
+ "Fn::GetAtt": [
3235
+ "rootmailsesreceiptrulesetactivationprovideroneventhandler8E245877",
3236
+ "Arn"
3237
+ ]
3238
+ }
3239
+ ]
4569
3240
  }
4570
3241
  ],
4571
3242
  "Version": "2012-10-17"
@@ -4576,20 +3247,6 @@
4576
3247
  "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutServiceRole845C2519"
4577
3248
  }
4578
3249
  ]
4579
- },
4580
- "Metadata": {
4581
- "cdk_nag": {
4582
- "rules_to_suppress": [
4583
- {
4584
- "reason": "no service role restriction needed",
4585
- "id": "AwsSolutions-IAM4"
4586
- },
4587
- {
4588
- "reason": "wildcards are ok for the provider as the function has restrictions",
4589
- "id": "AwsSolutions-IAM5"
4590
- }
4591
- ]
4592
- }
4593
3250
  }
4594
3251
  },
4595
3252
  "rootmailsesreceiptrulesetactivationproviderframeworkonTimeout85CF91B9": {
@@ -4599,7 +3256,7 @@
4599
3256
  "S3Bucket": {
4600
3257
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
4601
3258
  },
4602
- "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
3259
+ "S3Key": "e16ffb3b34af185b8b30c88fdb19faa13b6c42bb38580485c4e84b384ee48b63.zip"
4603
3260
  },
4604
3261
  "Description": "AWS CDK resource provider framework - onTimeout (RootmailIntegTestStack/rootmail.ses-receipt-ruleset-activation-provider/ses-receipt-ruleset-activation-provider)",
4605
3262
  "Environment": {
@@ -4619,78 +3276,26 @@
4619
3276
  }
4620
3277
  },
4621
3278
  "Handler": "framework.onTimeout",
3279
+ "LoggingConfig": {
3280
+ "ApplicationLogLevel": "FATAL",
3281
+ "LogFormat": "JSON",
3282
+ "LogGroup": {
3283
+ "Ref": "rootmailsesreceiptrulesetactivationprovidersesreceiptrulesetactivationproviderloggroup8F6A5203"
3284
+ }
3285
+ },
4622
3286
  "Role": {
4623
3287
  "Fn::GetAtt": [
4624
3288
  "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutServiceRole845C2519",
4625
3289
  "Arn"
4626
3290
  ]
4627
3291
  },
4628
- "Runtime": {
4629
- "Fn::FindInMap": [
4630
- "LatestNodeRuntimeMap",
4631
- {
4632
- "Ref": "AWS::Region"
4633
- },
4634
- "value"
4635
- ]
4636
- },
3292
+ "Runtime": "nodejs24.x",
4637
3293
  "Timeout": 900
4638
3294
  },
4639
3295
  "DependsOn": [
4640
3296
  "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutServiceRoleDefaultPolicy8A4A1F2A",
4641
3297
  "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutServiceRole845C2519"
4642
- ],
4643
- "Metadata": {
4644
- "cdk_nag": {
4645
- "rules_to_suppress": [
4646
- {
4647
- "reason": "no service role restriction needed",
4648
- "id": "AwsSolutions-IAM4"
4649
- },
4650
- {
4651
- "reason": "wildcards are ok for the provider as the function has restrictions",
4652
- "id": "AwsSolutions-IAM5"
4653
- }
4654
- ]
4655
- }
4656
- }
4657
- },
4658
- "rootmailsesreceiptrulesetactivationproviderframeworkonTimeoutLogRetention5763AF42": {
4659
- "Type": "Custom::LogRetention",
4660
- "Properties": {
4661
- "ServiceToken": {
4662
- "Fn::GetAtt": [
4663
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
4664
- "Arn"
4665
- ]
4666
- },
4667
- "LogGroupName": {
4668
- "Fn::Join": [
4669
- "",
4670
- [
4671
- "/aws/lambda/",
4672
- {
4673
- "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkonTimeout85CF91B9"
4674
- }
4675
- ]
4676
- ]
4677
- },
4678
- "RetentionInDays": 1
4679
- },
4680
- "Metadata": {
4681
- "cdk_nag": {
4682
- "rules_to_suppress": [
4683
- {
4684
- "reason": "no service role restriction needed",
4685
- "id": "AwsSolutions-IAM4"
4686
- },
4687
- {
4688
- "reason": "wildcards are ok for the provider as the function has restrictions",
4689
- "id": "AwsSolutions-IAM5"
4690
- }
4691
- ]
4692
- }
4693
- }
3298
+ ]
4694
3299
  },
4695
3300
  "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineRole069EB2EA": {
4696
3301
  "Type": "AWS::IAM::Role",
@@ -4707,20 +3312,6 @@
4707
3312
  ],
4708
3313
  "Version": "2012-10-17"
4709
3314
  }
4710
- },
4711
- "Metadata": {
4712
- "cdk_nag": {
4713
- "rules_to_suppress": [
4714
- {
4715
- "reason": "no service role restriction needed",
4716
- "id": "AwsSolutions-IAM4"
4717
- },
4718
- {
4719
- "reason": "wildcards are ok for the provider as the function has restrictions",
4720
- "id": "AwsSolutions-IAM5"
4721
- }
4722
- ]
4723
- }
4724
3315
  }
4725
3316
  },
4726
3317
  "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineRoleDefaultPolicy64767BAC": {
@@ -4773,22 +3364,6 @@
4773
3364
  ]
4774
3365
  }
4775
3366
  ]
4776
- },
4777
- {
4778
- "Action": [
4779
- "logs:CreateLogDelivery",
4780
- "logs:CreateLogStream",
4781
- "logs:DeleteLogDelivery",
4782
- "logs:DescribeLogGroups",
4783
- "logs:DescribeResourcePolicies",
4784
- "logs:GetLogDelivery",
4785
- "logs:ListLogDeliveries",
4786
- "logs:PutLogEvents",
4787
- "logs:PutResourcePolicy",
4788
- "logs:UpdateLogDelivery"
4789
- ],
4790
- "Effect": "Allow",
4791
- "Resource": "*"
4792
3367
  }
4793
3368
  ],
4794
3369
  "Version": "2012-10-17"
@@ -4799,54 +3374,6 @@
4799
3374
  "Ref": "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineRole069EB2EA"
4800
3375
  }
4801
3376
  ]
4802
- },
4803
- "Metadata": {
4804
- "cdk_nag": {
4805
- "rules_to_suppress": [
4806
- {
4807
- "reason": "no service role restriction needed",
4808
- "id": "AwsSolutions-IAM4"
4809
- },
4810
- {
4811
- "reason": "wildcards are ok for the provider as the function has restrictions",
4812
- "id": "AwsSolutions-IAM5"
4813
- }
4814
- ]
4815
- }
4816
- }
4817
- },
4818
- "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineLogGroup91D50937": {
4819
- "Type": "AWS::Logs::LogGroup",
4820
- "Properties": {
4821
- "LogGroupName": {
4822
- "Fn::Join": [
4823
- "",
4824
- [
4825
- "/aws/vendedlogs/states/waiter-state-machine-",
4826
- {
4827
- "Ref": "rootmailsesreceiptrulesetactivationproviderframeworkisComplete17519146"
4828
- },
4829
- "-c835847d33488db0e9cc733c354fb0ac44503af5c9"
4830
- ]
4831
- ]
4832
- },
4833
- "RetentionInDays": 731
4834
- },
4835
- "UpdateReplacePolicy": "Retain",
4836
- "DeletionPolicy": "Retain",
4837
- "Metadata": {
4838
- "cdk_nag": {
4839
- "rules_to_suppress": [
4840
- {
4841
- "reason": "no service role restriction needed",
4842
- "id": "AwsSolutions-IAM4"
4843
- },
4844
- {
4845
- "reason": "wildcards are ok for the provider as the function has restrictions",
4846
- "id": "AwsSolutions-IAM5"
4847
- }
4848
- ]
4849
- }
4850
3377
  }
4851
3378
  },
4852
3379
  "rootmailsesreceiptrulesetactivationproviderwaiterstatemachine93794458": {
@@ -4874,22 +3401,6 @@
4874
3401
  ]
4875
3402
  ]
4876
3403
  },
4877
- "LoggingConfiguration": {
4878
- "Destinations": [
4879
- {
4880
- "CloudWatchLogsLogGroup": {
4881
- "LogGroupArn": {
4882
- "Fn::GetAtt": [
4883
- "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineLogGroup91D50937",
4884
- "Arn"
4885
- ]
4886
- }
4887
- }
4888
- }
4889
- ],
4890
- "IncludeExecutionData": false,
4891
- "Level": "ERROR"
4892
- },
4893
3404
  "RoleArn": {
4894
3405
  "Fn::GetAtt": [
4895
3406
  "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineRole069EB2EA",
@@ -4900,21 +3411,15 @@
4900
3411
  "DependsOn": [
4901
3412
  "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineRoleDefaultPolicy64767BAC",
4902
3413
  "rootmailsesreceiptrulesetactivationproviderwaiterstatemachineRole069EB2EA"
4903
- ],
4904
- "Metadata": {
4905
- "cdk_nag": {
4906
- "rules_to_suppress": [
4907
- {
4908
- "reason": "no service role restriction needed",
4909
- "id": "AwsSolutions-IAM4"
4910
- },
4911
- {
4912
- "reason": "wildcards are ok for the provider as the function has restrictions",
4913
- "id": "AwsSolutions-IAM5"
4914
- }
4915
- ]
4916
- }
4917
- }
3414
+ ]
3415
+ },
3416
+ "sendemailhandlerloggroup145800B9": {
3417
+ "Type": "AWS::Logs::LogGroup",
3418
+ "Properties": {
3419
+ "RetentionInDays": 1
3420
+ },
3421
+ "UpdateReplacePolicy": "Retain",
3422
+ "DeletionPolicy": "Retain"
4918
3423
  },
4919
3424
  "sendemailhandlerServiceRole7A142BD3": {
4920
3425
  "Type": "AWS::IAM::Role",
@@ -4981,175 +3486,30 @@
4981
3486
  "S3Key": "2b86f8b255c50c6eba274c368849bab1c7a3747c30ef5df4c96f8dea8fffa21e.zip"
4982
3487
  },
4983
3488
  "Handler": "index.handler",
3489
+ "LoggingConfig": {
3490
+ "LogGroup": {
3491
+ "Ref": "sendemailhandlerloggroup145800B9"
3492
+ }
3493
+ },
4984
3494
  "Role": {
4985
3495
  "Fn::GetAtt": [
4986
3496
  "sendemailhandlerServiceRole7A142BD3",
4987
3497
  "Arn"
4988
3498
  ]
4989
3499
  },
4990
- "Runtime": "nodejs18.x",
3500
+ "Runtime": "nodejs24.x",
4991
3501
  "Timeout": 30
4992
3502
  },
4993
3503
  "DependsOn": [
4994
3504
  "sendemailhandlerServiceRoleDefaultPolicyEB76CF3B",
4995
3505
  "sendemailhandlerServiceRole7A142BD3"
4996
3506
  ]
4997
- },
4998
- "sendemailhandlerLogRetentionDBC033F7": {
4999
- "Type": "Custom::LogRetention",
5000
- "Properties": {
5001
- "ServiceToken": {
5002
- "Fn::GetAtt": [
5003
- "LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A",
5004
- "Arn"
5005
- ]
5006
- },
5007
- "LogGroupName": {
5008
- "Fn::Join": [
5009
- "",
5010
- [
5011
- "/aws/lambda/",
5012
- {
5013
- "Ref": "sendemailhandler05B16DE5"
5014
- }
5015
- ]
5016
- ]
5017
- },
5018
- "RetentionInDays": 1
5019
- }
5020
- }
5021
- },
5022
- "Mappings": {
5023
- "LatestNodeRuntimeMap": {
5024
- "af-south-1": {
5025
- "value": "nodejs20.x"
5026
- },
5027
- "ap-east-1": {
5028
- "value": "nodejs20.x"
5029
- },
5030
- "ap-northeast-1": {
5031
- "value": "nodejs20.x"
5032
- },
5033
- "ap-northeast-2": {
5034
- "value": "nodejs20.x"
5035
- },
5036
- "ap-northeast-3": {
5037
- "value": "nodejs20.x"
5038
- },
5039
- "ap-south-1": {
5040
- "value": "nodejs20.x"
5041
- },
5042
- "ap-south-2": {
5043
- "value": "nodejs20.x"
5044
- },
5045
- "ap-southeast-1": {
5046
- "value": "nodejs20.x"
5047
- },
5048
- "ap-southeast-2": {
5049
- "value": "nodejs20.x"
5050
- },
5051
- "ap-southeast-3": {
5052
- "value": "nodejs20.x"
5053
- },
5054
- "ap-southeast-4": {
5055
- "value": "nodejs20.x"
5056
- },
5057
- "ap-southeast-5": {
5058
- "value": "nodejs20.x"
5059
- },
5060
- "ap-southeast-7": {
5061
- "value": "nodejs20.x"
5062
- },
5063
- "ca-central-1": {
5064
- "value": "nodejs20.x"
5065
- },
5066
- "ca-west-1": {
5067
- "value": "nodejs20.x"
5068
- },
5069
- "cn-north-1": {
5070
- "value": "nodejs18.x"
5071
- },
5072
- "cn-northwest-1": {
5073
- "value": "nodejs18.x"
5074
- },
5075
- "eu-central-1": {
5076
- "value": "nodejs20.x"
5077
- },
5078
- "eu-central-2": {
5079
- "value": "nodejs20.x"
5080
- },
5081
- "eu-isoe-west-1": {
5082
- "value": "nodejs18.x"
5083
- },
5084
- "eu-north-1": {
5085
- "value": "nodejs20.x"
5086
- },
5087
- "eu-south-1": {
5088
- "value": "nodejs20.x"
5089
- },
5090
- "eu-south-2": {
5091
- "value": "nodejs20.x"
5092
- },
5093
- "eu-west-1": {
5094
- "value": "nodejs20.x"
5095
- },
5096
- "eu-west-2": {
5097
- "value": "nodejs20.x"
5098
- },
5099
- "eu-west-3": {
5100
- "value": "nodejs20.x"
5101
- },
5102
- "il-central-1": {
5103
- "value": "nodejs20.x"
5104
- },
5105
- "me-central-1": {
5106
- "value": "nodejs20.x"
5107
- },
5108
- "me-south-1": {
5109
- "value": "nodejs20.x"
5110
- },
5111
- "mx-central-1": {
5112
- "value": "nodejs20.x"
5113
- },
5114
- "sa-east-1": {
5115
- "value": "nodejs20.x"
5116
- },
5117
- "us-east-1": {
5118
- "value": "nodejs20.x"
5119
- },
5120
- "us-east-2": {
5121
- "value": "nodejs20.x"
5122
- },
5123
- "us-gov-east-1": {
5124
- "value": "nodejs18.x"
5125
- },
5126
- "us-gov-west-1": {
5127
- "value": "nodejs18.x"
5128
- },
5129
- "us-iso-east-1": {
5130
- "value": "nodejs18.x"
5131
- },
5132
- "us-iso-west-1": {
5133
- "value": "nodejs18.x"
5134
- },
5135
- "us-isob-east-1": {
5136
- "value": "nodejs18.x"
5137
- },
5138
- "us-west-1": {
5139
- "value": "nodejs20.x"
5140
- },
5141
- "us-west-2": {
5142
- "value": "nodejs20.x"
5143
- }
5144
3507
  }
5145
3508
  },
5146
3509
  "Outputs": {
5147
- "ExportsOutputRefsendemailhandler05B16DE5F96FA757": {
3510
+ "PublishOutputRefsendemailhandler05B16DE50B194B06": {
5148
3511
  "Value": {
5149
3512
  "Ref": "sendemailhandler05B16DE5"
5150
- },
5151
- "Export": {
5152
- "Name": "RootmailIntegTestStack:ExportsOutputRefsendemailhandler05B16DE5F96FA757"
5153
3513
  }
5154
3514
  }
5155
3515
  },