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