@aws-solutions-constructs/resources 2.79.1 → 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.
- package/.jsii +4 -43
- package/package.json +6 -6
- package/test/integ.key-policy-updater.js.snapshot/cdk.out +1 -1
- package/test/integ.key-policy-updater.js.snapshot/integ.json +1 -1
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +6 -6
- package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +15 -5
- package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +1 -1
- package/test/integ.key-policy-updater.js.snapshot/manifest.json +317 -2
- package/test/integ.key-policy-updater.js.snapshot/tree.json +268 -49
- package/test/integ.template-writer-from-asset.js.snapshot/cdk.out +1 -1
- package/test/integ.template-writer-from-asset.js.snapshot/integ.json +1 -1
- package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +290 -2
- package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +6 -6
- package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +15 -5
- package/test/integ.template-writer-from-asset.js.snapshot/templatewriterfromassetIntegDefaultTestDeployAssert3AE00E9B.assets.json +1 -1
- package/test/integ.template-writer-from-asset.js.snapshot/tree.json +244 -44
- package/test/integ.template-writer-from-large-asset.js.snapshot/cdk.out +1 -1
- package/test/integ.template-writer-from-large-asset.js.snapshot/integ.json +1 -1
- package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +290 -2
- package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +6 -6
- package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +15 -5
- package/test/integ.template-writer-from-large-asset.js.snapshot/templatewriterfromlargeassetIntegDefaultTestDeployAssertA02D2FEC.assets.json +1 -1
- package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +244 -44
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "40.0.0",
|
|
3
3
|
"artifacts": {
|
|
4
4
|
"templatewriterfromlargeassetIntegDefaultTestDeployAssertA02D2FEC.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}/
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/50f8565ce2c9f776379ccf3d666bb4a92d78ae1a689ccffc996f54453a9c0645.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -82,36 +82,310 @@
|
|
|
82
82
|
"template-writer-from-large-asset.assets"
|
|
83
83
|
],
|
|
84
84
|
"metadata": {
|
|
85
|
+
"/template-writer-from-large-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-large-asset/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
|
|
138
|
+
{
|
|
139
|
+
"type": "aws:cdk:analytics:construct",
|
|
140
|
+
"data": "*"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
85
143
|
"/template-writer-from-large-asset/LambdaFunctionServiceRole/Resource": [
|
|
86
144
|
{
|
|
87
145
|
"type": "aws:cdk:logicalId",
|
|
88
146
|
"data": "LambdaFunctionServiceRole0C4CDE0B"
|
|
89
147
|
}
|
|
90
148
|
],
|
|
149
|
+
"/template-writer-from-large-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-large-asset/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
|
|
92
180
|
{
|
|
93
181
|
"type": "aws:cdk:logicalId",
|
|
94
182
|
"data": "LambdaFunctionServiceRoleDefaultPolicy126C8897"
|
|
95
183
|
}
|
|
96
184
|
],
|
|
185
|
+
"/template-writer-from-large-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-large-asset/LambdaFunction/Resource": [
|
|
98
212
|
{
|
|
99
213
|
"type": "aws:cdk:logicalId",
|
|
100
214
|
"data": "LambdaFunctionBF21E41F"
|
|
101
215
|
}
|
|
102
216
|
],
|
|
217
|
+
"/template-writer-from-large-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-large-asset/TestTemplateWriterPolicy/Resource": [
|
|
104
258
|
{
|
|
105
259
|
"type": "aws:cdk:logicalId",
|
|
106
260
|
"data": "TestTemplateWriterPolicy8177DE02"
|
|
107
261
|
}
|
|
108
262
|
],
|
|
263
|
+
"/template-writer-from-large-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-large-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-large-asset/TestTemplateWriterProvider/framework-onEvent/ServiceRole/ImportServiceRole": [
|
|
340
|
+
{
|
|
341
|
+
"type": "aws:cdk:analytics:construct",
|
|
342
|
+
"data": "*"
|
|
343
|
+
}
|
|
344
|
+
],
|
|
109
345
|
"/template-writer-from-large-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-large-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-large-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-large-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-large-asset/TestTemplateWriterCustomResource/Default": [
|
|
134
422
|
{
|
|
135
423
|
"type": "aws:cdk:logicalId",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "39.0.0",
|
|
3
3
|
"files": {
|
|
4
4
|
"122da676fba68619def0d539ff80855eaa0ba3686fb37faa298ce277c4feb8f8": {
|
|
5
5
|
"source": {
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"
|
|
43
|
+
"bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca": {
|
|
44
44
|
"source": {
|
|
45
|
-
"path": "asset.
|
|
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": "
|
|
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
|
-
"
|
|
56
|
+
"50f8565ce2c9f776379ccf3d666bb4a92d78ae1a689ccffc996f54453a9c0645": {
|
|
57
57
|
"source": {
|
|
58
58
|
"path": "template-writer-from-large-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": "
|
|
64
|
+
"objectKey": "50f8565ce2c9f776379ccf3d666bb4a92d78ae1a689ccffc996f54453a9c0645.json",
|
|
65
65
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -265,6 +265,16 @@
|
|
|
265
265
|
]
|
|
266
266
|
}
|
|
267
267
|
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"Action": "lambda:GetFunction",
|
|
271
|
+
"Effect": "Allow",
|
|
272
|
+
"Resource": {
|
|
273
|
+
"Fn::GetAtt": [
|
|
274
|
+
"LambdaFunctionBF21E41F",
|
|
275
|
+
"Arn"
|
|
276
|
+
]
|
|
277
|
+
}
|
|
268
278
|
}
|
|
269
279
|
],
|
|
270
280
|
"Version": "2012-10-17"
|
|
@@ -284,7 +294,7 @@
|
|
|
284
294
|
"S3Bucket": {
|
|
285
295
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
286
296
|
},
|
|
287
|
-
"S3Key": "
|
|
297
|
+
"S3Key": "bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca.zip"
|
|
288
298
|
},
|
|
289
299
|
"Description": "AWS CDK resource provider framework - onEvent (template-writer-from-large-asset/TestTemplateWriterProvider)",
|
|
290
300
|
"Environment": {
|
|
@@ -411,10 +421,10 @@
|
|
|
411
421
|
"value": "nodejs20.x"
|
|
412
422
|
},
|
|
413
423
|
"cn-north-1": {
|
|
414
|
-
"value": "
|
|
424
|
+
"value": "nodejs20.x"
|
|
415
425
|
},
|
|
416
426
|
"cn-northwest-1": {
|
|
417
|
-
"value": "
|
|
427
|
+
"value": "nodejs20.x"
|
|
418
428
|
},
|
|
419
429
|
"eu-central-1": {
|
|
420
430
|
"value": "nodejs20.x"
|
|
@@ -465,10 +475,10 @@
|
|
|
465
475
|
"value": "nodejs20.x"
|
|
466
476
|
},
|
|
467
477
|
"us-gov-east-1": {
|
|
468
|
-
"value": "
|
|
478
|
+
"value": "nodejs20.x"
|
|
469
479
|
},
|
|
470
480
|
"us-gov-west-1": {
|
|
471
|
-
"value": "
|
|
481
|
+
"value": "nodejs20.x"
|
|
472
482
|
},
|
|
473
483
|
"us-iso-east-1": {
|
|
474
484
|
"value": "nodejs18.x"
|