@aws-solutions-constructs/aws-cloudfront-s3 2.85.0 → 2.85.2

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