@aws-solutions-constructs/resources 2.55.0 → 2.57.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 (25) hide show
  1. package/.jsii +58 -6
  2. package/lib/key-policy-updater.d.ts +1 -1
  3. package/lib/key-policy-updater.js +13 -18
  4. package/lib/template-writer.js +16 -37
  5. package/package.json +6 -6
  6. package/test/integ.key-policy-updater.d.ts +13 -0
  7. package/test/integ.key-policy-updater.js +65 -0
  8. package/test/integ.key-policy-updater.js.snapshot/asset.4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f/index.d.ts +30 -0
  9. package/test/integ.key-policy-updater.js.snapshot/asset.4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f/index.js +127 -0
  10. package/test/integ.key-policy-updater.js.snapshot/cdk.out +1 -0
  11. package/test/integ.key-policy-updater.js.snapshot/integ.json +12 -0
  12. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.assets.json +45 -0
  13. package/test/integ.key-policy-updater.js.snapshot/key-policy-updater.template.json +518 -0
  14. package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.assets.json +19 -0
  15. package/test/integ.key-policy-updater.js.snapshot/keypolicyupdaterIntegDefaultTestDeployAssert2855331B.template.json +36 -0
  16. package/test/integ.key-policy-updater.js.snapshot/manifest.json +185 -0
  17. package/test/integ.key-policy-updater.js.snapshot/tree.json +795 -0
  18. package/test/integ.template-writer-from-asset.js.snapshot/manifest.json +27 -9
  19. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.assets.json +5 -5
  20. package/test/integ.template-writer-from-asset.js.snapshot/template-writer-from-asset.template.json +65 -121
  21. package/test/integ.template-writer-from-asset.js.snapshot/tree.json +128 -192
  22. package/test/integ.template-writer-from-large-asset.js.snapshot/manifest.json +27 -9
  23. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.assets.json +5 -5
  24. package/test/integ.template-writer-from-large-asset.js.snapshot/template-writer-from-large-asset.template.json +65 -121
  25. package/test/integ.template-writer-from-large-asset.js.snapshot/tree.json +128 -192
@@ -0,0 +1,795 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "key-policy-updater": {
8
+ "id": "key-policy-updater",
9
+ "path": "key-policy-updater",
10
+ "children": {
11
+ "test key": {
12
+ "id": "test key",
13
+ "path": "key-policy-updater/test key",
14
+ "children": {
15
+ "Resource": {
16
+ "id": "Resource",
17
+ "path": "key-policy-updater/test key/Resource",
18
+ "attributes": {
19
+ "aws:cdk:cloudformation:type": "AWS::KMS::Key",
20
+ "aws:cdk:cloudformation:props": {
21
+ "enableKeyRotation": true,
22
+ "keyPolicy": {
23
+ "Statement": [
24
+ {
25
+ "Action": "kms:*",
26
+ "Effect": "Allow",
27
+ "Principal": {
28
+ "AWS": {
29
+ "Fn::Join": [
30
+ "",
31
+ [
32
+ "arn:",
33
+ {
34
+ "Ref": "AWS::Partition"
35
+ },
36
+ ":iam::",
37
+ {
38
+ "Ref": "AWS::AccountId"
39
+ },
40
+ ":root"
41
+ ]
42
+ ]
43
+ }
44
+ },
45
+ "Resource": "*"
46
+ }
47
+ ],
48
+ "Version": "2012-10-17"
49
+ }
50
+ }
51
+ },
52
+ "constructInfo": {
53
+ "fqn": "aws-cdk-lib.aws_kms.CfnKey",
54
+ "version": "2.138.0"
55
+ }
56
+ }
57
+ },
58
+ "constructInfo": {
59
+ "fqn": "aws-cdk-lib.aws_kms.Key",
60
+ "version": "2.138.0"
61
+ }
62
+ },
63
+ "test bucket": {
64
+ "id": "test bucket",
65
+ "path": "key-policy-updater/test bucket",
66
+ "children": {
67
+ "Resource": {
68
+ "id": "Resource",
69
+ "path": "key-policy-updater/test bucket/Resource",
70
+ "attributes": {
71
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
72
+ "aws:cdk:cloudformation:props": {
73
+ "bucketEncryption": {
74
+ "serverSideEncryptionConfiguration": [
75
+ {
76
+ "serverSideEncryptionByDefault": {
77
+ "sseAlgorithm": "AES256"
78
+ }
79
+ }
80
+ ]
81
+ }
82
+ }
83
+ },
84
+ "constructInfo": {
85
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
86
+ "version": "2.138.0"
87
+ }
88
+ },
89
+ "Policy": {
90
+ "id": "Policy",
91
+ "path": "key-policy-updater/test bucket/Policy",
92
+ "children": {
93
+ "Resource": {
94
+ "id": "Resource",
95
+ "path": "key-policy-updater/test bucket/Policy/Resource",
96
+ "attributes": {
97
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
98
+ "aws:cdk:cloudformation:props": {
99
+ "bucket": {
100
+ "Ref": "testbucketA976ABFD"
101
+ },
102
+ "policyDocument": {
103
+ "Statement": [
104
+ {
105
+ "Action": "s3:GetObject",
106
+ "Effect": "Allow",
107
+ "Principal": {
108
+ "CanonicalUser": {
109
+ "Fn::GetAtt": [
110
+ "testdistOrigin1S3Origin7E994241",
111
+ "S3CanonicalUserId"
112
+ ]
113
+ }
114
+ },
115
+ "Resource": {
116
+ "Fn::Join": [
117
+ "",
118
+ [
119
+ {
120
+ "Fn::GetAtt": [
121
+ "testbucketA976ABFD",
122
+ "Arn"
123
+ ]
124
+ },
125
+ "/*"
126
+ ]
127
+ ]
128
+ }
129
+ }
130
+ ],
131
+ "Version": "2012-10-17"
132
+ }
133
+ }
134
+ },
135
+ "constructInfo": {
136
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
137
+ "version": "2.138.0"
138
+ }
139
+ }
140
+ },
141
+ "constructInfo": {
142
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
143
+ "version": "2.138.0"
144
+ }
145
+ }
146
+ },
147
+ "constructInfo": {
148
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
149
+ "version": "2.138.0"
150
+ }
151
+ },
152
+ "test dist": {
153
+ "id": "test dist",
154
+ "path": "key-policy-updater/test dist",
155
+ "children": {
156
+ "Origin1": {
157
+ "id": "Origin1",
158
+ "path": "key-policy-updater/test dist/Origin1",
159
+ "children": {
160
+ "S3Origin": {
161
+ "id": "S3Origin",
162
+ "path": "key-policy-updater/test dist/Origin1/S3Origin",
163
+ "children": {
164
+ "Resource": {
165
+ "id": "Resource",
166
+ "path": "key-policy-updater/test dist/Origin1/S3Origin/Resource",
167
+ "attributes": {
168
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
169
+ "aws:cdk:cloudformation:props": {
170
+ "cloudFrontOriginAccessIdentityConfig": {
171
+ "comment": "Identity for keypolicyupdatertestdistOrigin1D732FBD3"
172
+ }
173
+ }
174
+ },
175
+ "constructInfo": {
176
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
177
+ "version": "2.138.0"
178
+ }
179
+ }
180
+ },
181
+ "constructInfo": {
182
+ "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
183
+ "version": "2.138.0"
184
+ }
185
+ }
186
+ },
187
+ "constructInfo": {
188
+ "fqn": "constructs.Construct",
189
+ "version": "10.3.0"
190
+ }
191
+ },
192
+ "Resource": {
193
+ "id": "Resource",
194
+ "path": "key-policy-updater/test dist/Resource",
195
+ "attributes": {
196
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
197
+ "aws:cdk:cloudformation:props": {
198
+ "distributionConfig": {
199
+ "enabled": true,
200
+ "origins": [
201
+ {
202
+ "domainName": {
203
+ "Fn::GetAtt": [
204
+ "testbucketA976ABFD",
205
+ "RegionalDomainName"
206
+ ]
207
+ },
208
+ "id": "keypolicyupdatertestdistOrigin1D732FBD3",
209
+ "s3OriginConfig": {
210
+ "originAccessIdentity": {
211
+ "Fn::Join": [
212
+ "",
213
+ [
214
+ "origin-access-identity/cloudfront/",
215
+ {
216
+ "Ref": "testdistOrigin1S3Origin7E994241"
217
+ }
218
+ ]
219
+ ]
220
+ }
221
+ }
222
+ }
223
+ ],
224
+ "defaultCacheBehavior": {
225
+ "pathPattern": "*",
226
+ "targetOriginId": "keypolicyupdatertestdistOrigin1D732FBD3",
227
+ "cachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
228
+ "compress": true,
229
+ "viewerProtocolPolicy": "allow-all"
230
+ },
231
+ "httpVersion": "http2",
232
+ "ipv6Enabled": true
233
+ }
234
+ }
235
+ },
236
+ "constructInfo": {
237
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
238
+ "version": "2.138.0"
239
+ }
240
+ }
241
+ },
242
+ "constructInfo": {
243
+ "fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
244
+ "version": "2.138.0"
245
+ }
246
+ },
247
+ "LambdaFunctionServiceRole": {
248
+ "id": "LambdaFunctionServiceRole",
249
+ "path": "key-policy-updater/LambdaFunctionServiceRole",
250
+ "children": {
251
+ "ImportLambdaFunctionServiceRole": {
252
+ "id": "ImportLambdaFunctionServiceRole",
253
+ "path": "key-policy-updater/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
254
+ "constructInfo": {
255
+ "fqn": "aws-cdk-lib.Resource",
256
+ "version": "2.138.0"
257
+ }
258
+ },
259
+ "Resource": {
260
+ "id": "Resource",
261
+ "path": "key-policy-updater/LambdaFunctionServiceRole/Resource",
262
+ "attributes": {
263
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
264
+ "aws:cdk:cloudformation:props": {
265
+ "assumeRolePolicyDocument": {
266
+ "Statement": [
267
+ {
268
+ "Action": "sts:AssumeRole",
269
+ "Effect": "Allow",
270
+ "Principal": {
271
+ "Service": "lambda.amazonaws.com"
272
+ }
273
+ }
274
+ ],
275
+ "Version": "2012-10-17"
276
+ },
277
+ "policies": [
278
+ {
279
+ "policyName": "LambdaFunctionServiceRolePolicy",
280
+ "policyDocument": {
281
+ "Statement": [
282
+ {
283
+ "Action": [
284
+ "logs:CreateLogGroup",
285
+ "logs:CreateLogStream",
286
+ "logs:PutLogEvents"
287
+ ],
288
+ "Effect": "Allow",
289
+ "Resource": {
290
+ "Fn::Join": [
291
+ "",
292
+ [
293
+ "arn:",
294
+ {
295
+ "Ref": "AWS::Partition"
296
+ },
297
+ ":logs:",
298
+ {
299
+ "Ref": "AWS::Region"
300
+ },
301
+ ":",
302
+ {
303
+ "Ref": "AWS::AccountId"
304
+ },
305
+ ":log-group:/aws/lambda/*"
306
+ ]
307
+ ]
308
+ }
309
+ }
310
+ ],
311
+ "Version": "2012-10-17"
312
+ }
313
+ }
314
+ ]
315
+ }
316
+ },
317
+ "constructInfo": {
318
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
319
+ "version": "2.138.0"
320
+ }
321
+ },
322
+ "DefaultPolicy": {
323
+ "id": "DefaultPolicy",
324
+ "path": "key-policy-updater/LambdaFunctionServiceRole/DefaultPolicy",
325
+ "children": {
326
+ "Resource": {
327
+ "id": "Resource",
328
+ "path": "key-policy-updater/LambdaFunctionServiceRole/DefaultPolicy/Resource",
329
+ "attributes": {
330
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
331
+ "aws:cdk:cloudformation:props": {
332
+ "policyDocument": {
333
+ "Statement": [
334
+ {
335
+ "Action": [
336
+ "xray:PutTelemetryRecords",
337
+ "xray:PutTraceSegments"
338
+ ],
339
+ "Effect": "Allow",
340
+ "Resource": "*"
341
+ }
342
+ ],
343
+ "Version": "2012-10-17"
344
+ },
345
+ "policyName": "LambdaFunctionServiceRoleDefaultPolicy126C8897",
346
+ "roles": [
347
+ {
348
+ "Ref": "LambdaFunctionServiceRole0C4CDE0B"
349
+ }
350
+ ]
351
+ }
352
+ },
353
+ "constructInfo": {
354
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
355
+ "version": "2.138.0"
356
+ }
357
+ }
358
+ },
359
+ "constructInfo": {
360
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
361
+ "version": "2.138.0"
362
+ }
363
+ }
364
+ },
365
+ "constructInfo": {
366
+ "fqn": "aws-cdk-lib.aws_iam.Role",
367
+ "version": "2.138.0"
368
+ }
369
+ },
370
+ "LambdaFunction": {
371
+ "id": "LambdaFunction",
372
+ "path": "key-policy-updater/LambdaFunction",
373
+ "children": {
374
+ "Code": {
375
+ "id": "Code",
376
+ "path": "key-policy-updater/LambdaFunction/Code",
377
+ "children": {
378
+ "Stage": {
379
+ "id": "Stage",
380
+ "path": "key-policy-updater/LambdaFunction/Code/Stage",
381
+ "constructInfo": {
382
+ "fqn": "aws-cdk-lib.AssetStaging",
383
+ "version": "2.138.0"
384
+ }
385
+ },
386
+ "AssetBucket": {
387
+ "id": "AssetBucket",
388
+ "path": "key-policy-updater/LambdaFunction/Code/AssetBucket",
389
+ "constructInfo": {
390
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
391
+ "version": "2.138.0"
392
+ }
393
+ }
394
+ },
395
+ "constructInfo": {
396
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
397
+ "version": "2.138.0"
398
+ }
399
+ },
400
+ "Resource": {
401
+ "id": "Resource",
402
+ "path": "key-policy-updater/LambdaFunction/Resource",
403
+ "attributes": {
404
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
405
+ "aws:cdk:cloudformation:props": {
406
+ "code": {
407
+ "s3Bucket": {
408
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
409
+ },
410
+ "s3Key": "4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f.zip"
411
+ },
412
+ "description": "Custom resource function that updates a provided key policy to allow CloudFront access.",
413
+ "handler": "index.handler",
414
+ "role": {
415
+ "Fn::GetAtt": [
416
+ "LambdaFunctionServiceRole0C4CDE0B",
417
+ "Arn"
418
+ ]
419
+ },
420
+ "runtime": "nodejs18.x",
421
+ "tracingConfig": {
422
+ "mode": "Active"
423
+ }
424
+ }
425
+ },
426
+ "constructInfo": {
427
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
428
+ "version": "2.138.0"
429
+ }
430
+ }
431
+ },
432
+ "constructInfo": {
433
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
434
+ "version": "2.138.0"
435
+ }
436
+ },
437
+ "TestResourceCmkPolicy": {
438
+ "id": "TestResourceCmkPolicy",
439
+ "path": "key-policy-updater/TestResourceCmkPolicy",
440
+ "children": {
441
+ "Resource": {
442
+ "id": "Resource",
443
+ "path": "key-policy-updater/TestResourceCmkPolicy/Resource",
444
+ "attributes": {
445
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
446
+ "aws:cdk:cloudformation:props": {
447
+ "policyDocument": {
448
+ "Statement": [
449
+ {
450
+ "Action": [
451
+ "kms:DescribeKey",
452
+ "kms:GetKeyPolicy",
453
+ "kms:PutKeyPolicy"
454
+ ],
455
+ "Effect": "Allow",
456
+ "Resource": {
457
+ "Fn::GetAtt": [
458
+ "testkey9B36F12B",
459
+ "Arn"
460
+ ]
461
+ }
462
+ }
463
+ ],
464
+ "Version": "2012-10-17"
465
+ },
466
+ "policyName": "TestResourceCmkPolicy977FBAA4",
467
+ "roles": [
468
+ {
469
+ "Ref": "LambdaFunctionServiceRole0C4CDE0B"
470
+ }
471
+ ]
472
+ }
473
+ },
474
+ "constructInfo": {
475
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
476
+ "version": "2.138.0"
477
+ }
478
+ }
479
+ },
480
+ "constructInfo": {
481
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
482
+ "version": "2.138.0"
483
+ }
484
+ },
485
+ "KmsKeyPolicyUpdateProvider": {
486
+ "id": "KmsKeyPolicyUpdateProvider",
487
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider",
488
+ "children": {
489
+ "framework-onEvent": {
490
+ "id": "framework-onEvent",
491
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent",
492
+ "children": {
493
+ "ServiceRole": {
494
+ "id": "ServiceRole",
495
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole",
496
+ "children": {
497
+ "ImportServiceRole": {
498
+ "id": "ImportServiceRole",
499
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/ImportServiceRole",
500
+ "constructInfo": {
501
+ "fqn": "aws-cdk-lib.Resource",
502
+ "version": "2.138.0"
503
+ }
504
+ },
505
+ "Resource": {
506
+ "id": "Resource",
507
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/Resource",
508
+ "attributes": {
509
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
510
+ "aws:cdk:cloudformation:props": {
511
+ "assumeRolePolicyDocument": {
512
+ "Statement": [
513
+ {
514
+ "Action": "sts:AssumeRole",
515
+ "Effect": "Allow",
516
+ "Principal": {
517
+ "Service": "lambda.amazonaws.com"
518
+ }
519
+ }
520
+ ],
521
+ "Version": "2012-10-17"
522
+ },
523
+ "managedPolicyArns": [
524
+ {
525
+ "Fn::Join": [
526
+ "",
527
+ [
528
+ "arn:",
529
+ {
530
+ "Ref": "AWS::Partition"
531
+ },
532
+ ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
533
+ ]
534
+ ]
535
+ }
536
+ ]
537
+ }
538
+ },
539
+ "constructInfo": {
540
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
541
+ "version": "2.138.0"
542
+ }
543
+ },
544
+ "DefaultPolicy": {
545
+ "id": "DefaultPolicy",
546
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy",
547
+ "children": {
548
+ "Resource": {
549
+ "id": "Resource",
550
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/ServiceRole/DefaultPolicy/Resource",
551
+ "attributes": {
552
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
553
+ "aws:cdk:cloudformation:props": {
554
+ "policyDocument": {
555
+ "Statement": [
556
+ {
557
+ "Action": "lambda:InvokeFunction",
558
+ "Effect": "Allow",
559
+ "Resource": [
560
+ {
561
+ "Fn::GetAtt": [
562
+ "LambdaFunctionBF21E41F",
563
+ "Arn"
564
+ ]
565
+ },
566
+ {
567
+ "Fn::Join": [
568
+ "",
569
+ [
570
+ {
571
+ "Fn::GetAtt": [
572
+ "LambdaFunctionBF21E41F",
573
+ "Arn"
574
+ ]
575
+ },
576
+ ":*"
577
+ ]
578
+ ]
579
+ }
580
+ ]
581
+ }
582
+ ],
583
+ "Version": "2012-10-17"
584
+ },
585
+ "policyName": "KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleDefaultPolicyC8853973",
586
+ "roles": [
587
+ {
588
+ "Ref": "KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97"
589
+ }
590
+ ]
591
+ }
592
+ },
593
+ "constructInfo": {
594
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
595
+ "version": "2.138.0"
596
+ }
597
+ }
598
+ },
599
+ "constructInfo": {
600
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
601
+ "version": "2.138.0"
602
+ }
603
+ }
604
+ },
605
+ "constructInfo": {
606
+ "fqn": "aws-cdk-lib.aws_iam.Role",
607
+ "version": "2.138.0"
608
+ }
609
+ },
610
+ "Code": {
611
+ "id": "Code",
612
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code",
613
+ "children": {
614
+ "Stage": {
615
+ "id": "Stage",
616
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/Stage",
617
+ "constructInfo": {
618
+ "fqn": "aws-cdk-lib.AssetStaging",
619
+ "version": "2.138.0"
620
+ }
621
+ },
622
+ "AssetBucket": {
623
+ "id": "AssetBucket",
624
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Code/AssetBucket",
625
+ "constructInfo": {
626
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
627
+ "version": "2.138.0"
628
+ }
629
+ }
630
+ },
631
+ "constructInfo": {
632
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
633
+ "version": "2.138.0"
634
+ }
635
+ },
636
+ "Resource": {
637
+ "id": "Resource",
638
+ "path": "key-policy-updater/KmsKeyPolicyUpdateProvider/framework-onEvent/Resource",
639
+ "attributes": {
640
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
641
+ "aws:cdk:cloudformation:props": {
642
+ "code": {
643
+ "s3Bucket": {
644
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
645
+ },
646
+ "s3Key": "3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc.zip"
647
+ },
648
+ "description": "AWS CDK resource provider framework - onEvent (key-policy-updater/KmsKeyPolicyUpdateProvider)",
649
+ "environment": {
650
+ "variables": {
651
+ "USER_ON_EVENT_FUNCTION_ARN": {
652
+ "Fn::GetAtt": [
653
+ "LambdaFunctionBF21E41F",
654
+ "Arn"
655
+ ]
656
+ }
657
+ }
658
+ },
659
+ "handler": "framework.onEvent",
660
+ "role": {
661
+ "Fn::GetAtt": [
662
+ "KmsKeyPolicyUpdateProviderframeworkonEventServiceRoleD0164B97",
663
+ "Arn"
664
+ ]
665
+ },
666
+ "runtime": "nodejs18.x",
667
+ "timeout": 900
668
+ }
669
+ },
670
+ "constructInfo": {
671
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
672
+ "version": "2.138.0"
673
+ }
674
+ }
675
+ },
676
+ "constructInfo": {
677
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
678
+ "version": "2.138.0"
679
+ }
680
+ }
681
+ },
682
+ "constructInfo": {
683
+ "fqn": "aws-cdk-lib.custom_resources.Provider",
684
+ "version": "2.138.0"
685
+ }
686
+ },
687
+ "KmsKeyPolicyUpdater": {
688
+ "id": "KmsKeyPolicyUpdater",
689
+ "path": "key-policy-updater/KmsKeyPolicyUpdater",
690
+ "children": {
691
+ "Default": {
692
+ "id": "Default",
693
+ "path": "key-policy-updater/KmsKeyPolicyUpdater/Default",
694
+ "constructInfo": {
695
+ "fqn": "aws-cdk-lib.CfnResource",
696
+ "version": "2.138.0"
697
+ }
698
+ }
699
+ },
700
+ "constructInfo": {
701
+ "fqn": "aws-cdk-lib.CustomResource",
702
+ "version": "2.138.0"
703
+ }
704
+ },
705
+ "Integ": {
706
+ "id": "Integ",
707
+ "path": "key-policy-updater/Integ",
708
+ "children": {
709
+ "DefaultTest": {
710
+ "id": "DefaultTest",
711
+ "path": "key-policy-updater/Integ/DefaultTest",
712
+ "children": {
713
+ "Default": {
714
+ "id": "Default",
715
+ "path": "key-policy-updater/Integ/DefaultTest/Default",
716
+ "constructInfo": {
717
+ "fqn": "constructs.Construct",
718
+ "version": "10.3.0"
719
+ }
720
+ },
721
+ "DeployAssert": {
722
+ "id": "DeployAssert",
723
+ "path": "key-policy-updater/Integ/DefaultTest/DeployAssert",
724
+ "children": {
725
+ "BootstrapVersion": {
726
+ "id": "BootstrapVersion",
727
+ "path": "key-policy-updater/Integ/DefaultTest/DeployAssert/BootstrapVersion",
728
+ "constructInfo": {
729
+ "fqn": "aws-cdk-lib.CfnParameter",
730
+ "version": "2.138.0"
731
+ }
732
+ },
733
+ "CheckBootstrapVersion": {
734
+ "id": "CheckBootstrapVersion",
735
+ "path": "key-policy-updater/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
736
+ "constructInfo": {
737
+ "fqn": "aws-cdk-lib.CfnRule",
738
+ "version": "2.138.0"
739
+ }
740
+ }
741
+ },
742
+ "constructInfo": {
743
+ "fqn": "aws-cdk-lib.Stack",
744
+ "version": "2.138.0"
745
+ }
746
+ }
747
+ },
748
+ "constructInfo": {
749
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
750
+ "version": "2.138.0-alpha.0"
751
+ }
752
+ }
753
+ },
754
+ "constructInfo": {
755
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
756
+ "version": "2.138.0-alpha.0"
757
+ }
758
+ },
759
+ "BootstrapVersion": {
760
+ "id": "BootstrapVersion",
761
+ "path": "key-policy-updater/BootstrapVersion",
762
+ "constructInfo": {
763
+ "fqn": "aws-cdk-lib.CfnParameter",
764
+ "version": "2.138.0"
765
+ }
766
+ },
767
+ "CheckBootstrapVersion": {
768
+ "id": "CheckBootstrapVersion",
769
+ "path": "key-policy-updater/CheckBootstrapVersion",
770
+ "constructInfo": {
771
+ "fqn": "aws-cdk-lib.CfnRule",
772
+ "version": "2.138.0"
773
+ }
774
+ }
775
+ },
776
+ "constructInfo": {
777
+ "fqn": "aws-cdk-lib.Stack",
778
+ "version": "2.138.0"
779
+ }
780
+ },
781
+ "Tree": {
782
+ "id": "Tree",
783
+ "path": "Tree",
784
+ "constructInfo": {
785
+ "fqn": "constructs.Construct",
786
+ "version": "10.3.0"
787
+ }
788
+ }
789
+ },
790
+ "constructInfo": {
791
+ "fqn": "aws-cdk-lib.App",
792
+ "version": "2.138.0"
793
+ }
794
+ }
795
+ }