@aws-solutions-constructs/resources 2.79.0 → 2.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/.jsii +4 -43
  2. package/package.json +6 -6
  3. package/test/integ.key-policy-updater.js.snapshot/cdk.out +1 -1
  4. package/test/integ.key-policy-updater.js.snapshot/integ.json +1 -1
  5. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +6 -6
  6. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +15 -5
  7. package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +1 -1
  8. package/test/integ.key-policy-updater.js.snapshot/manifest.json +317 -2
  9. package/test/integ.key-policy-updater.js.snapshot/tree.json +268 -49
  10. package/test/integ.template-writer-from-asset.js.snapshot/cdk.out +1 -1
  11. package/test/integ.template-writer-from-asset.js.snapshot/integ.json +1 -1
  12. package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +290 -2
  13. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +6 -6
  14. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +15 -5
  15. package/test/integ.template-writer-from-asset.js.snapshot/templatewriterfromassetIntegDefaultTestDeployAssert3AE00E9B.assets.json +1 -1
  16. package/test/integ.template-writer-from-asset.js.snapshot/tree.json +244 -44
  17. package/test/integ.template-writer-from-large-asset.js.snapshot/cdk.out +1 -1
  18. package/test/integ.template-writer-from-large-asset.js.snapshot/integ.json +1 -1
  19. package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +290 -2
  20. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +6 -6
  21. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +15 -5
  22. package/test/integ.template-writer-from-large-asset.js.snapshot/templatewriterfromlargeassetIntegDefaultTestDeployAssertA02D2FEC.assets.json +1 -1
  23. package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +244 -44
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "40.0.0",
3
3
  "artifacts": {
4
4
  "templatewriterfromassetIntegDefaultTestDeployAssert3AE00E9B.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/afeb1a17f615519413c5d27fd12391c353c4612913740dd2483e4156718409c2.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/f0a80aa9578fb10246e3a2433988f8571d0779fb982efaabcf901aecb91cb65b.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -82,36 +82,310 @@
82
82
  "template-writer-from-asset.assets"
83
83
  ],
84
84
  "metadata": {
85
+ "/template-writer-from-asset/LambdaFunctionServiceRole": [
86
+ {
87
+ "type": "aws:cdk:analytics:construct",
88
+ "data": {
89
+ "assumedBy": {
90
+ "principalAccount": "*",
91
+ "assumeRoleAction": "*"
92
+ },
93
+ "inlinePolicies": "*"
94
+ }
95
+ },
96
+ {
97
+ "type": "aws:cdk:analytics:method",
98
+ "data": {
99
+ "addToPrincipalPolicy": [
100
+ {}
101
+ ]
102
+ }
103
+ },
104
+ {
105
+ "type": "aws:cdk:analytics:method",
106
+ "data": {
107
+ "attachInlinePolicy": [
108
+ "*"
109
+ ]
110
+ }
111
+ },
112
+ {
113
+ "type": "aws:cdk:analytics:method",
114
+ "data": {
115
+ "attachInlinePolicy": [
116
+ "*"
117
+ ]
118
+ }
119
+ },
120
+ {
121
+ "type": "aws:cdk:analytics:method",
122
+ "data": {
123
+ "attachInlinePolicy": [
124
+ "*"
125
+ ]
126
+ }
127
+ },
128
+ {
129
+ "type": "aws:cdk:analytics:method",
130
+ "data": {
131
+ "attachInlinePolicy": [
132
+ "*"
133
+ ]
134
+ }
135
+ }
136
+ ],
137
+ "/template-writer-from-asset/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
138
+ {
139
+ "type": "aws:cdk:analytics:construct",
140
+ "data": "*"
141
+ }
142
+ ],
85
143
  "/template-writer-from-asset/LambdaFunctionServiceRole/Resource": [
86
144
  {
87
145
  "type": "aws:cdk:logicalId",
88
146
  "data": "LambdaFunctionServiceRole0C4CDE0B"
89
147
  }
90
148
  ],
149
+ "/template-writer-from-asset/LambdaFunctionServiceRole/DefaultPolicy": [
150
+ {
151
+ "type": "aws:cdk:analytics:construct",
152
+ "data": "*"
153
+ },
154
+ {
155
+ "type": "aws:cdk:analytics:method",
156
+ "data": {
157
+ "attachToRole": [
158
+ "*"
159
+ ]
160
+ }
161
+ },
162
+ {
163
+ "type": "aws:cdk:analytics:method",
164
+ "data": {
165
+ "attachToRole": [
166
+ "*"
167
+ ]
168
+ }
169
+ },
170
+ {
171
+ "type": "aws:cdk:analytics:method",
172
+ "data": {
173
+ "addStatements": [
174
+ {}
175
+ ]
176
+ }
177
+ }
178
+ ],
91
179
  "/template-writer-from-asset/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
92
180
  {
93
181
  "type": "aws:cdk:logicalId",
94
182
  "data": "LambdaFunctionServiceRoleDefaultPolicy126C8897"
95
183
  }
96
184
  ],
185
+ "/template-writer-from-asset/LambdaFunction": [
186
+ {
187
+ "type": "aws:cdk:analytics:construct",
188
+ "data": {
189
+ "role": "*",
190
+ "tracing": "Active",
191
+ "runtime": "*",
192
+ "handler": "*",
193
+ "code": "*",
194
+ "timeout": "*",
195
+ "memorySize": "*"
196
+ }
197
+ },
198
+ {
199
+ "type": "aws:cdk:analytics:method",
200
+ "data": {
201
+ "addEnvironment": [
202
+ "*",
203
+ "*",
204
+ {
205
+ "removeInEdge": true
206
+ }
207
+ ]
208
+ }
209
+ }
210
+ ],
97
211
  "/template-writer-from-asset/LambdaFunction/Resource": [
98
212
  {
99
213
  "type": "aws:cdk:logicalId",
100
214
  "data": "LambdaFunctionBF21E41F"
101
215
  }
102
216
  ],
217
+ "/template-writer-from-asset/TestTemplateWriterPolicy": [
218
+ {
219
+ "type": "aws:cdk:analytics:construct",
220
+ "data": {
221
+ "statements": "*"
222
+ }
223
+ },
224
+ {
225
+ "type": "aws:cdk:analytics:method",
226
+ "data": {
227
+ "addStatements": [
228
+ {}
229
+ ]
230
+ }
231
+ },
232
+ {
233
+ "type": "aws:cdk:analytics:method",
234
+ "data": {
235
+ "addStatements": [
236
+ {}
237
+ ]
238
+ }
239
+ },
240
+ {
241
+ "type": "aws:cdk:analytics:method",
242
+ "data": {
243
+ "attachToRole": [
244
+ "*"
245
+ ]
246
+ }
247
+ },
248
+ {
249
+ "type": "aws:cdk:analytics:method",
250
+ "data": {
251
+ "attachToRole": [
252
+ "*"
253
+ ]
254
+ }
255
+ }
256
+ ],
103
257
  "/template-writer-from-asset/TestTemplateWriterPolicy/Resource": [
104
258
  {
105
259
  "type": "aws:cdk:logicalId",
106
260
  "data": "TestTemplateWriterPolicy8177DE02"
107
261
  }
108
262
  ],
263
+ "/template-writer-from-asset/TestTemplateWriterProvider/framework-onEvent": [
264
+ {
265
+ "type": "aws:cdk:analytics:construct",
266
+ "data": {
267
+ "code": "*",
268
+ "description": "*",
269
+ "runtime": "*",
270
+ "handler": "*",
271
+ "timeout": "*",
272
+ "logGroup": "*",
273
+ "vpc": "*",
274
+ "vpcSubnets": "*",
275
+ "securityGroups": "*",
276
+ "role": "*",
277
+ "functionName": "*",
278
+ "environmentEncryption": "*"
279
+ }
280
+ },
281
+ {
282
+ "type": "aws:cdk:analytics:method",
283
+ "data": {
284
+ "addEnvironment": [
285
+ "*",
286
+ "*"
287
+ ]
288
+ }
289
+ }
290
+ ],
291
+ "/template-writer-from-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole": [
292
+ {
293
+ "type": "aws:cdk:analytics:construct",
294
+ "data": {
295
+ "assumedBy": {
296
+ "principalAccount": "*",
297
+ "assumeRoleAction": "*"
298
+ },
299
+ "managedPolicies": [
300
+ {
301
+ "managedPolicyArn": "*"
302
+ }
303
+ ]
304
+ }
305
+ },
306
+ {
307
+ "type": "aws:cdk:analytics:method",
308
+ "data": {
309
+ "addToPrincipalPolicy": [
310
+ {}
311
+ ]
312
+ }
313
+ },
314
+ {
315
+ "type": "aws:cdk:analytics:method",
316
+ "data": {
317
+ "attachInlinePolicy": [
318
+ "*"
319
+ ]
320
+ }
321
+ },
322
+ {
323
+ "type": "aws:cdk:analytics:method",
324
+ "data": {
325
+ "attachInlinePolicy": [
326
+ "*"
327
+ ]
328
+ }
329
+ },
330
+ {
331
+ "type": "aws:cdk:analytics:method",
332
+ "data": {
333
+ "addToPrincipalPolicy": [
334
+ {}
335
+ ]
336
+ }
337
+ }
338
+ ],
339
+ "/template-writer-from-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/ImportServiceRole": [
340
+ {
341
+ "type": "aws:cdk:analytics:construct",
342
+ "data": "*"
343
+ }
344
+ ],
109
345
  "/template-writer-from-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/Resource": [
110
346
  {
111
347
  "type": "aws:cdk:logicalId",
112
348
  "data": "TestTemplateWriterProviderframeworkonEventServiceRoleED11CF9A"
113
349
  }
114
350
  ],
351
+ "/template-writer-from-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/DefaultPolicy": [
352
+ {
353
+ "type": "aws:cdk:analytics:construct",
354
+ "data": "*"
355
+ },
356
+ {
357
+ "type": "aws:cdk:analytics:method",
358
+ "data": {
359
+ "attachToRole": [
360
+ "*"
361
+ ]
362
+ }
363
+ },
364
+ {
365
+ "type": "aws:cdk:analytics:method",
366
+ "data": {
367
+ "attachToRole": [
368
+ "*"
369
+ ]
370
+ }
371
+ },
372
+ {
373
+ "type": "aws:cdk:analytics:method",
374
+ "data": {
375
+ "addStatements": [
376
+ {}
377
+ ]
378
+ }
379
+ },
380
+ {
381
+ "type": "aws:cdk:analytics:method",
382
+ "data": {
383
+ "addStatements": [
384
+ {}
385
+ ]
386
+ }
387
+ }
388
+ ],
115
389
  "/template-writer-from-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource": [
116
390
  {
117
391
  "type": "aws:cdk:logicalId",
@@ -130,6 +404,20 @@
130
404
  "data": "LatestNodeRuntimeMap"
131
405
  }
132
406
  ],
407
+ "/template-writer-from-asset/TestTemplateWriterCustomResource": [
408
+ {
409
+ "type": "aws:cdk:analytics:construct",
410
+ "data": "*"
411
+ },
412
+ {
413
+ "type": "aws:cdk:analytics:method",
414
+ "data": "*"
415
+ },
416
+ {
417
+ "type": "aws:cdk:analytics:method",
418
+ "data": "*"
419
+ }
420
+ ],
133
421
  "/template-writer-from-asset/TestTemplateWriterCustomResource/Default": [
134
422
  {
135
423
  "type": "aws:cdk:logicalId",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "files": {
4
4
  "97cd237b0ae069fe0711bcc6a711e213fdaf0956421de5b964de9ccd0d2b23a1": {
5
5
  "source": {
@@ -40,20 +40,20 @@
40
40
  }
41
41
  }
42
42
  },
43
- "d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b": {
43
+ "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca": {
44
44
  "source": {
45
- "path": "asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b",
45
+ "path": "asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca",
46
46
  "packaging": "zip"
47
47
  },
48
48
  "destinations": {
49
49
  "current_account-current_region": {
50
50
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
51
- "objectKey": "d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b.zip",
51
+ "objectKey": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip",
52
52
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
53
53
  }
54
54
  }
55
55
  },
56
- "afeb1a17f615519413c5d27fd12391c353c4612913740dd2483e4156718409c2": {
56
+ "f0a80aa9578fb10246e3a2433988f8571d0779fb982efaabcf901aecb91cb65b": {
57
57
  "source": {
58
58
  "path": "template-writer-from-asset.template.json",
59
59
  "packaging": "file"
@@ -61,7 +61,7 @@
61
61
  "destinations": {
62
62
  "current_account-current_region": {
63
63
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
64
- "objectKey": "afeb1a17f615519413c5d27fd12391c353c4612913740dd2483e4156718409c2.json",
64
+ "objectKey": "f0a80aa9578fb10246e3a2433988f8571d0779fb982efaabcf901aecb91cb65b.json",
65
65
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
66
66
  }
67
67
  }
@@ -263,6 +263,16 @@
263
263
  ]
264
264
  }
265
265
  ]
266
+ },
267
+ {
268
+ "Action": "lambda:GetFunction",
269
+ "Effect": "Allow",
270
+ "Resource": {
271
+ "Fn::GetAtt": [
272
+ "LambdaFunctionBF21E41F",
273
+ "Arn"
274
+ ]
275
+ }
266
276
  }
267
277
  ],
268
278
  "Version": "2012-10-17"
@@ -282,7 +292,7 @@
282
292
  "S3Bucket": {
283
293
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
284
294
  },
285
- "S3Key": "d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b.zip"
295
+ "S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
286
296
  },
287
297
  "Description": "AWS CDK resource provider framework - onEvent (template-writer-from-asset/TestTemplateWriterProvider)",
288
298
  "Environment": {
@@ -409,10 +419,10 @@
409
419
  "value": "nodejs20.x"
410
420
  },
411
421
  "cn-north-1": {
412
- "value": "nodejs18.x"
422
+ "value": "nodejs20.x"
413
423
  },
414
424
  "cn-northwest-1": {
415
- "value": "nodejs18.x"
425
+ "value": "nodejs20.x"
416
426
  },
417
427
  "eu-central-1": {
418
428
  "value": "nodejs20.x"
@@ -463,10 +473,10 @@
463
473
  "value": "nodejs20.x"
464
474
  },
465
475
  "us-gov-east-1": {
466
- "value": "nodejs18.x"
476
+ "value": "nodejs20.x"
467
477
  },
468
478
  "us-gov-west-1": {
469
- "value": "nodejs18.x"
479
+ "value": "nodejs20.x"
470
480
  },
471
481
  "us-iso-east-1": {
472
482
  "value": "nodejs18.x"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "36.0.0",
2
+ "version": "39.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
5
  "source": {