@aws-solutions-constructs/aws-cloudfront-s3 2.79.1 → 2.80.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.
- package/.jsii +5 -44
- package/lib/index.js +1 -1
- package/package.json +8 -8
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +1 -0
- package/test/{integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e → integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca}/outbound.js +1 -1
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/util.js +1 -0
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.assets.json +6 -6
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.template.json +15 -5
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3bucketencryptedwithcmkprovidedasexistingbucketIntegDefaultTestDeployAssertF6031114.assets.json +1 -1
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/manifest.json +435 -4
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/tree.json +380 -73
- package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cdk.out +1 -1
- 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 +3 -3
- 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 +4 -4
- package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cfts3bucketencryptedwithmanagedkeyprovidedasexistingbucketIntegDefaultTestDeployAssert03A82C16.assets.json +1 -1
- package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +152 -4
- package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +153 -45
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/cfn-response.js +1 -0
- package/test/{integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e → integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca}/outbound.js +1 -1
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca/util.js +1 -0
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.assets.json +6 -6
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.template.json +15 -5
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3cmkprovidedasbucketpropIntegDefaultTestDeployAssert38E63D55.assets.json +1 -1
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/manifest.json +428 -4
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/tree.json +374 -71
- package/test/integ.cfts3-custom-headers.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-custom-headers.js.snapshot/cfts3-custom-headers.assets.json +3 -3
- package/test/integ.cfts3-custom-headers.js.snapshot/cfts3-custom-headers.template.json +4 -4
- package/test/integ.cfts3-custom-headers.js.snapshot/cfts3customheadersIntegDefaultTestDeployAssert6EEC9973.assets.json +1 -1
- package/test/integ.cfts3-custom-headers.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-custom-headers.js.snapshot/manifest.json +175 -4
- package/test/integ.cfts3-custom-headers.js.snapshot/tree.json +174 -49
- package/test/integ.cfts3-custom-originPath.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3-custom-originPath.assets.json +3 -3
- package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3-custom-originPath.template.json +4 -4
- package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3customoriginPathIntegDefaultTestDeployAssert61F499B2.assets.json +1 -1
- package/test/integ.cfts3-custom-originPath.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-custom-originPath.js.snapshot/manifest.json +167 -4
- package/test/integ.cfts3-custom-originPath.js.snapshot/tree.json +167 -47
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3-customLoggingBuckets.assets.json +3 -3
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3-customLoggingBuckets.template.json +4 -4
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3customLoggingBucketsIntegDefaultTestDeployAssert4D171F9F.assets.json +1 -1
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/manifest.json +205 -4
- package/test/integ.cfts3-customLoggingBuckets.js.snapshot/tree.json +199 -47
- package/test/integ.cfts3-existing-bucket.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3-existing-bucket.assets.json +3 -3
- package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3-existing-bucket.template.json +4 -4
- package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3existingbucketIntegDefaultTestDeployAssertA6D4EB49.assets.json +1 -1
- package/test/integ.cfts3-existing-bucket.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-existing-bucket.js.snapshot/manifest.json +169 -4
- package/test/integ.cfts3-existing-bucket.js.snapshot/tree.json +168 -52
- package/test/integ.cfts3-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-no-arguments.js.snapshot/cfts3-no-arguments.assets.json +3 -3
- package/test/integ.cfts3-no-arguments.js.snapshot/cfts3-no-arguments.template.json +4 -4
- package/test/integ.cfts3-no-arguments.js.snapshot/cfts3noargumentsIntegDefaultTestDeployAssertBA5AFA25.assets.json +1 -1
- package/test/integ.cfts3-no-arguments.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-no-arguments.js.snapshot/manifest.json +167 -4
- package/test/integ.cfts3-no-arguments.js.snapshot/tree.json +167 -47
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3-no-cloudfront-s3-access-logs.assets.json +3 -3
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3-no-cloudfront-s3-access-logs.template.json +4 -4
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3nocloudfronts3accesslogsIntegDefaultTestDeployAssertAD28C87A.assets.json +1 -1
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +111 -4
- package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +117 -35
- package/test/integ.cfts3-no-logging.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-no-logging.js.snapshot/cfts3-no-logging.assets.json +3 -3
- package/test/integ.cfts3-no-logging.js.snapshot/cfts3-no-logging.template.json +4 -4
- package/test/integ.cfts3-no-logging.js.snapshot/cfts3nologgingIntegDefaultTestDeployAssert18393DDB.assets.json +1 -1
- package/test/integ.cfts3-no-logging.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-no-logging.js.snapshot/manifest.json +83 -4
- package/test/integ.cfts3-no-logging.js.snapshot/tree.json +92 -29
- package/test/integ.cfts3-no-security-headers.js.snapshot/cdk.out +1 -1
- package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3-no-security-headers.assets.json +3 -3
- package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3-no-security-headers.template.json +4 -4
- package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3nosecurityheadersIntegDefaultTestDeployAssert38FE05BE.assets.json +1 -1
- package/test/integ.cfts3-no-security-headers.js.snapshot/integ.json +1 -1
- package/test/integ.cfts3-no-security-headers.js.snapshot/manifest.json +152 -4
- package/test/integ.cfts3-no-security-headers.js.snapshot/tree.json +153 -45
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e/cfn-response.js +0 -1
- package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e/util.js +0 -1
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e/cfn-response.js +0 -1
- package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e/util.js +0 -1
- /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e → asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca}/consts.js +0 -0
- /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e → asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca}/framework.js +0 -0
- /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e → asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca}/consts.js +0 -0
- /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e → asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca}/framework.js +0 -0
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"constructInfo": {
|
|
52
52
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
53
|
-
"version": "2.
|
|
53
|
+
"version": "2.179.0"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"Policy": {
|
|
@@ -184,13 +184,18 @@
|
|
|
184
184
|
},
|
|
185
185
|
"constructInfo": {
|
|
186
186
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
187
|
-
"version": "2.
|
|
187
|
+
"version": "2.179.0"
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
"constructInfo": {
|
|
192
192
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
193
|
-
"version": "2.
|
|
193
|
+
"version": "2.179.0",
|
|
194
|
+
"metadata": [
|
|
195
|
+
{
|
|
196
|
+
"bucket": "*"
|
|
197
|
+
}
|
|
198
|
+
]
|
|
194
199
|
}
|
|
195
200
|
},
|
|
196
201
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -202,19 +207,32 @@
|
|
|
202
207
|
"path": "cfts3-no-security-headers/test-cloudfront-s3-no-security-headers/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default",
|
|
203
208
|
"constructInfo": {
|
|
204
209
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
205
|
-
"version": "2.
|
|
210
|
+
"version": "2.179.0"
|
|
206
211
|
}
|
|
207
212
|
}
|
|
208
213
|
},
|
|
209
214
|
"constructInfo": {
|
|
210
215
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
211
|
-
"version": "2.
|
|
216
|
+
"version": "2.179.0",
|
|
217
|
+
"metadata": [
|
|
218
|
+
"*"
|
|
219
|
+
]
|
|
212
220
|
}
|
|
213
221
|
}
|
|
214
222
|
},
|
|
215
223
|
"constructInfo": {
|
|
216
224
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
217
|
-
"version": "2.
|
|
225
|
+
"version": "2.179.0",
|
|
226
|
+
"metadata": [
|
|
227
|
+
{
|
|
228
|
+
"encryption": "S3_MANAGED",
|
|
229
|
+
"versioned": true,
|
|
230
|
+
"blockPublicAccess": "*",
|
|
231
|
+
"removalPolicy": "destroy",
|
|
232
|
+
"enforceSSL": true,
|
|
233
|
+
"autoDeleteObjects": true
|
|
234
|
+
}
|
|
235
|
+
]
|
|
218
236
|
}
|
|
219
237
|
},
|
|
220
238
|
"S3Bucket": {
|
|
@@ -273,7 +291,7 @@
|
|
|
273
291
|
},
|
|
274
292
|
"constructInfo": {
|
|
275
293
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
276
|
-
"version": "2.
|
|
294
|
+
"version": "2.179.0"
|
|
277
295
|
}
|
|
278
296
|
},
|
|
279
297
|
"Policy": {
|
|
@@ -415,13 +433,18 @@
|
|
|
415
433
|
},
|
|
416
434
|
"constructInfo": {
|
|
417
435
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
418
|
-
"version": "2.
|
|
436
|
+
"version": "2.179.0"
|
|
419
437
|
}
|
|
420
438
|
}
|
|
421
439
|
},
|
|
422
440
|
"constructInfo": {
|
|
423
441
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
424
|
-
"version": "2.
|
|
442
|
+
"version": "2.179.0",
|
|
443
|
+
"metadata": [
|
|
444
|
+
{
|
|
445
|
+
"bucket": "*"
|
|
446
|
+
}
|
|
447
|
+
]
|
|
425
448
|
}
|
|
426
449
|
},
|
|
427
450
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -433,19 +456,55 @@
|
|
|
433
456
|
"path": "cfts3-no-security-headers/test-cloudfront-s3-no-security-headers/S3Bucket/AutoDeleteObjectsCustomResource/Default",
|
|
434
457
|
"constructInfo": {
|
|
435
458
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
436
|
-
"version": "2.
|
|
459
|
+
"version": "2.179.0"
|
|
437
460
|
}
|
|
438
461
|
}
|
|
439
462
|
},
|
|
440
463
|
"constructInfo": {
|
|
441
464
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
442
|
-
"version": "2.
|
|
465
|
+
"version": "2.179.0",
|
|
466
|
+
"metadata": [
|
|
467
|
+
"*"
|
|
468
|
+
]
|
|
443
469
|
}
|
|
444
470
|
}
|
|
445
471
|
},
|
|
446
472
|
"constructInfo": {
|
|
447
473
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
448
|
-
"version": "2.
|
|
474
|
+
"version": "2.179.0",
|
|
475
|
+
"metadata": [
|
|
476
|
+
{
|
|
477
|
+
"encryption": "S3_MANAGED",
|
|
478
|
+
"versioned": true,
|
|
479
|
+
"blockPublicAccess": "*",
|
|
480
|
+
"removalPolicy": "destroy",
|
|
481
|
+
"enforceSSL": true,
|
|
482
|
+
"lifecycleRules": [
|
|
483
|
+
{
|
|
484
|
+
"noncurrentVersionTransitions": [
|
|
485
|
+
{
|
|
486
|
+
"storageClass": "*"
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"serverAccessLogsBucket": "*",
|
|
492
|
+
"autoDeleteObjects": true
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"addLifecycleRule": [
|
|
496
|
+
{
|
|
497
|
+
"noncurrentVersionTransitions": [
|
|
498
|
+
{
|
|
499
|
+
"storageClass": "*"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
},
|
|
503
|
+
"*",
|
|
504
|
+
"*"
|
|
505
|
+
]
|
|
506
|
+
}
|
|
507
|
+
]
|
|
449
508
|
}
|
|
450
509
|
},
|
|
451
510
|
"CloudfrontLoggingBucketAccessLog": {
|
|
@@ -486,7 +545,7 @@
|
|
|
486
545
|
},
|
|
487
546
|
"constructInfo": {
|
|
488
547
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
489
|
-
"version": "2.
|
|
548
|
+
"version": "2.179.0"
|
|
490
549
|
}
|
|
491
550
|
},
|
|
492
551
|
"Policy": {
|
|
@@ -620,13 +679,18 @@
|
|
|
620
679
|
},
|
|
621
680
|
"constructInfo": {
|
|
622
681
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
623
|
-
"version": "2.
|
|
682
|
+
"version": "2.179.0"
|
|
624
683
|
}
|
|
625
684
|
}
|
|
626
685
|
},
|
|
627
686
|
"constructInfo": {
|
|
628
687
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
629
|
-
"version": "2.
|
|
688
|
+
"version": "2.179.0",
|
|
689
|
+
"metadata": [
|
|
690
|
+
{
|
|
691
|
+
"bucket": "*"
|
|
692
|
+
}
|
|
693
|
+
]
|
|
630
694
|
}
|
|
631
695
|
},
|
|
632
696
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -638,19 +702,32 @@
|
|
|
638
702
|
"path": "cfts3-no-security-headers/test-cloudfront-s3-no-security-headers/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource/Default",
|
|
639
703
|
"constructInfo": {
|
|
640
704
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
641
|
-
"version": "2.
|
|
705
|
+
"version": "2.179.0"
|
|
642
706
|
}
|
|
643
707
|
}
|
|
644
708
|
},
|
|
645
709
|
"constructInfo": {
|
|
646
710
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
647
|
-
"version": "2.
|
|
711
|
+
"version": "2.179.0",
|
|
712
|
+
"metadata": [
|
|
713
|
+
"*"
|
|
714
|
+
]
|
|
648
715
|
}
|
|
649
716
|
}
|
|
650
717
|
},
|
|
651
718
|
"constructInfo": {
|
|
652
719
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
653
|
-
"version": "2.
|
|
720
|
+
"version": "2.179.0",
|
|
721
|
+
"metadata": [
|
|
722
|
+
{
|
|
723
|
+
"encryption": "S3_MANAGED",
|
|
724
|
+
"versioned": true,
|
|
725
|
+
"blockPublicAccess": "*",
|
|
726
|
+
"removalPolicy": "destroy",
|
|
727
|
+
"enforceSSL": true,
|
|
728
|
+
"autoDeleteObjects": true
|
|
729
|
+
}
|
|
730
|
+
]
|
|
654
731
|
}
|
|
655
732
|
},
|
|
656
733
|
"CloudfrontLoggingBucket": {
|
|
@@ -703,7 +780,7 @@
|
|
|
703
780
|
},
|
|
704
781
|
"constructInfo": {
|
|
705
782
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
706
|
-
"version": "2.
|
|
783
|
+
"version": "2.179.0"
|
|
707
784
|
}
|
|
708
785
|
},
|
|
709
786
|
"Policy": {
|
|
@@ -801,13 +878,18 @@
|
|
|
801
878
|
},
|
|
802
879
|
"constructInfo": {
|
|
803
880
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
804
|
-
"version": "2.
|
|
881
|
+
"version": "2.179.0"
|
|
805
882
|
}
|
|
806
883
|
}
|
|
807
884
|
},
|
|
808
885
|
"constructInfo": {
|
|
809
886
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
810
|
-
"version": "2.
|
|
887
|
+
"version": "2.179.0",
|
|
888
|
+
"metadata": [
|
|
889
|
+
{
|
|
890
|
+
"bucket": "*"
|
|
891
|
+
}
|
|
892
|
+
]
|
|
811
893
|
}
|
|
812
894
|
},
|
|
813
895
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -819,19 +901,34 @@
|
|
|
819
901
|
"path": "cfts3-no-security-headers/test-cloudfront-s3-no-security-headers/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default",
|
|
820
902
|
"constructInfo": {
|
|
821
903
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
822
|
-
"version": "2.
|
|
904
|
+
"version": "2.179.0"
|
|
823
905
|
}
|
|
824
906
|
}
|
|
825
907
|
},
|
|
826
908
|
"constructInfo": {
|
|
827
909
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
828
|
-
"version": "2.
|
|
910
|
+
"version": "2.179.0",
|
|
911
|
+
"metadata": [
|
|
912
|
+
"*"
|
|
913
|
+
]
|
|
829
914
|
}
|
|
830
915
|
}
|
|
831
916
|
},
|
|
832
917
|
"constructInfo": {
|
|
833
918
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
834
|
-
"version": "2.
|
|
919
|
+
"version": "2.179.0",
|
|
920
|
+
"metadata": [
|
|
921
|
+
{
|
|
922
|
+
"encryption": "S3_MANAGED",
|
|
923
|
+
"versioned": true,
|
|
924
|
+
"blockPublicAccess": "*",
|
|
925
|
+
"removalPolicy": "destroy",
|
|
926
|
+
"enforceSSL": true,
|
|
927
|
+
"autoDeleteObjects": true,
|
|
928
|
+
"objectOwnership": "ObjectWriter",
|
|
929
|
+
"serverAccessLogsBucket": "*"
|
|
930
|
+
}
|
|
931
|
+
]
|
|
835
932
|
}
|
|
836
933
|
},
|
|
837
934
|
"CloudFrontOac": {
|
|
@@ -871,7 +968,7 @@
|
|
|
871
968
|
},
|
|
872
969
|
"constructInfo": {
|
|
873
970
|
"fqn": "aws-cdk-lib.aws_cloudfront.CfnOriginAccessControl",
|
|
874
|
-
"version": "2.
|
|
971
|
+
"version": "2.179.0"
|
|
875
972
|
}
|
|
876
973
|
},
|
|
877
974
|
"CloudFrontDistribution": {
|
|
@@ -883,7 +980,7 @@
|
|
|
883
980
|
"path": "cfts3-no-security-headers/test-cloudfront-s3-no-security-headers/CloudFrontDistribution/Origin1",
|
|
884
981
|
"constructInfo": {
|
|
885
982
|
"fqn": "constructs.Construct",
|
|
886
|
-
"version": "10.
|
|
983
|
+
"version": "10.4.2"
|
|
887
984
|
}
|
|
888
985
|
},
|
|
889
986
|
"Resource": {
|
|
@@ -931,19 +1028,30 @@
|
|
|
931
1028
|
},
|
|
932
1029
|
"constructInfo": {
|
|
933
1030
|
"fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
|
|
934
|
-
"version": "2.
|
|
1031
|
+
"version": "2.179.0"
|
|
935
1032
|
}
|
|
936
1033
|
}
|
|
937
1034
|
},
|
|
938
1035
|
"constructInfo": {
|
|
939
1036
|
"fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
|
|
940
|
-
"version": "2.
|
|
1037
|
+
"version": "2.179.0",
|
|
1038
|
+
"metadata": [
|
|
1039
|
+
{
|
|
1040
|
+
"defaultBehavior": {
|
|
1041
|
+
"origin": "*",
|
|
1042
|
+
"viewerProtocolPolicy": "redirect-to-https"
|
|
1043
|
+
},
|
|
1044
|
+
"enableLogging": true,
|
|
1045
|
+
"logBucket": "*",
|
|
1046
|
+
"defaultRootObject": "*"
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
941
1049
|
}
|
|
942
1050
|
}
|
|
943
1051
|
},
|
|
944
1052
|
"constructInfo": {
|
|
945
1053
|
"fqn": "@aws-solutions-constructs/aws-cloudfront-s3.CloudFrontToS3",
|
|
946
|
-
"version": "2.
|
|
1054
|
+
"version": "2.79.1"
|
|
947
1055
|
}
|
|
948
1056
|
},
|
|
949
1057
|
"LatestNodeRuntimeMap": {
|
|
@@ -951,7 +1059,7 @@
|
|
|
951
1059
|
"path": "cfts3-no-security-headers/LatestNodeRuntimeMap",
|
|
952
1060
|
"constructInfo": {
|
|
953
1061
|
"fqn": "aws-cdk-lib.CfnMapping",
|
|
954
|
-
"version": "2.
|
|
1062
|
+
"version": "2.179.0"
|
|
955
1063
|
}
|
|
956
1064
|
},
|
|
957
1065
|
"Custom::S3AutoDeleteObjectsCustomResourceProvider": {
|
|
@@ -963,7 +1071,7 @@
|
|
|
963
1071
|
"path": "cfts3-no-security-headers/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
|
|
964
1072
|
"constructInfo": {
|
|
965
1073
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
966
|
-
"version": "2.
|
|
1074
|
+
"version": "2.179.0"
|
|
967
1075
|
}
|
|
968
1076
|
},
|
|
969
1077
|
"Role": {
|
|
@@ -971,7 +1079,7 @@
|
|
|
971
1079
|
"path": "cfts3-no-security-headers/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
|
|
972
1080
|
"constructInfo": {
|
|
973
1081
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
974
|
-
"version": "2.
|
|
1082
|
+
"version": "2.179.0"
|
|
975
1083
|
}
|
|
976
1084
|
},
|
|
977
1085
|
"Handler": {
|
|
@@ -979,13 +1087,13 @@
|
|
|
979
1087
|
"path": "cfts3-no-security-headers/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
|
|
980
1088
|
"constructInfo": {
|
|
981
1089
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
982
|
-
"version": "2.
|
|
1090
|
+
"version": "2.179.0"
|
|
983
1091
|
}
|
|
984
1092
|
}
|
|
985
1093
|
},
|
|
986
1094
|
"constructInfo": {
|
|
987
1095
|
"fqn": "aws-cdk-lib.CustomResourceProviderBase",
|
|
988
|
-
"version": "2.
|
|
1096
|
+
"version": "2.179.0"
|
|
989
1097
|
}
|
|
990
1098
|
},
|
|
991
1099
|
"Integ": {
|
|
@@ -1001,7 +1109,7 @@
|
|
|
1001
1109
|
"path": "cfts3-no-security-headers/Integ/DefaultTest/Default",
|
|
1002
1110
|
"constructInfo": {
|
|
1003
1111
|
"fqn": "constructs.Construct",
|
|
1004
|
-
"version": "10.
|
|
1112
|
+
"version": "10.4.2"
|
|
1005
1113
|
}
|
|
1006
1114
|
},
|
|
1007
1115
|
"DeployAssert": {
|
|
@@ -1013,7 +1121,7 @@
|
|
|
1013
1121
|
"path": "cfts3-no-security-headers/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
1014
1122
|
"constructInfo": {
|
|
1015
1123
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
1016
|
-
"version": "2.
|
|
1124
|
+
"version": "2.179.0"
|
|
1017
1125
|
}
|
|
1018
1126
|
},
|
|
1019
1127
|
"CheckBootstrapVersion": {
|
|
@@ -1021,25 +1129,25 @@
|
|
|
1021
1129
|
"path": "cfts3-no-security-headers/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
1022
1130
|
"constructInfo": {
|
|
1023
1131
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
1024
|
-
"version": "2.
|
|
1132
|
+
"version": "2.179.0"
|
|
1025
1133
|
}
|
|
1026
1134
|
}
|
|
1027
1135
|
},
|
|
1028
1136
|
"constructInfo": {
|
|
1029
1137
|
"fqn": "aws-cdk-lib.Stack",
|
|
1030
|
-
"version": "2.
|
|
1138
|
+
"version": "2.179.0"
|
|
1031
1139
|
}
|
|
1032
1140
|
}
|
|
1033
1141
|
},
|
|
1034
1142
|
"constructInfo": {
|
|
1035
1143
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
1036
|
-
"version": "2.
|
|
1144
|
+
"version": "2.179.0-alpha.0"
|
|
1037
1145
|
}
|
|
1038
1146
|
}
|
|
1039
1147
|
},
|
|
1040
1148
|
"constructInfo": {
|
|
1041
1149
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
1042
|
-
"version": "2.
|
|
1150
|
+
"version": "2.179.0-alpha.0"
|
|
1043
1151
|
}
|
|
1044
1152
|
},
|
|
1045
1153
|
"BootstrapVersion": {
|
|
@@ -1047,7 +1155,7 @@
|
|
|
1047
1155
|
"path": "cfts3-no-security-headers/BootstrapVersion",
|
|
1048
1156
|
"constructInfo": {
|
|
1049
1157
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
1050
|
-
"version": "2.
|
|
1158
|
+
"version": "2.179.0"
|
|
1051
1159
|
}
|
|
1052
1160
|
},
|
|
1053
1161
|
"CheckBootstrapVersion": {
|
|
@@ -1055,13 +1163,13 @@
|
|
|
1055
1163
|
"path": "cfts3-no-security-headers/CheckBootstrapVersion",
|
|
1056
1164
|
"constructInfo": {
|
|
1057
1165
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
1058
|
-
"version": "2.
|
|
1166
|
+
"version": "2.179.0"
|
|
1059
1167
|
}
|
|
1060
1168
|
}
|
|
1061
1169
|
},
|
|
1062
1170
|
"constructInfo": {
|
|
1063
1171
|
"fqn": "aws-cdk-lib.Stack",
|
|
1064
|
-
"version": "2.
|
|
1172
|
+
"version": "2.179.0"
|
|
1065
1173
|
}
|
|
1066
1174
|
},
|
|
1067
1175
|
"Tree": {
|
|
@@ -1069,13 +1177,13 @@
|
|
|
1069
1177
|
"path": "Tree",
|
|
1070
1178
|
"constructInfo": {
|
|
1071
1179
|
"fqn": "constructs.Construct",
|
|
1072
|
-
"version": "10.
|
|
1180
|
+
"version": "10.4.2"
|
|
1073
1181
|
}
|
|
1074
1182
|
}
|
|
1075
1183
|
},
|
|
1076
1184
|
"constructInfo": {
|
|
1077
1185
|
"fqn": "aws-cdk-lib.App",
|
|
1078
|
-
"version": "2.
|
|
1186
|
+
"version": "2.179.0"
|
|
1079
1187
|
}
|
|
1080
1188
|
}
|
|
1081
1189
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Retry=exports.redactDataFromPayload=exports.safeHandler=exports.includeStackTraces=exports.submitResponse=exports.MISSING_PHYSICAL_ID_MARKER=exports.CREATE_FAILED_PHYSICAL_ID_MARKER=void 0;const url=require("url"),outbound_1=require("./outbound"),util_1=require("./util");exports.CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",exports.MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function submitResponse(status,event,options={}){const json={Status:status,Reason:options.reason||status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||exports.MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:options.noEcho,Data:event.Data},responseBody=JSON.stringify(json),parsedUrl=url.parse(event.ResponseURL),loggingSafeUrl=`${parsedUrl.protocol}//${parsedUrl.hostname}/${parsedUrl.pathname}?***`;options?.noEcho?(0,util_1.log)("submit redacted response to cloudformation",loggingSafeUrl,redactDataFromPayload(json)):(0,util_1.log)("submit response to cloudformation",loggingSafeUrl,json);const retryOptions={attempts:5,sleep:1e3};await(0,util_1.withRetries)(retryOptions,outbound_1.httpRequest)({hostname:parsedUrl.hostname,path:parsedUrl.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(responseBody,"utf8")}},responseBody)}exports.submitResponse=submitResponse,exports.includeStackTraces=!0;function safeHandler(block){return async event=>{if(event.RequestType==="Delete"&&event.PhysicalResourceId===exports.CREATE_FAILED_PHYSICAL_ID_MARKER){(0,util_1.log)("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{await block(event)}catch(e){if(e instanceof Retry)throw(0,util_1.log)("retry requested by handler"),e;event.PhysicalResourceId||(event.RequestType==="Create"?((0,util_1.log)("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),event.PhysicalResourceId=exports.CREATE_FAILED_PHYSICAL_ID_MARKER):(0,util_1.log)(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify({...event,ResponseURL:"..."})}`)),await submitResponse("FAILED",event,{reason:exports.includeStackTraces?e.stack:e.message})}}}exports.safeHandler=safeHandler;function redactDataFromPayload(payload){const redactedPayload=JSON.parse(JSON.stringify(payload));if(redactedPayload.Data){const keys=Object.keys(redactedPayload.Data);for(const key of keys)redactedPayload.Data[key]="*****"}return redactedPayload}exports.redactDataFromPayload=redactDataFromPayload;class Retry extends Error{}exports.Retry=Retry;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseJsonPayload=exports.withRetries=exports.log=exports.getEnv=void 0;function getEnv(name){const value=process.env[name];if(!value)throw new Error(`The environment variable "${name}" is not defined`);return value}exports.getEnv=getEnv;function log(title,...args){console.log("[provider-framework]",title,...args.map(x=>typeof x=="object"?JSON.stringify(x,void 0,2):x))}exports.log=log;function withRetries(options,fn){return async(...xs)=>{let attempts=options.attempts,ms=options.sleep;for(;;)try{return await fn(...xs)}catch(e){if(attempts--<=0)throw e;await sleep(Math.floor(Math.random()*ms)),ms*=2}}}exports.withRetries=withRetries;async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}function parseJsonPayload(payload){const text=new TextDecoder().decode(Buffer.from(payload??""));if(!text)return{};try{return JSON.parse(text)}catch{throw new Error(`return values from user-handlers must be JSON objects. got: "${text}"`)}}exports.parseJsonPayload=parseJsonPayload;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Retry=exports.redactDataFromPayload=exports.safeHandler=exports.includeStackTraces=exports.submitResponse=exports.MISSING_PHYSICAL_ID_MARKER=exports.CREATE_FAILED_PHYSICAL_ID_MARKER=void 0;const url=require("url"),outbound_1=require("./outbound"),util_1=require("./util");exports.CREATE_FAILED_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",exports.MISSING_PHYSICAL_ID_MARKER="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";async function submitResponse(status,event,options={}){const json={Status:status,Reason:options.reason||status,StackId:event.StackId,RequestId:event.RequestId,PhysicalResourceId:event.PhysicalResourceId||exports.MISSING_PHYSICAL_ID_MARKER,LogicalResourceId:event.LogicalResourceId,NoEcho:options.noEcho,Data:event.Data},responseBody=JSON.stringify(json),parsedUrl=url.parse(event.ResponseURL),loggingSafeUrl=`${parsedUrl.protocol}//${parsedUrl.hostname}/${parsedUrl.pathname}?***`;options?.noEcho?(0,util_1.log)("submit redacted response to cloudformation",loggingSafeUrl,redactDataFromPayload(json)):(0,util_1.log)("submit response to cloudformation",loggingSafeUrl,json);const retryOptions={attempts:5,sleep:1e3};await(0,util_1.withRetries)(retryOptions,outbound_1.httpRequest)({hostname:parsedUrl.hostname,path:parsedUrl.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(responseBody,"utf8")}},responseBody)}exports.submitResponse=submitResponse,exports.includeStackTraces=!0;function safeHandler(block){return async event=>{if(event.RequestType==="Delete"&&event.PhysicalResourceId===exports.CREATE_FAILED_PHYSICAL_ID_MARKER){(0,util_1.log)("ignoring DELETE event caused by a failed CREATE event"),await submitResponse("SUCCESS",event);return}try{await block(event)}catch(e){if(e instanceof Retry)throw(0,util_1.log)("retry requested by handler"),e;event.PhysicalResourceId||(event.RequestType==="Create"?((0,util_1.log)("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),event.PhysicalResourceId=exports.CREATE_FAILED_PHYSICAL_ID_MARKER):(0,util_1.log)(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify({...event,ResponseURL:"..."})}`)),await submitResponse("FAILED",event,{reason:exports.includeStackTraces?e.stack:e.message})}}}exports.safeHandler=safeHandler;function redactDataFromPayload(payload){const redactedPayload=JSON.parse(JSON.stringify(payload));if(redactedPayload.Data){const keys=Object.keys(redactedPayload.Data);for(const key of keys)redactedPayload.Data[key]="*****"}return redactedPayload}exports.redactDataFromPayload=redactDataFromPayload;class Retry extends Error{}exports.Retry=Retry;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseJsonPayload=exports.withRetries=exports.log=exports.getEnv=void 0;function getEnv(name){const value=process.env[name];if(!value)throw new Error(`The environment variable "${name}" is not defined`);return value}exports.getEnv=getEnv;function log(title,...args){console.log("[provider-framework]",title,...args.map(x=>typeof x=="object"?JSON.stringify(x,void 0,2):x))}exports.log=log;function withRetries(options,fn){return async(...xs)=>{let attempts=options.attempts,ms=options.sleep;for(;;)try{return await fn(...xs)}catch(e){if(attempts--<=0)throw e;await sleep(Math.floor(Math.random()*ms)),ms*=2}}}exports.withRetries=withRetries;async function sleep(ms){return new Promise(ok=>setTimeout(ok,ms))}function parseJsonPayload(payload){const text=new TextDecoder().decode(Buffer.from(payload??""));if(!text)return{};try{return JSON.parse(text)}catch{throw new Error(`return values from user-handlers must be JSON objects. got: "${text}"`)}}exports.parseJsonPayload=parseJsonPayload;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|