@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,581 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "cfts3-no-logging": {
8
- "id": "cfts3-no-logging",
9
- "path": "cfts3-no-logging",
10
- "children": {
11
- "test-cloudfront-s3": {
12
- "id": "test-cloudfront-s3",
13
- "path": "cfts3-no-logging/test-cloudfront-s3",
14
- "children": {
15
- "S3Bucket": {
16
- "id": "S3Bucket",
17
- "path": "cfts3-no-logging/test-cloudfront-s3/S3Bucket",
18
- "children": {
19
- "Resource": {
20
- "id": "Resource",
21
- "path": "cfts3-no-logging/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-logging/test-cloudfront-s3/S3Bucket/Policy",
72
- "children": {
73
- "Resource": {
74
- "id": "Resource",
75
- "path": "cfts3-no-logging/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-logging/test-cloudfront-s3/S3Bucket/AutoDeleteObjectsCustomResource",
225
- "children": {
226
- "Default": {
227
- "id": "Default",
228
- "path": "cfts3-no-logging/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-logging/test-cloudfront-s3/SetHttpSecurityHeaders",
284
- "children": {
285
- "Resource": {
286
- "id": "Resource",
287
- "path": "cfts3-no-logging/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": "SetHttpSecurityHeadersc8bdfbb6e2803af376fb302dc008562b2ae50a02bb",
295
- "runtime": "cloudfront-js-1.0"
296
- },
297
- "name": "SetHttpSecurityHeadersc8bdfbb6e2803af376fb302dc008562b2ae50a02bb"
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
- "CloudFrontOac": {
318
- "id": "CloudFrontOac",
319
- "path": "cfts3-no-logging/test-cloudfront-s3/CloudFrontOac",
320
- "attributes": {
321
- "aws:cdk:cloudformation:type": "AWS::CloudFront::OriginAccessControl",
322
- "aws:cdk:cloudformation:props": {
323
- "originAccessControlConfig": {
324
- "name": {
325
- "Fn::Join": [
326
- "",
327
- [
328
- "aws-cloudfront-s3-testnt-s3-",
329
- {
330
- "Fn::Select": [
331
- 2,
332
- {
333
- "Fn::Split": [
334
- "/",
335
- {
336
- "Ref": "AWS::StackId"
337
- }
338
- ]
339
- }
340
- ]
341
- }
342
- ]
343
- ]
344
- },
345
- "originAccessControlOriginType": "s3",
346
- "signingBehavior": "always",
347
- "signingProtocol": "sigv4",
348
- "description": "Origin access control provisioned by aws-cloudfront-s3"
349
- }
350
- }
351
- },
352
- "constructInfo": {
353
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnOriginAccessControl",
354
- "version": "2.179.0"
355
- }
356
- },
357
- "CloudFrontDistribution": {
358
- "id": "CloudFrontDistribution",
359
- "path": "cfts3-no-logging/test-cloudfront-s3/CloudFrontDistribution",
360
- "children": {
361
- "Origin1": {
362
- "id": "Origin1",
363
- "path": "cfts3-no-logging/test-cloudfront-s3/CloudFrontDistribution/Origin1",
364
- "constructInfo": {
365
- "fqn": "constructs.Construct",
366
- "version": "10.4.2"
367
- }
368
- },
369
- "Resource": {
370
- "id": "Resource",
371
- "path": "cfts3-no-logging/test-cloudfront-s3/CloudFrontDistribution/Resource",
372
- "attributes": {
373
- "aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
374
- "aws:cdk:cloudformation:props": {
375
- "distributionConfig": {
376
- "enabled": true,
377
- "origins": [
378
- {
379
- "domainName": {
380
- "Fn::GetAtt": [
381
- "testcloudfronts3S3BucketE0C5F76E",
382
- "RegionalDomainName"
383
- ]
384
- },
385
- "id": "cfts3nologgingtestcloudfronts3CloudFrontDistributionOrigin1C951FD12",
386
- "s3OriginConfig": {
387
- "originAccessIdentity": ""
388
- }
389
- }
390
- ],
391
- "defaultCacheBehavior": {
392
- "pathPattern": "*",
393
- "targetOriginId": "cfts3nologgingtestcloudfronts3CloudFrontDistributionOrigin1C951FD12",
394
- "cachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
395
- "compress": true,
396
- "viewerProtocolPolicy": "redirect-to-https",
397
- "functionAssociations": [
398
- {
399
- "functionArn": {
400
- "Fn::GetAtt": [
401
- "testcloudfronts3SetHttpSecurityHeaders6C5A1E69",
402
- "FunctionARN"
403
- ]
404
- },
405
- "eventType": "viewer-response"
406
- }
407
- ]
408
- },
409
- "defaultRootObject": "index.html",
410
- "httpVersion": "http2",
411
- "ipv6Enabled": true
412
- }
413
- }
414
- },
415
- "constructInfo": {
416
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
417
- "version": "2.179.0"
418
- }
419
- }
420
- },
421
- "constructInfo": {
422
- "fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
423
- "version": "2.179.0",
424
- "metadata": [
425
- {
426
- "defaultBehavior": {
427
- "origin": "*",
428
- "viewerProtocolPolicy": "redirect-to-https",
429
- "functionAssociations": [
430
- {
431
- "eventType": "viewer-response",
432
- "function": "*"
433
- }
434
- ]
435
- },
436
- "enableLogging": false,
437
- "logBucket": "*",
438
- "defaultRootObject": "*"
439
- }
440
- ]
441
- }
442
- }
443
- },
444
- "constructInfo": {
445
- "fqn": "@aws-solutions-constructs/aws-cloudfront-s3.CloudFrontToS3",
446
- "version": "2.79.1"
447
- }
448
- },
449
- "LatestNodeRuntimeMap": {
450
- "id": "LatestNodeRuntimeMap",
451
- "path": "cfts3-no-logging/LatestNodeRuntimeMap",
452
- "constructInfo": {
453
- "fqn": "aws-cdk-lib.CfnMapping",
454
- "version": "2.179.0"
455
- }
456
- },
457
- "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
458
- "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
459
- "path": "cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider",
460
- "children": {
461
- "Staging": {
462
- "id": "Staging",
463
- "path": "cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
464
- "constructInfo": {
465
- "fqn": "aws-cdk-lib.AssetStaging",
466
- "version": "2.179.0"
467
- }
468
- },
469
- "Role": {
470
- "id": "Role",
471
- "path": "cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
472
- "constructInfo": {
473
- "fqn": "aws-cdk-lib.CfnResource",
474
- "version": "2.179.0"
475
- }
476
- },
477
- "Handler": {
478
- "id": "Handler",
479
- "path": "cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
480
- "constructInfo": {
481
- "fqn": "aws-cdk-lib.CfnResource",
482
- "version": "2.179.0"
483
- }
484
- }
485
- },
486
- "constructInfo": {
487
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
488
- "version": "2.179.0"
489
- }
490
- },
491
- "Integ": {
492
- "id": "Integ",
493
- "path": "cfts3-no-logging/Integ",
494
- "children": {
495
- "DefaultTest": {
496
- "id": "DefaultTest",
497
- "path": "cfts3-no-logging/Integ/DefaultTest",
498
- "children": {
499
- "Default": {
500
- "id": "Default",
501
- "path": "cfts3-no-logging/Integ/DefaultTest/Default",
502
- "constructInfo": {
503
- "fqn": "constructs.Construct",
504
- "version": "10.4.2"
505
- }
506
- },
507
- "DeployAssert": {
508
- "id": "DeployAssert",
509
- "path": "cfts3-no-logging/Integ/DefaultTest/DeployAssert",
510
- "children": {
511
- "BootstrapVersion": {
512
- "id": "BootstrapVersion",
513
- "path": "cfts3-no-logging/Integ/DefaultTest/DeployAssert/BootstrapVersion",
514
- "constructInfo": {
515
- "fqn": "aws-cdk-lib.CfnParameter",
516
- "version": "2.179.0"
517
- }
518
- },
519
- "CheckBootstrapVersion": {
520
- "id": "CheckBootstrapVersion",
521
- "path": "cfts3-no-logging/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
522
- "constructInfo": {
523
- "fqn": "aws-cdk-lib.CfnRule",
524
- "version": "2.179.0"
525
- }
526
- }
527
- },
528
- "constructInfo": {
529
- "fqn": "aws-cdk-lib.Stack",
530
- "version": "2.179.0"
531
- }
532
- }
533
- },
534
- "constructInfo": {
535
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
536
- "version": "2.179.0-alpha.0"
537
- }
538
- }
539
- },
540
- "constructInfo": {
541
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
542
- "version": "2.179.0-alpha.0"
543
- }
544
- },
545
- "BootstrapVersion": {
546
- "id": "BootstrapVersion",
547
- "path": "cfts3-no-logging/BootstrapVersion",
548
- "constructInfo": {
549
- "fqn": "aws-cdk-lib.CfnParameter",
550
- "version": "2.179.0"
551
- }
552
- },
553
- "CheckBootstrapVersion": {
554
- "id": "CheckBootstrapVersion",
555
- "path": "cfts3-no-logging/CheckBootstrapVersion",
556
- "constructInfo": {
557
- "fqn": "aws-cdk-lib.CfnRule",
558
- "version": "2.179.0"
559
- }
560
- }
561
- },
562
- "constructInfo": {
563
- "fqn": "aws-cdk-lib.Stack",
564
- "version": "2.179.0"
565
- }
566
- },
567
- "Tree": {
568
- "id": "Tree",
569
- "path": "Tree",
570
- "constructInfo": {
571
- "fqn": "constructs.Construct",
572
- "version": "10.4.2"
573
- }
574
- }
575
- },
576
- "constructInfo": {
577
- "fqn": "aws-cdk-lib.App",
578
- "version": "2.179.0"
579
- }
580
- }
581
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"cfts3-no-logging":{"id":"cfts3-no-logging","path":"cfts3-no-logging","children":{"test-cloudfront-s3":{"id":"test-cloudfront-s3","path":"cfts3-no-logging/test-cloudfront-s3","children":{"S3Bucket":{"id":"S3Bucket","path":"cfts3-no-logging/test-cloudfront-s3/S3Bucket","children":{"Resource":{"id":"Resource","path":"cfts3-no-logging/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-logging/test-cloudfront-s3/S3Bucket/Policy","children":{"Resource":{"id":"Resource","path":"cfts3-no-logging/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-logging/test-cloudfront-s3/S3Bucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cfts3-no-logging/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-logging/test-cloudfront-s3/SetHttpSecurityHeaders","children":{"Resource":{"id":"Resource","path":"cfts3-no-logging/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":"SetHttpSecurityHeadersc8bdfbb6e2803af376fb302dc008562b2ae50a02bb","runtime":"cloudfront-js-1.0"},"name":"SetHttpSecurityHeadersc8bdfbb6e2803af376fb302dc008562b2ae50a02bb"}},"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":"*"}]}},"CloudFrontOac":{"id":"CloudFrontOac","path":"cfts3-no-logging/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-logging/test-cloudfront-s3/CloudFrontDistribution","children":{"Origin1":{"id":"Origin1","path":"cfts3-no-logging/test-cloudfront-s3/CloudFrontDistribution/Origin1","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"Resource":{"id":"Resource","path":"cfts3-no-logging/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":"cfts3nologgingtestcloudfronts3CloudFrontDistributionOrigin1C951FD12","s3OriginConfig":{"originAccessIdentity":""}}],"defaultCacheBehavior":{"pathPattern":"*","targetOriginId":"cfts3nologgingtestcloudfronts3CloudFrontDistributionOrigin1C951FD12","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}}},"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":false,"logBucket":"*","defaultRootObject":"*"}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-cloudfront-s3.CloudFrontToS3","version":"2.85.0"}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"cfts3-no-logging/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.193.0"}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.193.0"}},"Role":{"id":"Role","path":"cfts3-no-logging/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.193.0"}},"Handler":{"id":"Handler","path":"cfts3-no-logging/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-logging/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"cfts3-no-logging/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"cfts3-no-logging/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"cfts3-no-logging/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"cfts3-no-logging/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.193.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cfts3-no-logging/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-logging/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.193.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cfts3-no-logging/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"}}}
@@ -1 +1 @@
1
- {"version":"39.0.0"}
1
+ {"version":"41.0.0"}
@@ -1,7 +1,8 @@
1
1
  {
2
- "version": "39.0.0",
2
+ "version": "41.0.0",
3
3
  "files": {
4
4
  "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6": {
5
+ "displayName": "cfts3-no-security-headers/Custom::S3AutoDeleteObjectsCustomResourceProvider Code",
5
6
  "source": {
6
7
  "path": "asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6",
7
8
  "packaging": "zip"
@@ -14,7 +15,8 @@
14
15
  }
15
16
  }
16
17
  },
17
- "0d89c00ee960e133c8dd8fcb86d1b2215bb2a689ffeed889c56d30e25eb6242d": {
18
+ "418dc96a7b9fb8045bbe1b82e8eae46e74ea6faca2a6b2ba00f5ad5bebb58c96": {
19
+ "displayName": "cfts3-no-security-headers Template",
18
20
  "source": {
19
21
  "path": "cfts3-no-security-headers.template.json",
20
22
  "packaging": "file"
@@ -22,7 +24,7 @@
22
24
  "destinations": {
23
25
  "current_account-current_region": {
24
26
  "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
25
- "objectKey": "0d89c00ee960e133c8dd8fcb86d1b2215bb2a689ffeed889c56d30e25eb6242d.json",
27
+ "objectKey": "418dc96a7b9fb8045bbe1b82e8eae46e74ea6faca2a6b2ba00f5ad5bebb58c96.json",
26
28
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
29
  }
28
30
  }
@@ -1010,6 +1010,9 @@
1010
1010
  "us-isob-east-1": {
1011
1011
  "value": "nodejs18.x"
1012
1012
  },
1013
+ "us-isob-west-1": {
1014
+ "value": "nodejs18.x"
1015
+ },
1013
1016
  "us-west-1": {
1014
1017
  "value": "nodejs20.x"
1015
1018
  },
@@ -1,7 +1,8 @@
1
1
  {
2
- "version": "39.0.0",
2
+ "version": "41.0.0",
3
3
  "files": {
4
4
  "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
+ "displayName": "cfts3nosecurityheadersIntegDefaultTestDeployAssert38FE05BE Template",
5
6
  "source": {
6
7
  "path": "cfts3nosecurityheadersIntegDefaultTestDeployAssert38FE05BE.template.json",
7
8
  "packaging": "file"