@aws-solutions-constructs/aws-cloudfront-oai-s3 2.85.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 +5 -5
  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,809 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "cftoais3-no-cloudfront-s3-access-logs": {
8
- "id": "cftoais3-no-cloudfront-s3-access-logs",
9
- "path": "cftoais3-no-cloudfront-s3-access-logs",
10
- "children": {
11
- "test-cloudfront-oai-s3": {
12
- "id": "test-cloudfront-oai-s3",
13
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3",
14
- "children": {
15
- "S3Bucket": {
16
- "id": "S3Bucket",
17
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket",
18
- "children": {
19
- "Resource": {
20
- "id": "Resource",
21
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/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
- "noncurrentVersionTransitions": [
38
- {
39
- "storageClass": "GLACIER",
40
- "transitionInDays": 90
41
- }
42
- ],
43
- "status": "Enabled"
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-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/Policy",
72
- "children": {
73
- "Resource": {
74
- "id": "Resource",
75
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/Policy/Resource",
76
- "attributes": {
77
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
78
- "aws:cdk:cloudformation:props": {
79
- "bucket": {
80
- "Ref": "testcloudfrontoais3S3Bucket578AB9F3"
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
- "testcloudfrontoais3S3Bucket578AB9F3",
99
- "Arn"
100
- ]
101
- },
102
- {
103
- "Fn::Join": [
104
- "",
105
- [
106
- {
107
- "Fn::GetAtt": [
108
- "testcloudfrontoais3S3Bucket578AB9F3",
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
- "testcloudfrontoais3S3Bucket578AB9F3",
138
- "Arn"
139
- ]
140
- },
141
- {
142
- "Fn::Join": [
143
- "",
144
- [
145
- {
146
- "Fn::GetAtt": [
147
- "testcloudfrontoais3S3Bucket578AB9F3",
148
- "Arn"
149
- ]
150
- },
151
- "/*"
152
- ]
153
- ]
154
- }
155
- ]
156
- },
157
- {
158
- "Action": "s3:GetObject",
159
- "Effect": "Allow",
160
- "Principal": {
161
- "CanonicalUser": {
162
- "Fn::GetAtt": [
163
- "testcloudfrontoais3constructsGeneratedOaiA468F478",
164
- "S3CanonicalUserId"
165
- ]
166
- }
167
- },
168
- "Resource": {
169
- "Fn::Join": [
170
- "",
171
- [
172
- {
173
- "Fn::GetAtt": [
174
- "testcloudfrontoais3S3Bucket578AB9F3",
175
- "Arn"
176
- ]
177
- },
178
- "/*"
179
- ]
180
- ]
181
- }
182
- },
183
- {
184
- "Action": "s3:GetObject",
185
- "Condition": {
186
- "StringEquals": {
187
- "AWS:SourceArn": {
188
- "Fn::Join": [
189
- "",
190
- [
191
- "arn:",
192
- {
193
- "Ref": "AWS::Partition"
194
- },
195
- ":cloudfront::",
196
- {
197
- "Ref": "AWS::AccountId"
198
- },
199
- ":distribution/",
200
- {
201
- "Ref": "testcloudfrontoais3CloudFrontDistribution0E089CC5"
202
- }
203
- ]
204
- ]
205
- }
206
- }
207
- },
208
- "Effect": "Allow",
209
- "Principal": {
210
- "Service": "cloudfront.amazonaws.com"
211
- },
212
- "Resource": {
213
- "Fn::Join": [
214
- "",
215
- [
216
- {
217
- "Fn::GetAtt": [
218
- "testcloudfrontoais3S3Bucket578AB9F3",
219
- "Arn"
220
- ]
221
- },
222
- "/*"
223
- ]
224
- ]
225
- }
226
- }
227
- ],
228
- "Version": "2012-10-17"
229
- }
230
- }
231
- },
232
- "constructInfo": {
233
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
234
- "version": "2.179.0"
235
- }
236
- }
237
- },
238
- "constructInfo": {
239
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
240
- "version": "2.179.0",
241
- "metadata": [
242
- {
243
- "bucket": "*"
244
- }
245
- ]
246
- }
247
- },
248
- "AutoDeleteObjectsCustomResource": {
249
- "id": "AutoDeleteObjectsCustomResource",
250
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource",
251
- "children": {
252
- "Default": {
253
- "id": "Default",
254
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource/Default",
255
- "constructInfo": {
256
- "fqn": "aws-cdk-lib.CfnResource",
257
- "version": "2.179.0"
258
- }
259
- }
260
- },
261
- "constructInfo": {
262
- "fqn": "aws-cdk-lib.CustomResource",
263
- "version": "2.179.0",
264
- "metadata": [
265
- "*"
266
- ]
267
- }
268
- }
269
- },
270
- "constructInfo": {
271
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
272
- "version": "2.179.0",
273
- "metadata": [
274
- {
275
- "encryption": "S3_MANAGED",
276
- "versioned": true,
277
- "blockPublicAccess": "*",
278
- "removalPolicy": "destroy",
279
- "enforceSSL": true,
280
- "lifecycleRules": [
281
- {
282
- "noncurrentVersionTransitions": [
283
- {
284
- "storageClass": "*"
285
- }
286
- ]
287
- }
288
- ],
289
- "autoDeleteObjects": true
290
- },
291
- {
292
- "addLifecycleRule": [
293
- {
294
- "noncurrentVersionTransitions": [
295
- {
296
- "storageClass": "*"
297
- }
298
- ]
299
- },
300
- "*",
301
- "*"
302
- ]
303
- }
304
- ]
305
- }
306
- },
307
- "SetHttpSecurityHeaders": {
308
- "id": "SetHttpSecurityHeaders",
309
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/SetHttpSecurityHeaders",
310
- "children": {
311
- "Resource": {
312
- "id": "Resource",
313
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/SetHttpSecurityHeaders/Resource",
314
- "attributes": {
315
- "aws:cdk:cloudformation:type": "AWS::CloudFront::Function",
316
- "aws:cdk:cloudformation:props": {
317
- "autoPublish": true,
318
- "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; }",
319
- "functionConfig": {
320
- "comment": "SetHttpSecurityHeadersc8f7f4bd284e0dfe896b4ee5e3002830ae26040096",
321
- "runtime": "cloudfront-js-1.0"
322
- },
323
- "name": "SetHttpSecurityHeadersc8f7f4bd284e0dfe896b4ee5e3002830ae26040096"
324
- }
325
- },
326
- "constructInfo": {
327
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnFunction",
328
- "version": "2.179.0"
329
- }
330
- }
331
- },
332
- "constructInfo": {
333
- "fqn": "aws-cdk-lib.aws_cloudfront.Function",
334
- "version": "2.179.0",
335
- "metadata": [
336
- {
337
- "functionName": "*",
338
- "code": "*"
339
- }
340
- ]
341
- }
342
- },
343
- "CloudfrontLoggingBucket": {
344
- "id": "CloudfrontLoggingBucket",
345
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket",
346
- "children": {
347
- "Resource": {
348
- "id": "Resource",
349
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Resource",
350
- "attributes": {
351
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
352
- "aws:cdk:cloudformation:props": {
353
- "bucketEncryption": {
354
- "serverSideEncryptionConfiguration": [
355
- {
356
- "serverSideEncryptionByDefault": {
357
- "sseAlgorithm": "AES256"
358
- }
359
- }
360
- ]
361
- },
362
- "ownershipControls": {
363
- "rules": [
364
- {
365
- "objectOwnership": "ObjectWriter"
366
- }
367
- ]
368
- },
369
- "publicAccessBlockConfiguration": {
370
- "blockPublicAcls": true,
371
- "blockPublicPolicy": true,
372
- "ignorePublicAcls": true,
373
- "restrictPublicBuckets": true
374
- },
375
- "tags": [
376
- {
377
- "key": "aws-cdk:auto-delete-objects",
378
- "value": "true"
379
- }
380
- ],
381
- "versioningConfiguration": {
382
- "status": "Enabled"
383
- }
384
- }
385
- },
386
- "constructInfo": {
387
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
388
- "version": "2.179.0"
389
- }
390
- },
391
- "Policy": {
392
- "id": "Policy",
393
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy",
394
- "children": {
395
- "Resource": {
396
- "id": "Resource",
397
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy/Resource",
398
- "attributes": {
399
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
400
- "aws:cdk:cloudformation:props": {
401
- "bucket": {
402
- "Ref": "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC"
403
- },
404
- "policyDocument": {
405
- "Statement": [
406
- {
407
- "Action": "s3:*",
408
- "Condition": {
409
- "Bool": {
410
- "aws:SecureTransport": "false"
411
- }
412
- },
413
- "Effect": "Deny",
414
- "Principal": {
415
- "AWS": "*"
416
- },
417
- "Resource": [
418
- {
419
- "Fn::GetAtt": [
420
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
421
- "Arn"
422
- ]
423
- },
424
- {
425
- "Fn::Join": [
426
- "",
427
- [
428
- {
429
- "Fn::GetAtt": [
430
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
431
- "Arn"
432
- ]
433
- },
434
- "/*"
435
- ]
436
- ]
437
- }
438
- ]
439
- },
440
- {
441
- "Action": [
442
- "s3:DeleteObject*",
443
- "s3:GetBucket*",
444
- "s3:List*",
445
- "s3:PutBucketPolicy"
446
- ],
447
- "Effect": "Allow",
448
- "Principal": {
449
- "AWS": {
450
- "Fn::GetAtt": [
451
- "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
452
- "Arn"
453
- ]
454
- }
455
- },
456
- "Resource": [
457
- {
458
- "Fn::GetAtt": [
459
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
460
- "Arn"
461
- ]
462
- },
463
- {
464
- "Fn::Join": [
465
- "",
466
- [
467
- {
468
- "Fn::GetAtt": [
469
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
470
- "Arn"
471
- ]
472
- },
473
- "/*"
474
- ]
475
- ]
476
- }
477
- ]
478
- }
479
- ],
480
- "Version": "2012-10-17"
481
- }
482
- }
483
- },
484
- "constructInfo": {
485
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
486
- "version": "2.179.0"
487
- }
488
- }
489
- },
490
- "constructInfo": {
491
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
492
- "version": "2.179.0",
493
- "metadata": [
494
- {
495
- "bucket": "*"
496
- }
497
- ]
498
- }
499
- },
500
- "AutoDeleteObjectsCustomResource": {
501
- "id": "AutoDeleteObjectsCustomResource",
502
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource",
503
- "children": {
504
- "Default": {
505
- "id": "Default",
506
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default",
507
- "constructInfo": {
508
- "fqn": "aws-cdk-lib.CfnResource",
509
- "version": "2.179.0"
510
- }
511
- }
512
- },
513
- "constructInfo": {
514
- "fqn": "aws-cdk-lib.CustomResource",
515
- "version": "2.179.0",
516
- "metadata": [
517
- "*"
518
- ]
519
- }
520
- }
521
- },
522
- "constructInfo": {
523
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
524
- "version": "2.179.0",
525
- "metadata": [
526
- {
527
- "encryption": "S3_MANAGED",
528
- "versioned": true,
529
- "blockPublicAccess": "*",
530
- "removalPolicy": "destroy",
531
- "enforceSSL": true,
532
- "autoDeleteObjects": true,
533
- "objectOwnership": "ObjectWriter"
534
- }
535
- ]
536
- }
537
- },
538
- "constructsGeneratedOai": {
539
- "id": "constructsGeneratedOai",
540
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/constructsGeneratedOai",
541
- "children": {
542
- "Resource": {
543
- "id": "Resource",
544
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/constructsGeneratedOai/Resource",
545
- "attributes": {
546
- "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
547
- "aws:cdk:cloudformation:props": {
548
- "cloudFrontOriginAccessIdentityConfig": {
549
- "comment": "Allows CloudFront to reach the bucket"
550
- }
551
- }
552
- },
553
- "constructInfo": {
554
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
555
- "version": "2.179.0"
556
- }
557
- }
558
- },
559
- "constructInfo": {
560
- "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
561
- "version": "2.179.0",
562
- "metadata": [
563
- "*"
564
- ]
565
- }
566
- },
567
- "CloudFrontDistribution": {
568
- "id": "CloudFrontDistribution",
569
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution",
570
- "children": {
571
- "Origin1": {
572
- "id": "Origin1",
573
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1",
574
- "constructInfo": {
575
- "fqn": "constructs.Construct",
576
- "version": "10.4.2"
577
- }
578
- },
579
- "Resource": {
580
- "id": "Resource",
581
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Resource",
582
- "attributes": {
583
- "aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
584
- "aws:cdk:cloudformation:props": {
585
- "distributionConfig": {
586
- "enabled": true,
587
- "origins": [
588
- {
589
- "domainName": {
590
- "Fn::GetAtt": [
591
- "testcloudfrontoais3S3Bucket578AB9F3",
592
- "RegionalDomainName"
593
- ]
594
- },
595
- "id": "cftoais3nocloudfronts3accesslogstestcloudfrontoais3CloudFrontDistributionOrigin19941995A",
596
- "s3OriginConfig": {
597
- "originAccessIdentity": {
598
- "Fn::Join": [
599
- "",
600
- [
601
- "origin-access-identity/cloudfront/",
602
- {
603
- "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
604
- }
605
- ]
606
- ]
607
- }
608
- }
609
- }
610
- ],
611
- "defaultCacheBehavior": {
612
- "pathPattern": "*",
613
- "targetOriginId": "cftoais3nocloudfronts3accesslogstestcloudfrontoais3CloudFrontDistributionOrigin19941995A",
614
- "cachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
615
- "compress": true,
616
- "viewerProtocolPolicy": "redirect-to-https",
617
- "functionAssociations": [
618
- {
619
- "functionArn": {
620
- "Fn::GetAtt": [
621
- "testcloudfrontoais3SetHttpSecurityHeaders4EB3C97B",
622
- "FunctionARN"
623
- ]
624
- },
625
- "eventType": "viewer-response"
626
- }
627
- ]
628
- },
629
- "defaultRootObject": "index.html",
630
- "httpVersion": "http2",
631
- "ipv6Enabled": true,
632
- "logging": {
633
- "bucket": {
634
- "Fn::GetAtt": [
635
- "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC",
636
- "RegionalDomainName"
637
- ]
638
- }
639
- }
640
- }
641
- }
642
- },
643
- "constructInfo": {
644
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
645
- "version": "2.179.0"
646
- }
647
- }
648
- },
649
- "constructInfo": {
650
- "fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
651
- "version": "2.179.0",
652
- "metadata": [
653
- {
654
- "defaultBehavior": {
655
- "origin": "*",
656
- "viewerProtocolPolicy": "redirect-to-https",
657
- "functionAssociations": [
658
- {
659
- "eventType": "viewer-response",
660
- "function": "*"
661
- }
662
- ]
663
- },
664
- "enableLogging": true,
665
- "logBucket": "*",
666
- "defaultRootObject": "*"
667
- }
668
- ]
669
- }
670
- }
671
- },
672
- "constructInfo": {
673
- "fqn": "@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3",
674
- "version": "2.79.1"
675
- }
676
- },
677
- "LatestNodeRuntimeMap": {
678
- "id": "LatestNodeRuntimeMap",
679
- "path": "cftoais3-no-cloudfront-s3-access-logs/LatestNodeRuntimeMap",
680
- "constructInfo": {
681
- "fqn": "aws-cdk-lib.CfnMapping",
682
- "version": "2.179.0"
683
- }
684
- },
685
- "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
686
- "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
687
- "path": "cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider",
688
- "children": {
689
- "Staging": {
690
- "id": "Staging",
691
- "path": "cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
692
- "constructInfo": {
693
- "fqn": "aws-cdk-lib.AssetStaging",
694
- "version": "2.179.0"
695
- }
696
- },
697
- "Role": {
698
- "id": "Role",
699
- "path": "cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
700
- "constructInfo": {
701
- "fqn": "aws-cdk-lib.CfnResource",
702
- "version": "2.179.0"
703
- }
704
- },
705
- "Handler": {
706
- "id": "Handler",
707
- "path": "cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
708
- "constructInfo": {
709
- "fqn": "aws-cdk-lib.CfnResource",
710
- "version": "2.179.0"
711
- }
712
- }
713
- },
714
- "constructInfo": {
715
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
716
- "version": "2.179.0"
717
- }
718
- },
719
- "Integ": {
720
- "id": "Integ",
721
- "path": "cftoais3-no-cloudfront-s3-access-logs/Integ",
722
- "children": {
723
- "DefaultTest": {
724
- "id": "DefaultTest",
725
- "path": "cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest",
726
- "children": {
727
- "Default": {
728
- "id": "Default",
729
- "path": "cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/Default",
730
- "constructInfo": {
731
- "fqn": "constructs.Construct",
732
- "version": "10.4.2"
733
- }
734
- },
735
- "DeployAssert": {
736
- "id": "DeployAssert",
737
- "path": "cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert",
738
- "children": {
739
- "BootstrapVersion": {
740
- "id": "BootstrapVersion",
741
- "path": "cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert/BootstrapVersion",
742
- "constructInfo": {
743
- "fqn": "aws-cdk-lib.CfnParameter",
744
- "version": "2.179.0"
745
- }
746
- },
747
- "CheckBootstrapVersion": {
748
- "id": "CheckBootstrapVersion",
749
- "path": "cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
750
- "constructInfo": {
751
- "fqn": "aws-cdk-lib.CfnRule",
752
- "version": "2.179.0"
753
- }
754
- }
755
- },
756
- "constructInfo": {
757
- "fqn": "aws-cdk-lib.Stack",
758
- "version": "2.179.0"
759
- }
760
- }
761
- },
762
- "constructInfo": {
763
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
764
- "version": "2.179.0-alpha.0"
765
- }
766
- }
767
- },
768
- "constructInfo": {
769
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
770
- "version": "2.179.0-alpha.0"
771
- }
772
- },
773
- "BootstrapVersion": {
774
- "id": "BootstrapVersion",
775
- "path": "cftoais3-no-cloudfront-s3-access-logs/BootstrapVersion",
776
- "constructInfo": {
777
- "fqn": "aws-cdk-lib.CfnParameter",
778
- "version": "2.179.0"
779
- }
780
- },
781
- "CheckBootstrapVersion": {
782
- "id": "CheckBootstrapVersion",
783
- "path": "cftoais3-no-cloudfront-s3-access-logs/CheckBootstrapVersion",
784
- "constructInfo": {
785
- "fqn": "aws-cdk-lib.CfnRule",
786
- "version": "2.179.0"
787
- }
788
- }
789
- },
790
- "constructInfo": {
791
- "fqn": "aws-cdk-lib.Stack",
792
- "version": "2.179.0"
793
- }
794
- },
795
- "Tree": {
796
- "id": "Tree",
797
- "path": "Tree",
798
- "constructInfo": {
799
- "fqn": "constructs.Construct",
800
- "version": "10.4.2"
801
- }
802
- }
803
- },
804
- "constructInfo": {
805
- "fqn": "aws-cdk-lib.App",
806
- "version": "2.179.0"
807
- }
808
- }
809
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"cftoais3-no-cloudfront-s3-access-logs":{"id":"cftoais3-no-cloudfront-s3-access-logs","path":"cftoais3-no-cloudfront-s3-access-logs","children":{"test-cloudfront-oai-s3":{"id":"test-cloudfront-oai-s3","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3","children":{"S3Bucket":{"id":"S3Bucket","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket","children":{"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/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"}]},"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-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/Policy","children":{"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/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-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftoais3-no-cloudfront-s3-access-logs/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":"*"}]}],"autoDeleteObjects":true},{"addLifecycleRule":[{"noncurrentVersionTransitions":[{"storageClass":"*"}]},"*","*"]}]}},"SetHttpSecurityHeaders":{"id":"SetHttpSecurityHeaders","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/SetHttpSecurityHeaders","children":{"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/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":"SetHttpSecurityHeadersc8f7f4bd284e0dfe896b4ee5e3002830ae26040096","runtime":"cloudfront-js-1.0"},"name":"SetHttpSecurityHeadersc8f7f4bd284e0dfe896b4ee5e3002830ae26040096"}},"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":"*"}]}},"CloudfrontLoggingBucket":{"id":"CloudfrontLoggingBucket","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket","children":{"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"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-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy","children":{"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/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-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftoais3-no-cloudfront-s3-access-logs/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,"objectOwnership":"ObjectWriter"}]}},"constructsGeneratedOai":{"id":"constructsGeneratedOai","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/constructsGeneratedOai","children":{"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/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-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution","children":{"Origin1":{"id":"Origin1","path":"cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"Resource":{"id":"Resource","path":"cftoais3-no-cloudfront-s3-access-logs/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":"cftoais3nocloudfronts3accesslogstestcloudfrontoais3CloudFrontDistributionOrigin19941995A","s3OriginConfig":{"originAccessIdentity":{"Fn::Join":["",["origin-access-identity/cloudfront/",{"Ref":"testcloudfrontoais3constructsGeneratedOaiA468F478"}]]}}}],"defaultCacheBehavior":{"pathPattern":"*","targetOriginId":"cftoais3nocloudfronts3accesslogstestcloudfrontoais3CloudFrontDistributionOrigin19941995A","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-no-cloudfront-s3-access-logs/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.193.0"}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.193.0"}},"Role":{"id":"Role","path":"cftoais3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}},"Handler":{"id":"Handler","path":"cftoais3-no-cloudfront-s3-access-logs/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-no-cloudfront-s3-access-logs/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"cftoais3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.193.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cftoais3-no-cloudfront-s3-access-logs/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-no-cloudfront-s3-access-logs/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.193.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cftoais3-no-cloudfront-s3-access-logs/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"}}}