@aws-solutions-constructs/aws-cloudfront-s3 2.64.0 → 2.67.0

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 (37) hide show
  1. package/.jsii +7 -7
  2. package/lib/index.js +4 -3
  3. package/package.json +8 -8
  4. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b/cfn-response.js +1 -0
  5. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b/framework.js +3 -0
  6. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.assets.json +5 -5
  7. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.template.json +8 -1
  8. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/manifest.json +1 -1
  9. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/tree.json +70 -70
  10. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b/cfn-response.js +1 -0
  11. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b/framework.js +3 -0
  12. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.assets.json +5 -5
  13. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.template.json +8 -1
  14. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/manifest.json +1 -1
  15. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/tree.json +68 -68
  16. package/test/integ.cfts3-no-cloudfront-s3-access-logs.d.ts +13 -0
  17. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js +60 -0
  18. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  19. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cdk.out +1 -0
  20. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3-no-cloudfront-s3-access-logs.assets.json +32 -0
  21. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3-no-cloudfront-s3-access-logs.template.json +733 -0
  22. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3nocloudfronts3accesslogsIntegDefaultTestDeployAssertAD28C87A.assets.json +19 -0
  23. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3nocloudfronts3accesslogsIntegDefaultTestDeployAssertAD28C87A.template.json +36 -0
  24. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/integ.json +12 -0
  25. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +179 -0
  26. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +698 -0
  27. package/test/test.cloudfront-s3.test.js +12 -1
  28. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc/cfn-response.js +0 -1
  29. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc/framework.js +0 -3
  30. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc/cfn-response.js +0 -1
  31. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc/framework.js +0 -3
  32. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc → asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b}/consts.js +0 -0
  33. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc → asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b}/outbound.js +0 -0
  34. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc → asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b}/util.js +0 -0
  35. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc → asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b}/consts.js +0 -0
  36. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc → asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b}/outbound.js +0 -0
  37. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.3542be390685e0c8353d92ccb5796d343cd93ca946b6b0de798004206a199adc → asset.d9861ea7a45affd23e47a614acb2fddc6e45c20a891284c958187dafbf9ee36b}/util.js +0 -0
@@ -0,0 +1,698 @@
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.150.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:aws:cloudfront::",
166
+ {
167
+ "Ref": "AWS::AccountId"
168
+ },
169
+ ":distribution/",
170
+ {
171
+ "Ref": "testcloudfronts3CloudFrontDistribution0565DEE8"
172
+ }
173
+ ]
174
+ ]
175
+ }
176
+ }
177
+ },
178
+ "Effect": "Allow",
179
+ "Principal": {
180
+ "Service": "cloudfront.amazonaws.com"
181
+ },
182
+ "Resource": {
183
+ "Fn::Join": [
184
+ "",
185
+ [
186
+ {
187
+ "Fn::GetAtt": [
188
+ "testcloudfronts3S3BucketE0C5F76E",
189
+ "Arn"
190
+ ]
191
+ },
192
+ "/*"
193
+ ]
194
+ ]
195
+ }
196
+ }
197
+ ],
198
+ "Version": "2012-10-17"
199
+ }
200
+ }
201
+ },
202
+ "constructInfo": {
203
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
204
+ "version": "2.150.0"
205
+ }
206
+ }
207
+ },
208
+ "constructInfo": {
209
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
210
+ "version": "2.150.0"
211
+ }
212
+ },
213
+ "AutoDeleteObjectsCustomResource": {
214
+ "id": "AutoDeleteObjectsCustomResource",
215
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/S3Bucket/AutoDeleteObjectsCustomResource",
216
+ "children": {
217
+ "Default": {
218
+ "id": "Default",
219
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/S3Bucket/AutoDeleteObjectsCustomResource/Default",
220
+ "constructInfo": {
221
+ "fqn": "aws-cdk-lib.CfnResource",
222
+ "version": "2.150.0"
223
+ }
224
+ }
225
+ },
226
+ "constructInfo": {
227
+ "fqn": "aws-cdk-lib.CustomResource",
228
+ "version": "2.150.0"
229
+ }
230
+ }
231
+ },
232
+ "constructInfo": {
233
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
234
+ "version": "2.150.0"
235
+ }
236
+ },
237
+ "SetHttpSecurityHeaders": {
238
+ "id": "SetHttpSecurityHeaders",
239
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/SetHttpSecurityHeaders",
240
+ "children": {
241
+ "Resource": {
242
+ "id": "Resource",
243
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/SetHttpSecurityHeaders/Resource",
244
+ "attributes": {
245
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::Function",
246
+ "aws:cdk:cloudformation:props": {
247
+ "autoPublish": true,
248
+ "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; }",
249
+ "functionConfig": {
250
+ "comment": "SetHttpSecurityHeadersc896d796f10191989f85dc3c04e0c09684d72fb250",
251
+ "runtime": "cloudfront-js-1.0"
252
+ },
253
+ "name": "SetHttpSecurityHeadersc896d796f10191989f85dc3c04e0c09684d72fb250"
254
+ }
255
+ },
256
+ "constructInfo": {
257
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnFunction",
258
+ "version": "2.150.0"
259
+ }
260
+ }
261
+ },
262
+ "constructInfo": {
263
+ "fqn": "aws-cdk-lib.aws_cloudfront.Function",
264
+ "version": "2.150.0"
265
+ }
266
+ },
267
+ "CloudfrontLoggingBucket": {
268
+ "id": "CloudfrontLoggingBucket",
269
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudfrontLoggingBucket",
270
+ "children": {
271
+ "Resource": {
272
+ "id": "Resource",
273
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudfrontLoggingBucket/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
+ "ownershipControls": {
287
+ "rules": [
288
+ {
289
+ "objectOwnership": "ObjectWriter"
290
+ }
291
+ ]
292
+ },
293
+ "publicAccessBlockConfiguration": {
294
+ "blockPublicAcls": true,
295
+ "blockPublicPolicy": true,
296
+ "ignorePublicAcls": true,
297
+ "restrictPublicBuckets": true
298
+ },
299
+ "tags": [
300
+ {
301
+ "key": "aws-cdk:auto-delete-objects",
302
+ "value": "true"
303
+ }
304
+ ],
305
+ "versioningConfiguration": {
306
+ "status": "Enabled"
307
+ }
308
+ }
309
+ },
310
+ "constructInfo": {
311
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
312
+ "version": "2.150.0"
313
+ }
314
+ },
315
+ "Policy": {
316
+ "id": "Policy",
317
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudfrontLoggingBucket/Policy",
318
+ "children": {
319
+ "Resource": {
320
+ "id": "Resource",
321
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudfrontLoggingBucket/Policy/Resource",
322
+ "attributes": {
323
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
324
+ "aws:cdk:cloudformation:props": {
325
+ "bucket": {
326
+ "Ref": "testcloudfronts3CloudfrontLoggingBucket985C0FE8"
327
+ },
328
+ "policyDocument": {
329
+ "Statement": [
330
+ {
331
+ "Action": "s3:*",
332
+ "Condition": {
333
+ "Bool": {
334
+ "aws:SecureTransport": "false"
335
+ }
336
+ },
337
+ "Effect": "Deny",
338
+ "Principal": {
339
+ "AWS": "*"
340
+ },
341
+ "Resource": [
342
+ {
343
+ "Fn::GetAtt": [
344
+ "testcloudfronts3CloudfrontLoggingBucket985C0FE8",
345
+ "Arn"
346
+ ]
347
+ },
348
+ {
349
+ "Fn::Join": [
350
+ "",
351
+ [
352
+ {
353
+ "Fn::GetAtt": [
354
+ "testcloudfronts3CloudfrontLoggingBucket985C0FE8",
355
+ "Arn"
356
+ ]
357
+ },
358
+ "/*"
359
+ ]
360
+ ]
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "Action": [
366
+ "s3:DeleteObject*",
367
+ "s3:GetBucket*",
368
+ "s3:List*",
369
+ "s3:PutBucketPolicy"
370
+ ],
371
+ "Effect": "Allow",
372
+ "Principal": {
373
+ "AWS": {
374
+ "Fn::GetAtt": [
375
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
376
+ "Arn"
377
+ ]
378
+ }
379
+ },
380
+ "Resource": [
381
+ {
382
+ "Fn::GetAtt": [
383
+ "testcloudfronts3CloudfrontLoggingBucket985C0FE8",
384
+ "Arn"
385
+ ]
386
+ },
387
+ {
388
+ "Fn::Join": [
389
+ "",
390
+ [
391
+ {
392
+ "Fn::GetAtt": [
393
+ "testcloudfronts3CloudfrontLoggingBucket985C0FE8",
394
+ "Arn"
395
+ ]
396
+ },
397
+ "/*"
398
+ ]
399
+ ]
400
+ }
401
+ ]
402
+ }
403
+ ],
404
+ "Version": "2012-10-17"
405
+ }
406
+ }
407
+ },
408
+ "constructInfo": {
409
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
410
+ "version": "2.150.0"
411
+ }
412
+ }
413
+ },
414
+ "constructInfo": {
415
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
416
+ "version": "2.150.0"
417
+ }
418
+ },
419
+ "AutoDeleteObjectsCustomResource": {
420
+ "id": "AutoDeleteObjectsCustomResource",
421
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource",
422
+ "children": {
423
+ "Default": {
424
+ "id": "Default",
425
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default",
426
+ "constructInfo": {
427
+ "fqn": "aws-cdk-lib.CfnResource",
428
+ "version": "2.150.0"
429
+ }
430
+ }
431
+ },
432
+ "constructInfo": {
433
+ "fqn": "aws-cdk-lib.CustomResource",
434
+ "version": "2.150.0"
435
+ }
436
+ }
437
+ },
438
+ "constructInfo": {
439
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
440
+ "version": "2.150.0"
441
+ }
442
+ },
443
+ "CloudFrontOac": {
444
+ "id": "CloudFrontOac",
445
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudFrontOac",
446
+ "attributes": {
447
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::OriginAccessControl",
448
+ "aws:cdk:cloudformation:props": {
449
+ "originAccessControlConfig": {
450
+ "name": {
451
+ "Fn::Join": [
452
+ "",
453
+ [
454
+ "aws-cloudfront-s3-testnt-s3-",
455
+ {
456
+ "Fn::Select": [
457
+ 2,
458
+ {
459
+ "Fn::Split": [
460
+ "/",
461
+ {
462
+ "Ref": "AWS::StackId"
463
+ }
464
+ ]
465
+ }
466
+ ]
467
+ }
468
+ ]
469
+ ]
470
+ },
471
+ "originAccessControlOriginType": "s3",
472
+ "signingBehavior": "always",
473
+ "signingProtocol": "sigv4",
474
+ "description": "Origin access control provisioned by aws-cloudfront-s3"
475
+ }
476
+ }
477
+ },
478
+ "constructInfo": {
479
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnOriginAccessControl",
480
+ "version": "2.150.0"
481
+ }
482
+ },
483
+ "CloudFrontDistribution": {
484
+ "id": "CloudFrontDistribution",
485
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudFrontDistribution",
486
+ "children": {
487
+ "Origin1": {
488
+ "id": "Origin1",
489
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudFrontDistribution/Origin1",
490
+ "constructInfo": {
491
+ "fqn": "constructs.Construct",
492
+ "version": "10.3.0"
493
+ }
494
+ },
495
+ "Resource": {
496
+ "id": "Resource",
497
+ "path": "cfts3-no-cloudfront-s3-access-logs/test-cloudfront-s3/CloudFrontDistribution/Resource",
498
+ "attributes": {
499
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
500
+ "aws:cdk:cloudformation:props": {
501
+ "distributionConfig": {
502
+ "enabled": true,
503
+ "origins": [
504
+ {
505
+ "domainName": {
506
+ "Fn::GetAtt": [
507
+ "testcloudfronts3S3BucketE0C5F76E",
508
+ "RegionalDomainName"
509
+ ]
510
+ },
511
+ "id": "cfts3nocloudfronts3accesslogstestcloudfronts3CloudFrontDistributionOrigin1D23B555C",
512
+ "s3OriginConfig": {
513
+ "originAccessIdentity": ""
514
+ }
515
+ }
516
+ ],
517
+ "defaultCacheBehavior": {
518
+ "pathPattern": "*",
519
+ "targetOriginId": "cfts3nocloudfronts3accesslogstestcloudfronts3CloudFrontDistributionOrigin1D23B555C",
520
+ "cachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
521
+ "compress": true,
522
+ "viewerProtocolPolicy": "redirect-to-https",
523
+ "functionAssociations": [
524
+ {
525
+ "functionArn": {
526
+ "Fn::GetAtt": [
527
+ "testcloudfronts3SetHttpSecurityHeaders6C5A1E69",
528
+ "FunctionARN"
529
+ ]
530
+ },
531
+ "eventType": "viewer-response"
532
+ }
533
+ ]
534
+ },
535
+ "defaultRootObject": "index.html",
536
+ "httpVersion": "http2",
537
+ "ipv6Enabled": true,
538
+ "logging": {
539
+ "bucket": {
540
+ "Fn::GetAtt": [
541
+ "testcloudfronts3CloudfrontLoggingBucket985C0FE8",
542
+ "RegionalDomainName"
543
+ ]
544
+ }
545
+ }
546
+ }
547
+ }
548
+ },
549
+ "constructInfo": {
550
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
551
+ "version": "2.150.0"
552
+ }
553
+ }
554
+ },
555
+ "constructInfo": {
556
+ "fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
557
+ "version": "2.150.0"
558
+ }
559
+ }
560
+ },
561
+ "constructInfo": {
562
+ "fqn": "@aws-solutions-constructs/aws-cloudfront-s3.CloudFrontToS3",
563
+ "version": "2.64.0"
564
+ }
565
+ },
566
+ "LatestNodeRuntimeMap": {
567
+ "id": "LatestNodeRuntimeMap",
568
+ "path": "cfts3-no-cloudfront-s3-access-logs/LatestNodeRuntimeMap",
569
+ "constructInfo": {
570
+ "fqn": "aws-cdk-lib.CfnMapping",
571
+ "version": "2.150.0"
572
+ }
573
+ },
574
+ "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
575
+ "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
576
+ "path": "cfts3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider",
577
+ "children": {
578
+ "Staging": {
579
+ "id": "Staging",
580
+ "path": "cfts3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
581
+ "constructInfo": {
582
+ "fqn": "aws-cdk-lib.AssetStaging",
583
+ "version": "2.150.0"
584
+ }
585
+ },
586
+ "Role": {
587
+ "id": "Role",
588
+ "path": "cfts3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
589
+ "constructInfo": {
590
+ "fqn": "aws-cdk-lib.CfnResource",
591
+ "version": "2.150.0"
592
+ }
593
+ },
594
+ "Handler": {
595
+ "id": "Handler",
596
+ "path": "cfts3-no-cloudfront-s3-access-logs/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
597
+ "constructInfo": {
598
+ "fqn": "aws-cdk-lib.CfnResource",
599
+ "version": "2.150.0"
600
+ }
601
+ }
602
+ },
603
+ "constructInfo": {
604
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
605
+ "version": "2.150.0"
606
+ }
607
+ },
608
+ "Integ": {
609
+ "id": "Integ",
610
+ "path": "cfts3-no-cloudfront-s3-access-logs/Integ",
611
+ "children": {
612
+ "DefaultTest": {
613
+ "id": "DefaultTest",
614
+ "path": "cfts3-no-cloudfront-s3-access-logs/Integ/DefaultTest",
615
+ "children": {
616
+ "Default": {
617
+ "id": "Default",
618
+ "path": "cfts3-no-cloudfront-s3-access-logs/Integ/DefaultTest/Default",
619
+ "constructInfo": {
620
+ "fqn": "constructs.Construct",
621
+ "version": "10.3.0"
622
+ }
623
+ },
624
+ "DeployAssert": {
625
+ "id": "DeployAssert",
626
+ "path": "cfts3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert",
627
+ "children": {
628
+ "BootstrapVersion": {
629
+ "id": "BootstrapVersion",
630
+ "path": "cfts3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert/BootstrapVersion",
631
+ "constructInfo": {
632
+ "fqn": "aws-cdk-lib.CfnParameter",
633
+ "version": "2.150.0"
634
+ }
635
+ },
636
+ "CheckBootstrapVersion": {
637
+ "id": "CheckBootstrapVersion",
638
+ "path": "cfts3-no-cloudfront-s3-access-logs/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
639
+ "constructInfo": {
640
+ "fqn": "aws-cdk-lib.CfnRule",
641
+ "version": "2.150.0"
642
+ }
643
+ }
644
+ },
645
+ "constructInfo": {
646
+ "fqn": "aws-cdk-lib.Stack",
647
+ "version": "2.150.0"
648
+ }
649
+ }
650
+ },
651
+ "constructInfo": {
652
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
653
+ "version": "2.150.0-alpha.0"
654
+ }
655
+ }
656
+ },
657
+ "constructInfo": {
658
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
659
+ "version": "2.150.0-alpha.0"
660
+ }
661
+ },
662
+ "BootstrapVersion": {
663
+ "id": "BootstrapVersion",
664
+ "path": "cfts3-no-cloudfront-s3-access-logs/BootstrapVersion",
665
+ "constructInfo": {
666
+ "fqn": "aws-cdk-lib.CfnParameter",
667
+ "version": "2.150.0"
668
+ }
669
+ },
670
+ "CheckBootstrapVersion": {
671
+ "id": "CheckBootstrapVersion",
672
+ "path": "cfts3-no-cloudfront-s3-access-logs/CheckBootstrapVersion",
673
+ "constructInfo": {
674
+ "fqn": "aws-cdk-lib.CfnRule",
675
+ "version": "2.150.0"
676
+ }
677
+ }
678
+ },
679
+ "constructInfo": {
680
+ "fqn": "aws-cdk-lib.Stack",
681
+ "version": "2.150.0"
682
+ }
683
+ },
684
+ "Tree": {
685
+ "id": "Tree",
686
+ "path": "Tree",
687
+ "constructInfo": {
688
+ "fqn": "constructs.Construct",
689
+ "version": "10.3.0"
690
+ }
691
+ }
692
+ },
693
+ "constructInfo": {
694
+ "fqn": "aws-cdk-lib.App",
695
+ "version": "2.150.0"
696
+ }
697
+ }
698
+ }