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