@aws-solutions-constructs/aws-cloudfront-oai-s3 2.84.0 → 2.85.1

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 (66) hide show
  1. package/.jsii +6 -6
  2. package/lib/index.js +1 -1
  3. package/package.json +8 -8
  4. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cdk.out +1 -1
  5. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.assets.json +5 -3
  6. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.template.json +3 -0
  7. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3bucketencryptedwithmanagedkeyprovidedasexistingbucketIntegDefaultTestDeployAssert105E804F.assets.json +2 -1
  8. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/integ.json +3 -2
  9. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +4 -3
  10. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +1 -1214
  11. package/test/integ.cftoais3-custom-headers.js.snapshot/cdk.out +1 -1
  12. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.assets.json +5 -3
  13. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.template.json +3 -0
  14. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3customheadersIntegDefaultTestDeployAssert5AA11BA9.assets.json +2 -1
  15. package/test/integ.cftoais3-custom-headers.js.snapshot/integ.json +3 -2
  16. package/test/integ.cftoais3-custom-headers.js.snapshot/manifest.json +4 -3
  17. package/test/integ.cftoais3-custom-headers.js.snapshot/tree.json +1 -1322
  18. package/test/integ.cftoais3-custom-originPath.js.snapshot/cdk.out +1 -1
  19. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.assets.json +5 -3
  20. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.template.json +3 -0
  21. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3customoriginPathIntegDefaultTestDeployAssert1C351914.assets.json +2 -1
  22. package/test/integ.cftoais3-custom-originPath.js.snapshot/integ.json +3 -2
  23. package/test/integ.cftoais3-custom-originPath.js.snapshot/manifest.json +4 -3
  24. package/test/integ.cftoais3-custom-originPath.js.snapshot/tree.json +1 -1268
  25. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cdk.out +1 -1
  26. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.assets.json +5 -3
  27. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.template.json +3 -0
  28. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3customLoggingBucketsIntegDefaultTestDeployAssert8F33EF2A.assets.json +2 -1
  29. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/integ.json +3 -2
  30. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/manifest.json +4 -3
  31. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/tree.json +1 -1325
  32. package/test/integ.cftoais3-existing-bucket.js.snapshot/cdk.out +1 -1
  33. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.assets.json +5 -3
  34. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.template.json +3 -0
  35. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3existingbucketIntegDefaultTestDeployAssertB7627F26.assets.json +2 -1
  36. package/test/integ.cftoais3-existing-bucket.js.snapshot/integ.json +3 -2
  37. package/test/integ.cftoais3-existing-bucket.js.snapshot/manifest.json +4 -3
  38. package/test/integ.cftoais3-existing-bucket.js.snapshot/tree.json +1 -1357
  39. package/test/integ.cftoais3-no-arguments.js.snapshot/cdk.out +1 -1
  40. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.assets.json +5 -3
  41. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.template.json +3 -0
  42. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3noargumentsIntegDefaultTestDeployAssert5CF03E3D.assets.json +2 -1
  43. package/test/integ.cftoais3-no-arguments.js.snapshot/integ.json +3 -2
  44. package/test/integ.cftoais3-no-arguments.js.snapshot/manifest.json +4 -3
  45. package/test/integ.cftoais3-no-arguments.js.snapshot/tree.json +1 -1267
  46. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cdk.out +1 -1
  47. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.assets.json +5 -3
  48. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.template.json +3 -0
  49. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3nocloudfronts3accesslogsIntegDefaultTestDeployAssert6D810275.assets.json +2 -1
  50. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/integ.json +3 -2
  51. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +4 -3
  52. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +1 -809
  53. package/test/integ.cftoais3-no-logging.js.snapshot/cdk.out +1 -1
  54. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.assets.json +5 -3
  55. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.template.json +3 -0
  56. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3nologgingIntegDefaultTestDeployAssertCED06EE4.assets.json +2 -1
  57. package/test/integ.cftoais3-no-logging.js.snapshot/integ.json +3 -2
  58. package/test/integ.cftoais3-no-logging.js.snapshot/manifest.json +4 -3
  59. package/test/integ.cftoais3-no-logging.js.snapshot/tree.json +1 -606
  60. package/test/integ.cftoais3-no-security-headers.js.snapshot/cdk.out +1 -1
  61. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.assets.json +5 -3
  62. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.template.json +3 -0
  63. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3nosecurityheadersIntegDefaultTestDeployAssertAB4B2F28.assets.json +2 -1
  64. package/test/integ.cftoais3-no-security-headers.js.snapshot/integ.json +3 -2
  65. package/test/integ.cftoais3-no-security-headers.js.snapshot/manifest.json +4 -3
  66. package/test/integ.cftoais3-no-security-headers.js.snapshot/tree.json +1 -1214
@@ -1,1325 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "cftoais3-customLoggingBuckets": {
8
- "id": "cftoais3-customLoggingBuckets",
9
- "path": "cftoais3-customLoggingBuckets",
10
- "children": {
11
- "test-cloudfront-oai-s3": {
12
- "id": "test-cloudfront-oai-s3",
13
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3",
14
- "children": {
15
- "S3LoggingBucket": {
16
- "id": "S3LoggingBucket",
17
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket",
18
- "children": {
19
- "Resource": {
20
- "id": "Resource",
21
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Resource",
22
- "attributes": {
23
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
24
- "aws:cdk:cloudformation:props": {
25
- "bucketEncryption": {
26
- "serverSideEncryptionConfiguration": [
27
- {
28
- "serverSideEncryptionByDefault": {
29
- "sseAlgorithm": "AES256"
30
- }
31
- }
32
- ]
33
- },
34
- "lifecycleConfiguration": {
35
- "rules": [
36
- {
37
- "status": "Enabled",
38
- "transitions": [
39
- {
40
- "storageClass": "GLACIER",
41
- "transitionInDays": 7
42
- }
43
- ]
44
- }
45
- ]
46
- },
47
- "publicAccessBlockConfiguration": {
48
- "blockPublicAcls": true,
49
- "blockPublicPolicy": true,
50
- "ignorePublicAcls": true,
51
- "restrictPublicBuckets": true
52
- },
53
- "tags": [
54
- {
55
- "key": "aws-cdk:auto-delete-objects",
56
- "value": "true"
57
- }
58
- ],
59
- "versioningConfiguration": {
60
- "status": "Enabled"
61
- }
62
- }
63
- },
64
- "constructInfo": {
65
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
66
- "version": "2.179.0"
67
- }
68
- },
69
- "Policy": {
70
- "id": "Policy",
71
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Policy",
72
- "children": {
73
- "Resource": {
74
- "id": "Resource",
75
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Policy/Resource",
76
- "attributes": {
77
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
78
- "aws:cdk:cloudformation:props": {
79
- "bucket": {
80
- "Ref": "testcloudfrontoais3S3LoggingBucketC8A21DD9"
81
- },
82
- "policyDocument": {
83
- "Statement": [
84
- {
85
- "Action": "s3:*",
86
- "Condition": {
87
- "Bool": {
88
- "aws:SecureTransport": "false"
89
- }
90
- },
91
- "Effect": "Deny",
92
- "Principal": {
93
- "AWS": "*"
94
- },
95
- "Resource": [
96
- {
97
- "Fn::GetAtt": [
98
- "testcloudfrontoais3S3LoggingBucketC8A21DD9",
99
- "Arn"
100
- ]
101
- },
102
- {
103
- "Fn::Join": [
104
- "",
105
- [
106
- {
107
- "Fn::GetAtt": [
108
- "testcloudfrontoais3S3LoggingBucketC8A21DD9",
109
- "Arn"
110
- ]
111
- },
112
- "/*"
113
- ]
114
- ]
115
- }
116
- ]
117
- },
118
- {
119
- "Action": [
120
- "s3:DeleteObject*",
121
- "s3:GetBucket*",
122
- "s3:List*",
123
- "s3:PutBucketPolicy"
124
- ],
125
- "Effect": "Allow",
126
- "Principal": {
127
- "AWS": {
128
- "Fn::GetAtt": [
129
- "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
130
- "Arn"
131
- ]
132
- }
133
- },
134
- "Resource": [
135
- {
136
- "Fn::GetAtt": [
137
- "testcloudfrontoais3S3LoggingBucketC8A21DD9",
138
- "Arn"
139
- ]
140
- },
141
- {
142
- "Fn::Join": [
143
- "",
144
- [
145
- {
146
- "Fn::GetAtt": [
147
- "testcloudfrontoais3S3LoggingBucketC8A21DD9",
148
- "Arn"
149
- ]
150
- },
151
- "/*"
152
- ]
153
- ]
154
- }
155
- ]
156
- },
157
- {
158
- "Action": "s3:PutObject",
159
- "Condition": {
160
- "ArnLike": {
161
- "aws:SourceArn": {
162
- "Fn::GetAtt": [
163
- "testcloudfrontoais3S3Bucket578AB9F3",
164
- "Arn"
165
- ]
166
- }
167
- },
168
- "StringEquals": {
169
- "aws:SourceAccount": {
170
- "Ref": "AWS::AccountId"
171
- }
172
- }
173
- },
174
- "Effect": "Allow",
175
- "Principal": {
176
- "Service": "logging.s3.amazonaws.com"
177
- },
178
- "Resource": {
179
- "Fn::Join": [
180
- "",
181
- [
182
- {
183
- "Fn::GetAtt": [
184
- "testcloudfrontoais3S3LoggingBucketC8A21DD9",
185
- "Arn"
186
- ]
187
- },
188
- "/*"
189
- ]
190
- ]
191
- }
192
- }
193
- ],
194
- "Version": "2012-10-17"
195
- }
196
- }
197
- },
198
- "constructInfo": {
199
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
200
- "version": "2.179.0"
201
- }
202
- }
203
- },
204
- "constructInfo": {
205
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
206
- "version": "2.179.0",
207
- "metadata": [
208
- {
209
- "bucket": "*"
210
- }
211
- ]
212
- }
213
- },
214
- "AutoDeleteObjectsCustomResource": {
215
- "id": "AutoDeleteObjectsCustomResource",
216
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource",
217
- "children": {
218
- "Default": {
219
- "id": "Default",
220
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default",
221
- "constructInfo": {
222
- "fqn": "aws-cdk-lib.CfnResource",
223
- "version": "2.179.0"
224
- }
225
- }
226
- },
227
- "constructInfo": {
228
- "fqn": "aws-cdk-lib.CustomResource",
229
- "version": "2.179.0",
230
- "metadata": [
231
- "*"
232
- ]
233
- }
234
- }
235
- },
236
- "constructInfo": {
237
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
238
- "version": "2.179.0",
239
- "metadata": [
240
- {
241
- "encryption": "S3_MANAGED",
242
- "versioned": true,
243
- "blockPublicAccess": "*",
244
- "removalPolicy": "destroy",
245
- "enforceSSL": true,
246
- "autoDeleteObjects": true,
247
- "lifecycleRules": [
248
- {
249
- "enabled": true,
250
- "transitions": "*"
251
- }
252
- ]
253
- },
254
- {
255
- "addLifecycleRule": [
256
- {
257
- "enabled": true,
258
- "transitions": "*"
259
- },
260
- "*",
261
- "*"
262
- ]
263
- }
264
- ]
265
- }
266
- },
267
- "S3Bucket": {
268
- "id": "S3Bucket",
269
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket",
270
- "children": {
271
- "Resource": {
272
- "id": "Resource",
273
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Resource",
274
- "attributes": {
275
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
276
- "aws:cdk:cloudformation:props": {
277
- "bucketEncryption": {
278
- "serverSideEncryptionConfiguration": [
279
- {
280
- "serverSideEncryptionByDefault": {
281
- "sseAlgorithm": "AES256"
282
- }
283
- }
284
- ]
285
- },
286
- "lifecycleConfiguration": {
287
- "rules": [
288
- {
289
- "noncurrentVersionTransitions": [
290
- {
291
- "storageClass": "GLACIER",
292
- "transitionInDays": 90
293
- }
294
- ],
295
- "status": "Enabled"
296
- }
297
- ]
298
- },
299
- "loggingConfiguration": {
300
- "destinationBucketName": {
301
- "Ref": "testcloudfrontoais3S3LoggingBucketC8A21DD9"
302
- }
303
- },
304
- "publicAccessBlockConfiguration": {
305
- "blockPublicAcls": true,
306
- "blockPublicPolicy": true,
307
- "ignorePublicAcls": true,
308
- "restrictPublicBuckets": true
309
- },
310
- "tags": [
311
- {
312
- "key": "aws-cdk:auto-delete-objects",
313
- "value": "true"
314
- }
315
- ],
316
- "versioningConfiguration": {
317
- "status": "Enabled"
318
- }
319
- }
320
- },
321
- "constructInfo": {
322
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
323
- "version": "2.179.0"
324
- }
325
- },
326
- "Policy": {
327
- "id": "Policy",
328
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Policy",
329
- "children": {
330
- "Resource": {
331
- "id": "Resource",
332
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Policy/Resource",
333
- "attributes": {
334
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
335
- "aws:cdk:cloudformation:props": {
336
- "bucket": {
337
- "Ref": "testcloudfrontoais3S3Bucket578AB9F3"
338
- },
339
- "policyDocument": {
340
- "Statement": [
341
- {
342
- "Action": "s3:*",
343
- "Condition": {
344
- "Bool": {
345
- "aws:SecureTransport": "false"
346
- }
347
- },
348
- "Effect": "Deny",
349
- "Principal": {
350
- "AWS": "*"
351
- },
352
- "Resource": [
353
- {
354
- "Fn::GetAtt": [
355
- "testcloudfrontoais3S3Bucket578AB9F3",
356
- "Arn"
357
- ]
358
- },
359
- {
360
- "Fn::Join": [
361
- "",
362
- [
363
- {
364
- "Fn::GetAtt": [
365
- "testcloudfrontoais3S3Bucket578AB9F3",
366
- "Arn"
367
- ]
368
- },
369
- "/*"
370
- ]
371
- ]
372
- }
373
- ]
374
- },
375
- {
376
- "Action": [
377
- "s3:DeleteObject*",
378
- "s3:GetBucket*",
379
- "s3:List*",
380
- "s3:PutBucketPolicy"
381
- ],
382
- "Effect": "Allow",
383
- "Principal": {
384
- "AWS": {
385
- "Fn::GetAtt": [
386
- "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
387
- "Arn"
388
- ]
389
- }
390
- },
391
- "Resource": [
392
- {
393
- "Fn::GetAtt": [
394
- "testcloudfrontoais3S3Bucket578AB9F3",
395
- "Arn"
396
- ]
397
- },
398
- {
399
- "Fn::Join": [
400
- "",
401
- [
402
- {
403
- "Fn::GetAtt": [
404
- "testcloudfrontoais3S3Bucket578AB9F3",
405
- "Arn"
406
- ]
407
- },
408
- "/*"
409
- ]
410
- ]
411
- }
412
- ]
413
- },
414
- {
415
- "Action": "s3:GetObject",
416
- "Effect": "Allow",
417
- "Principal": {
418
- "CanonicalUser": {
419
- "Fn::GetAtt": [
420
- "testcloudfrontoais3constructsGeneratedOaiA468F478",
421
- "S3CanonicalUserId"
422
- ]
423
- }
424
- },
425
- "Resource": {
426
- "Fn::Join": [
427
- "",
428
- [
429
- {
430
- "Fn::GetAtt": [
431
- "testcloudfrontoais3S3Bucket578AB9F3",
432
- "Arn"
433
- ]
434
- },
435
- "/*"
436
- ]
437
- ]
438
- }
439
- },
440
- {
441
- "Action": "s3:GetObject",
442
- "Condition": {
443
- "StringEquals": {
444
- "AWS:SourceArn": {
445
- "Fn::Join": [
446
- "",
447
- [
448
- "arn:",
449
- {
450
- "Ref": "AWS::Partition"
451
- },
452
- ":cloudfront::",
453
- {
454
- "Ref": "AWS::AccountId"
455
- },
456
- ":distribution/",
457
- {
458
- "Ref": "testcloudfrontoais3CloudFrontDistribution0E089CC5"
459
- }
460
- ]
461
- ]
462
- }
463
- }
464
- },
465
- "Effect": "Allow",
466
- "Principal": {
467
- "Service": "cloudfront.amazonaws.com"
468
- },
469
- "Resource": {
470
- "Fn::Join": [
471
- "",
472
- [
473
- {
474
- "Fn::GetAtt": [
475
- "testcloudfrontoais3S3Bucket578AB9F3",
476
- "Arn"
477
- ]
478
- },
479
- "/*"
480
- ]
481
- ]
482
- }
483
- }
484
- ],
485
- "Version": "2012-10-17"
486
- }
487
- }
488
- },
489
- "constructInfo": {
490
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
491
- "version": "2.179.0"
492
- }
493
- }
494
- },
495
- "constructInfo": {
496
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
497
- "version": "2.179.0",
498
- "metadata": [
499
- {
500
- "bucket": "*"
501
- }
502
- ]
503
- }
504
- },
505
- "AutoDeleteObjectsCustomResource": {
506
- "id": "AutoDeleteObjectsCustomResource",
507
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource",
508
- "children": {
509
- "Default": {
510
- "id": "Default",
511
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource/Default",
512
- "constructInfo": {
513
- "fqn": "aws-cdk-lib.CfnResource",
514
- "version": "2.179.0"
515
- }
516
- }
517
- },
518
- "constructInfo": {
519
- "fqn": "aws-cdk-lib.CustomResource",
520
- "version": "2.179.0",
521
- "metadata": [
522
- "*"
523
- ]
524
- }
525
- }
526
- },
527
- "constructInfo": {
528
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
529
- "version": "2.179.0",
530
- "metadata": [
531
- {
532
- "encryption": "S3_MANAGED",
533
- "versioned": true,
534
- "blockPublicAccess": "*",
535
- "removalPolicy": "destroy",
536
- "enforceSSL": true,
537
- "lifecycleRules": [
538
- {
539
- "noncurrentVersionTransitions": [
540
- {
541
- "storageClass": "*"
542
- }
543
- ]
544
- }
545
- ],
546
- "serverAccessLogsBucket": "*",
547
- "autoDeleteObjects": true
548
- },
549
- {
550
- "addLifecycleRule": [
551
- {
552
- "noncurrentVersionTransitions": [
553
- {
554
- "storageClass": "*"
555
- }
556
- ]
557
- },
558
- "*",
559
- "*"
560
- ]
561
- }
562
- ]
563
- }
564
- },
565
- "SetHttpSecurityHeaders": {
566
- "id": "SetHttpSecurityHeaders",
567
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/SetHttpSecurityHeaders",
568
- "children": {
569
- "Resource": {
570
- "id": "Resource",
571
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/SetHttpSecurityHeaders/Resource",
572
- "attributes": {
573
- "aws:cdk:cloudformation:type": "AWS::CloudFront::Function",
574
- "aws:cdk:cloudformation:props": {
575
- "autoPublish": true,
576
- "functionCode": "function handler(event) { var response = event.response; var headers = response.headers; headers['strict-transport-security'] = { value: 'max-age=63072000; includeSubdomains; preload'}; headers['content-security-policy'] = { value: \"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'\"}; headers['x-content-type-options'] = { value: 'nosniff'}; headers['x-frame-options'] = {value: 'DENY'}; headers['x-xss-protection'] = {value: '1; mode=block'}; return response; }",
577
- "functionConfig": {
578
- "comment": "SetHttpSecurityHeadersc8468fd170bf5278d204f24e153252ea2649059b5f",
579
- "runtime": "cloudfront-js-1.0"
580
- },
581
- "name": "SetHttpSecurityHeadersc8468fd170bf5278d204f24e153252ea2649059b5f"
582
- }
583
- },
584
- "constructInfo": {
585
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnFunction",
586
- "version": "2.179.0"
587
- }
588
- }
589
- },
590
- "constructInfo": {
591
- "fqn": "aws-cdk-lib.aws_cloudfront.Function",
592
- "version": "2.179.0",
593
- "metadata": [
594
- {
595
- "functionName": "*",
596
- "code": "*"
597
- }
598
- ]
599
- }
600
- },
601
- "CloudfrontLoggingBucketAccessLog": {
602
- "id": "CloudfrontLoggingBucketAccessLog",
603
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog",
604
- "children": {
605
- "Resource": {
606
- "id": "Resource",
607
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Resource",
608
- "attributes": {
609
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
610
- "aws:cdk:cloudformation:props": {
611
- "bucketEncryption": {
612
- "serverSideEncryptionConfiguration": [
613
- {
614
- "serverSideEncryptionByDefault": {
615
- "sseAlgorithm": "AES256"
616
- }
617
- }
618
- ]
619
- },
620
- "publicAccessBlockConfiguration": {
621
- "blockPublicAcls": true,
622
- "blockPublicPolicy": true,
623
- "ignorePublicAcls": true,
624
- "restrictPublicBuckets": true
625
- },
626
- "tags": [
627
- {
628
- "key": "aws-cdk:auto-delete-objects",
629
- "value": "true"
630
- }
631
- ],
632
- "versioningConfiguration": {
633
- "status": "Enabled"
634
- }
635
- }
636
- },
637
- "constructInfo": {
638
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
639
- "version": "2.179.0"
640
- }
641
- },
642
- "Policy": {
643
- "id": "Policy",
644
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Policy",
645
- "children": {
646
- "Resource": {
647
- "id": "Resource",
648
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Policy/Resource",
649
- "attributes": {
650
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
651
- "aws:cdk:cloudformation:props": {
652
- "bucket": {
653
- "Ref": "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80"
654
- },
655
- "policyDocument": {
656
- "Statement": [
657
- {
658
- "Action": "s3:*",
659
- "Condition": {
660
- "Bool": {
661
- "aws:SecureTransport": "false"
662
- }
663
- },
664
- "Effect": "Deny",
665
- "Principal": {
666
- "AWS": "*"
667
- },
668
- "Resource": [
669
- {
670
- "Fn::GetAtt": [
671
- "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80",
672
- "Arn"
673
- ]
674
- },
675
- {
676
- "Fn::Join": [
677
- "",
678
- [
679
- {
680
- "Fn::GetAtt": [
681
- "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80",
682
- "Arn"
683
- ]
684
- },
685
- "/*"
686
- ]
687
- ]
688
- }
689
- ]
690
- },
691
- {
692
- "Action": [
693
- "s3:DeleteObject*",
694
- "s3:GetBucket*",
695
- "s3:List*",
696
- "s3:PutBucketPolicy"
697
- ],
698
- "Effect": "Allow",
699
- "Principal": {
700
- "AWS": {
701
- "Fn::GetAtt": [
702
- "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
703
- "Arn"
704
- ]
705
- }
706
- },
707
- "Resource": [
708
- {
709
- "Fn::GetAtt": [
710
- "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80",
711
- "Arn"
712
- ]
713
- },
714
- {
715
- "Fn::Join": [
716
- "",
717
- [
718
- {
719
- "Fn::GetAtt": [
720
- "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80",
721
- "Arn"
722
- ]
723
- },
724
- "/*"
725
- ]
726
- ]
727
- }
728
- ]
729
- },
730
- {
731
- "Action": "s3:PutObject",
732
- "Condition": {
733
- "ArnLike": {
734
- "aws:SourceArn": {
735
- "Fn::GetAtt": [
736
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
737
- "Arn"
738
- ]
739
- }
740
- },
741
- "StringEquals": {
742
- "aws:SourceAccount": {
743
- "Ref": "AWS::AccountId"
744
- }
745
- }
746
- },
747
- "Effect": "Allow",
748
- "Principal": {
749
- "Service": "logging.s3.amazonaws.com"
750
- },
751
- "Resource": {
752
- "Fn::Join": [
753
- "",
754
- [
755
- {
756
- "Fn::GetAtt": [
757
- "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80",
758
- "Arn"
759
- ]
760
- },
761
- "/*"
762
- ]
763
- ]
764
- }
765
- }
766
- ],
767
- "Version": "2012-10-17"
768
- }
769
- }
770
- },
771
- "constructInfo": {
772
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
773
- "version": "2.179.0"
774
- }
775
- }
776
- },
777
- "constructInfo": {
778
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
779
- "version": "2.179.0",
780
- "metadata": [
781
- {
782
- "bucket": "*"
783
- }
784
- ]
785
- }
786
- },
787
- "AutoDeleteObjectsCustomResource": {
788
- "id": "AutoDeleteObjectsCustomResource",
789
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource",
790
- "children": {
791
- "Default": {
792
- "id": "Default",
793
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource/Default",
794
- "constructInfo": {
795
- "fqn": "aws-cdk-lib.CfnResource",
796
- "version": "2.179.0"
797
- }
798
- }
799
- },
800
- "constructInfo": {
801
- "fqn": "aws-cdk-lib.CustomResource",
802
- "version": "2.179.0",
803
- "metadata": [
804
- "*"
805
- ]
806
- }
807
- }
808
- },
809
- "constructInfo": {
810
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
811
- "version": "2.179.0",
812
- "metadata": [
813
- {
814
- "encryption": "S3_MANAGED",
815
- "versioned": true,
816
- "blockPublicAccess": "*",
817
- "removalPolicy": "destroy",
818
- "enforceSSL": true,
819
- "autoDeleteObjects": true
820
- }
821
- ]
822
- }
823
- },
824
- "CloudfrontLoggingBucket": {
825
- "id": "CloudfrontLoggingBucket",
826
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket",
827
- "children": {
828
- "Resource": {
829
- "id": "Resource",
830
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Resource",
831
- "attributes": {
832
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
833
- "aws:cdk:cloudformation:props": {
834
- "bucketEncryption": {
835
- "serverSideEncryptionConfiguration": [
836
- {
837
- "serverSideEncryptionByDefault": {
838
- "sseAlgorithm": "AES256"
839
- }
840
- }
841
- ]
842
- },
843
- "lifecycleConfiguration": {
844
- "rules": [
845
- {
846
- "status": "Enabled",
847
- "transitions": [
848
- {
849
- "storageClass": "GLACIER",
850
- "transitionInDays": 7
851
- }
852
- ]
853
- }
854
- ]
855
- },
856
- "loggingConfiguration": {
857
- "destinationBucketName": {
858
- "Ref": "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80"
859
- }
860
- },
861
- "ownershipControls": {
862
- "rules": [
863
- {
864
- "objectOwnership": "ObjectWriter"
865
- }
866
- ]
867
- },
868
- "publicAccessBlockConfiguration": {
869
- "blockPublicAcls": true,
870
- "blockPublicPolicy": true,
871
- "ignorePublicAcls": true,
872
- "restrictPublicBuckets": true
873
- },
874
- "tags": [
875
- {
876
- "key": "aws-cdk:auto-delete-objects",
877
- "value": "true"
878
- }
879
- ],
880
- "versioningConfiguration": {
881
- "status": "Enabled"
882
- }
883
- }
884
- },
885
- "constructInfo": {
886
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
887
- "version": "2.179.0"
888
- }
889
- },
890
- "Policy": {
891
- "id": "Policy",
892
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy",
893
- "children": {
894
- "Resource": {
895
- "id": "Resource",
896
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy/Resource",
897
- "attributes": {
898
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
899
- "aws:cdk:cloudformation:props": {
900
- "bucket": {
901
- "Ref": "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC"
902
- },
903
- "policyDocument": {
904
- "Statement": [
905
- {
906
- "Action": "s3:*",
907
- "Condition": {
908
- "Bool": {
909
- "aws:SecureTransport": "false"
910
- }
911
- },
912
- "Effect": "Deny",
913
- "Principal": {
914
- "AWS": "*"
915
- },
916
- "Resource": [
917
- {
918
- "Fn::GetAtt": [
919
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
920
- "Arn"
921
- ]
922
- },
923
- {
924
- "Fn::Join": [
925
- "",
926
- [
927
- {
928
- "Fn::GetAtt": [
929
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
930
- "Arn"
931
- ]
932
- },
933
- "/*"
934
- ]
935
- ]
936
- }
937
- ]
938
- },
939
- {
940
- "Action": [
941
- "s3:DeleteObject*",
942
- "s3:GetBucket*",
943
- "s3:List*",
944
- "s3:PutBucketPolicy"
945
- ],
946
- "Effect": "Allow",
947
- "Principal": {
948
- "AWS": {
949
- "Fn::GetAtt": [
950
- "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
951
- "Arn"
952
- ]
953
- }
954
- },
955
- "Resource": [
956
- {
957
- "Fn::GetAtt": [
958
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
959
- "Arn"
960
- ]
961
- },
962
- {
963
- "Fn::Join": [
964
- "",
965
- [
966
- {
967
- "Fn::GetAtt": [
968
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
969
- "Arn"
970
- ]
971
- },
972
- "/*"
973
- ]
974
- ]
975
- }
976
- ]
977
- }
978
- ],
979
- "Version": "2012-10-17"
980
- }
981
- }
982
- },
983
- "constructInfo": {
984
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
985
- "version": "2.179.0"
986
- }
987
- }
988
- },
989
- "constructInfo": {
990
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
991
- "version": "2.179.0",
992
- "metadata": [
993
- {
994
- "bucket": "*"
995
- }
996
- ]
997
- }
998
- },
999
- "AutoDeleteObjectsCustomResource": {
1000
- "id": "AutoDeleteObjectsCustomResource",
1001
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource",
1002
- "children": {
1003
- "Default": {
1004
- "id": "Default",
1005
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default",
1006
- "constructInfo": {
1007
- "fqn": "aws-cdk-lib.CfnResource",
1008
- "version": "2.179.0"
1009
- }
1010
- }
1011
- },
1012
- "constructInfo": {
1013
- "fqn": "aws-cdk-lib.CustomResource",
1014
- "version": "2.179.0",
1015
- "metadata": [
1016
- "*"
1017
- ]
1018
- }
1019
- }
1020
- },
1021
- "constructInfo": {
1022
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
1023
- "version": "2.179.0",
1024
- "metadata": [
1025
- {
1026
- "encryption": "S3_MANAGED",
1027
- "versioned": true,
1028
- "blockPublicAccess": "*",
1029
- "removalPolicy": "destroy",
1030
- "enforceSSL": true,
1031
- "autoDeleteObjects": true,
1032
- "lifecycleRules": [
1033
- {
1034
- "enabled": true,
1035
- "transitions": "*"
1036
- }
1037
- ],
1038
- "objectOwnership": "ObjectWriter",
1039
- "serverAccessLogsBucket": "*"
1040
- },
1041
- {
1042
- "addLifecycleRule": [
1043
- {
1044
- "enabled": true,
1045
- "transitions": "*"
1046
- },
1047
- "*",
1048
- "*"
1049
- ]
1050
- }
1051
- ]
1052
- }
1053
- },
1054
- "constructsGeneratedOai": {
1055
- "id": "constructsGeneratedOai",
1056
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai",
1057
- "children": {
1058
- "Resource": {
1059
- "id": "Resource",
1060
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai/Resource",
1061
- "attributes": {
1062
- "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
1063
- "aws:cdk:cloudformation:props": {
1064
- "cloudFrontOriginAccessIdentityConfig": {
1065
- "comment": "Allows CloudFront to reach the bucket"
1066
- }
1067
- }
1068
- },
1069
- "constructInfo": {
1070
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
1071
- "version": "2.179.0"
1072
- }
1073
- }
1074
- },
1075
- "constructInfo": {
1076
- "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
1077
- "version": "2.179.0",
1078
- "metadata": [
1079
- "*"
1080
- ]
1081
- }
1082
- },
1083
- "CloudFrontDistribution": {
1084
- "id": "CloudFrontDistribution",
1085
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution",
1086
- "children": {
1087
- "Origin1": {
1088
- "id": "Origin1",
1089
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1",
1090
- "constructInfo": {
1091
- "fqn": "constructs.Construct",
1092
- "version": "10.4.2"
1093
- }
1094
- },
1095
- "Resource": {
1096
- "id": "Resource",
1097
- "path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Resource",
1098
- "attributes": {
1099
- "aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
1100
- "aws:cdk:cloudformation:props": {
1101
- "distributionConfig": {
1102
- "enabled": true,
1103
- "origins": [
1104
- {
1105
- "domainName": {
1106
- "Fn::GetAtt": [
1107
- "testcloudfrontoais3S3Bucket578AB9F3",
1108
- "RegionalDomainName"
1109
- ]
1110
- },
1111
- "id": "cftoais3customLoggingBucketstestcloudfrontoais3CloudFrontDistributionOrigin108880941",
1112
- "s3OriginConfig": {
1113
- "originAccessIdentity": {
1114
- "Fn::Join": [
1115
- "",
1116
- [
1117
- "origin-access-identity/cloudfront/",
1118
- {
1119
- "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
1120
- }
1121
- ]
1122
- ]
1123
- }
1124
- }
1125
- }
1126
- ],
1127
- "defaultCacheBehavior": {
1128
- "pathPattern": "*",
1129
- "targetOriginId": "cftoais3customLoggingBucketstestcloudfrontoais3CloudFrontDistributionOrigin108880941",
1130
- "cachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
1131
- "compress": true,
1132
- "viewerProtocolPolicy": "redirect-to-https",
1133
- "functionAssociations": [
1134
- {
1135
- "functionArn": {
1136
- "Fn::GetAtt": [
1137
- "testcloudfrontoais3SetHttpSecurityHeaders4EB3C97B",
1138
- "FunctionARN"
1139
- ]
1140
- },
1141
- "eventType": "viewer-response"
1142
- }
1143
- ]
1144
- },
1145
- "defaultRootObject": "index.html",
1146
- "httpVersion": "http2",
1147
- "ipv6Enabled": true,
1148
- "logging": {
1149
- "bucket": {
1150
- "Fn::GetAtt": [
1151
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
1152
- "RegionalDomainName"
1153
- ]
1154
- }
1155
- }
1156
- }
1157
- }
1158
- },
1159
- "constructInfo": {
1160
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
1161
- "version": "2.179.0"
1162
- }
1163
- }
1164
- },
1165
- "constructInfo": {
1166
- "fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
1167
- "version": "2.179.0",
1168
- "metadata": [
1169
- {
1170
- "defaultBehavior": {
1171
- "origin": "*",
1172
- "viewerProtocolPolicy": "redirect-to-https",
1173
- "functionAssociations": [
1174
- {
1175
- "eventType": "viewer-response",
1176
- "function": "*"
1177
- }
1178
- ]
1179
- },
1180
- "enableLogging": true,
1181
- "logBucket": "*",
1182
- "defaultRootObject": "*"
1183
- }
1184
- ]
1185
- }
1186
- }
1187
- },
1188
- "constructInfo": {
1189
- "fqn": "@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3",
1190
- "version": "2.79.1"
1191
- }
1192
- },
1193
- "LatestNodeRuntimeMap": {
1194
- "id": "LatestNodeRuntimeMap",
1195
- "path": "cftoais3-customLoggingBuckets/LatestNodeRuntimeMap",
1196
- "constructInfo": {
1197
- "fqn": "aws-cdk-lib.CfnMapping",
1198
- "version": "2.179.0"
1199
- }
1200
- },
1201
- "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
1202
- "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
1203
- "path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider",
1204
- "children": {
1205
- "Staging": {
1206
- "id": "Staging",
1207
- "path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
1208
- "constructInfo": {
1209
- "fqn": "aws-cdk-lib.AssetStaging",
1210
- "version": "2.179.0"
1211
- }
1212
- },
1213
- "Role": {
1214
- "id": "Role",
1215
- "path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
1216
- "constructInfo": {
1217
- "fqn": "aws-cdk-lib.CfnResource",
1218
- "version": "2.179.0"
1219
- }
1220
- },
1221
- "Handler": {
1222
- "id": "Handler",
1223
- "path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
1224
- "constructInfo": {
1225
- "fqn": "aws-cdk-lib.CfnResource",
1226
- "version": "2.179.0"
1227
- }
1228
- }
1229
- },
1230
- "constructInfo": {
1231
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
1232
- "version": "2.179.0"
1233
- }
1234
- },
1235
- "Integ": {
1236
- "id": "Integ",
1237
- "path": "cftoais3-customLoggingBuckets/Integ",
1238
- "children": {
1239
- "DefaultTest": {
1240
- "id": "DefaultTest",
1241
- "path": "cftoais3-customLoggingBuckets/Integ/DefaultTest",
1242
- "children": {
1243
- "Default": {
1244
- "id": "Default",
1245
- "path": "cftoais3-customLoggingBuckets/Integ/DefaultTest/Default",
1246
- "constructInfo": {
1247
- "fqn": "constructs.Construct",
1248
- "version": "10.4.2"
1249
- }
1250
- },
1251
- "DeployAssert": {
1252
- "id": "DeployAssert",
1253
- "path": "cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert",
1254
- "children": {
1255
- "BootstrapVersion": {
1256
- "id": "BootstrapVersion",
1257
- "path": "cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1258
- "constructInfo": {
1259
- "fqn": "aws-cdk-lib.CfnParameter",
1260
- "version": "2.179.0"
1261
- }
1262
- },
1263
- "CheckBootstrapVersion": {
1264
- "id": "CheckBootstrapVersion",
1265
- "path": "cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1266
- "constructInfo": {
1267
- "fqn": "aws-cdk-lib.CfnRule",
1268
- "version": "2.179.0"
1269
- }
1270
- }
1271
- },
1272
- "constructInfo": {
1273
- "fqn": "aws-cdk-lib.Stack",
1274
- "version": "2.179.0"
1275
- }
1276
- }
1277
- },
1278
- "constructInfo": {
1279
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1280
- "version": "2.179.0-alpha.0"
1281
- }
1282
- }
1283
- },
1284
- "constructInfo": {
1285
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1286
- "version": "2.179.0-alpha.0"
1287
- }
1288
- },
1289
- "BootstrapVersion": {
1290
- "id": "BootstrapVersion",
1291
- "path": "cftoais3-customLoggingBuckets/BootstrapVersion",
1292
- "constructInfo": {
1293
- "fqn": "aws-cdk-lib.CfnParameter",
1294
- "version": "2.179.0"
1295
- }
1296
- },
1297
- "CheckBootstrapVersion": {
1298
- "id": "CheckBootstrapVersion",
1299
- "path": "cftoais3-customLoggingBuckets/CheckBootstrapVersion",
1300
- "constructInfo": {
1301
- "fqn": "aws-cdk-lib.CfnRule",
1302
- "version": "2.179.0"
1303
- }
1304
- }
1305
- },
1306
- "constructInfo": {
1307
- "fqn": "aws-cdk-lib.Stack",
1308
- "version": "2.179.0"
1309
- }
1310
- },
1311
- "Tree": {
1312
- "id": "Tree",
1313
- "path": "Tree",
1314
- "constructInfo": {
1315
- "fqn": "constructs.Construct",
1316
- "version": "10.4.2"
1317
- }
1318
- }
1319
- },
1320
- "constructInfo": {
1321
- "fqn": "aws-cdk-lib.App",
1322
- "version": "2.179.0"
1323
- }
1324
- }
1325
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"cftoais3-customLoggingBuckets":{"id":"cftoais3-customLoggingBuckets","path":"cftoais3-customLoggingBuckets","children":{"test-cloudfront-oai-s3":{"id":"test-cloudfront-oai-s3","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3","children":{"S3LoggingBucket":{"id":"S3LoggingBucket","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"lifecycleConfiguration":{"rules":[{"status":"Enabled","transitions":[{"storageClass":"GLACIER","transitionInDays":7}]}]},"publicAccessBlockConfiguration":{"blockPublicAcls":true,"blockPublicPolicy":true,"ignorePublicAcls":true,"restrictPublicBuckets":true},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.193.0"}},"Policy":{"id":"Policy","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Policy","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"testcloudfrontoais3S3LoggingBucketC8A21DD9"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3S3LoggingBucketC8A21DD9","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3LoggingBucketC8A21DD9","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3S3LoggingBucketC8A21DD9","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3LoggingBucketC8A21DD9","Arn"]},"/*"]]}]},{"Action":"s3:PutObject","Condition":{"ArnLike":{"aws:SourceArn":{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]}},"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}}},"Effect":"Allow","Principal":{"Service":"logging.s3.amazonaws.com"},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3LoggingBucketC8A21DD9","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.193.0","metadata":[{"bucket":"*"}]}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.193.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.193.0","metadata":[{"encryption":"S3_MANAGED","versioned":true,"blockPublicAccess":"*","removalPolicy":"destroy","enforceSSL":true,"autoDeleteObjects":true,"lifecycleRules":[{"enabled":true,"transitions":"*"}]},{"addLifecycleRule":[{"enabled":true,"transitions":"*"},"*","*"]}]}},"S3Bucket":{"id":"S3Bucket","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"lifecycleConfiguration":{"rules":[{"noncurrentVersionTransitions":[{"storageClass":"GLACIER","transitionInDays":90}],"status":"Enabled"}]},"loggingConfiguration":{"destinationBucketName":{"Ref":"testcloudfrontoais3S3LoggingBucketC8A21DD9"}},"publicAccessBlockConfiguration":{"blockPublicAcls":true,"blockPublicPolicy":true,"ignorePublicAcls":true,"restrictPublicBuckets":true},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.193.0"}},"Policy":{"id":"Policy","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Policy","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"testcloudfrontoais3S3Bucket578AB9F3"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]},"/*"]]}]},{"Action":"s3:GetObject","Effect":"Allow","Principal":{"CanonicalUser":{"Fn::GetAtt":["testcloudfrontoais3constructsGeneratedOaiA468F478","S3CanonicalUserId"]}},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]},"/*"]]}},{"Action":"s3:GetObject","Condition":{"StringEquals":{"AWS:SourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":cloudfront::",{"Ref":"AWS::AccountId"},":distribution/",{"Ref":"testcloudfrontoais3CloudFrontDistribution0E089CC5"}]]}}},"Effect":"Allow","Principal":{"Service":"cloudfront.amazonaws.com"},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.193.0","metadata":[{"bucket":"*"}]}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.193.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.193.0","metadata":[{"encryption":"S3_MANAGED","versioned":true,"blockPublicAccess":"*","removalPolicy":"destroy","enforceSSL":true,"lifecycleRules":[{"noncurrentVersionTransitions":[{"storageClass":"*"}]}],"serverAccessLogsBucket":"*","autoDeleteObjects":true},{"addLifecycleRule":[{"noncurrentVersionTransitions":[{"storageClass":"*"}]},"*","*"]}]}},"SetHttpSecurityHeaders":{"id":"SetHttpSecurityHeaders","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/SetHttpSecurityHeaders","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/SetHttpSecurityHeaders/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::Function","aws:cdk:cloudformation:props":{"autoPublish":true,"functionCode":"function handler(event) { var response = event.response; var headers = response.headers; headers['strict-transport-security'] = { value: 'max-age=63072000; includeSubdomains; preload'}; headers['content-security-policy'] = { value: \"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'\"}; headers['x-content-type-options'] = { value: 'nosniff'}; headers['x-frame-options'] = {value: 'DENY'}; headers['x-xss-protection'] = {value: '1; mode=block'}; return response; }","functionConfig":{"comment":"SetHttpSecurityHeadersc8468fd170bf5278d204f24e153252ea2649059b5f","runtime":"cloudfront-js-1.0"},"name":"SetHttpSecurityHeadersc8468fd170bf5278d204f24e153252ea2649059b5f"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnFunction","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.Function","version":"2.193.0","metadata":[{"functionName":"*","code":"*"}]}},"CloudfrontLoggingBucketAccessLog":{"id":"CloudfrontLoggingBucketAccessLog","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"publicAccessBlockConfiguration":{"blockPublicAcls":true,"blockPublicPolicy":true,"ignorePublicAcls":true,"restrictPublicBuckets":true},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.193.0"}},"Policy":{"id":"Policy","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Policy","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80","Arn"]},"/*"]]}]},{"Action":"s3:PutObject","Condition":{"ArnLike":{"aws:SourceArn":{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucket55AA79FC","Arn"]}},"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}}},"Effect":"Allow","Principal":{"Service":"logging.s3.amazonaws.com"},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.193.0","metadata":[{"bucket":"*"}]}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.193.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.193.0","metadata":[{"encryption":"S3_MANAGED","versioned":true,"blockPublicAccess":"*","removalPolicy":"destroy","enforceSSL":true,"autoDeleteObjects":true}]}},"CloudfrontLoggingBucket":{"id":"CloudfrontLoggingBucket","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"lifecycleConfiguration":{"rules":[{"status":"Enabled","transitions":[{"storageClass":"GLACIER","transitionInDays":7}]}]},"loggingConfiguration":{"destinationBucketName":{"Ref":"testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80"}},"ownershipControls":{"rules":[{"objectOwnership":"ObjectWriter"}]},"publicAccessBlockConfiguration":{"blockPublicAcls":true,"blockPublicPolicy":true,"ignorePublicAcls":true,"restrictPublicBuckets":true},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.193.0"}},"Policy":{"id":"Policy","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"testcloudfrontoais3CloudfrontLoggingBucket55AA79FC"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucket55AA79FC","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucket55AA79FC","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucket55AA79FC","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucket55AA79FC","Arn"]},"/*"]]}]}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.193.0","metadata":[{"bucket":"*"}]}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.193.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.193.0","metadata":[{"encryption":"S3_MANAGED","versioned":true,"blockPublicAccess":"*","removalPolicy":"destroy","enforceSSL":true,"autoDeleteObjects":true,"lifecycleRules":[{"enabled":true,"transitions":"*"}],"objectOwnership":"ObjectWriter","serverAccessLogsBucket":"*"},{"addLifecycleRule":[{"enabled":true,"transitions":"*"},"*","*"]}]}},"constructsGeneratedOai":{"id":"constructsGeneratedOai","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai","children":{"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::CloudFrontOriginAccessIdentity","aws:cdk:cloudformation:props":{"cloudFrontOriginAccessIdentityConfig":{"comment":"Allows CloudFront to reach the bucket"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.OriginAccessIdentity","version":"2.193.0","metadata":["*"]}},"CloudFrontDistribution":{"id":"CloudFrontDistribution","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution","children":{"Origin1":{"id":"Origin1","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"Resource":{"id":"Resource","path":"cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::Distribution","aws:cdk:cloudformation:props":{"distributionConfig":{"enabled":true,"origins":[{"domainName":{"Fn::GetAtt":["testcloudfrontoais3S3Bucket578AB9F3","RegionalDomainName"]},"id":"cftoais3customLoggingBucketstestcloudfrontoais3CloudFrontDistributionOrigin108880941","s3OriginConfig":{"originAccessIdentity":{"Fn::Join":["",["origin-access-identity/cloudfront/",{"Ref":"testcloudfrontoais3constructsGeneratedOaiA468F478"}]]}}}],"defaultCacheBehavior":{"pathPattern":"*","targetOriginId":"cftoais3customLoggingBucketstestcloudfrontoais3CloudFrontDistributionOrigin108880941","cachePolicyId":"658327ea-f89d-4fab-a63d-7e88639e58f6","compress":true,"viewerProtocolPolicy":"redirect-to-https","functionAssociations":[{"functionArn":{"Fn::GetAtt":["testcloudfrontoais3SetHttpSecurityHeaders4EB3C97B","FunctionARN"]},"eventType":"viewer-response"}]},"defaultRootObject":"index.html","httpVersion":"http2","ipv6Enabled":true,"logging":{"bucket":{"Fn::GetAtt":["testcloudfrontoais3CloudfrontLoggingBucket55AA79FC","RegionalDomainName"]}}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnDistribution","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.Distribution","version":"2.193.0","metadata":[{"defaultBehavior":{"origin":"*","viewerProtocolPolicy":"redirect-to-https","functionAssociations":[{"eventType":"viewer-response","function":"*"}]},"enableLogging":true,"logBucket":"*","defaultRootObject":"*"}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3","version":"2.85.0"}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"cftoais3-customLoggingBuckets/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.193.0"}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.193.0"}},"Role":{"id":"Role","path":"cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}},"Handler":{"id":"Handler","path":"cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.193.0"}},"Integ":{"id":"Integ","path":"cftoais3-customLoggingBuckets/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"cftoais3-customLoggingBuckets/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"cftoais3-customLoggingBuckets/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.193.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.193.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.193.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.193.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"cftoais3-customLoggingBuckets/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.193.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cftoais3-customLoggingBuckets/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.193.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.193.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.193.0"}}}