@aws-solutions-constructs/aws-cloudfront-oai-s3 2.79.0 → 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 +17 -57
- package/README.md +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -2
- package/package.json +8 -8
- package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.assets.json +2 -2
- package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.template.json +8 -8
- package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +159 -3
- package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +180 -71
- package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.assets.json +2 -2
- package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.template.json +8 -8
- package/test/integ.cftoais3-custom-headers.js.snapshot/manifest.json +182 -3
- package/test/integ.cftoais3-custom-headers.js.snapshot/tree.json +201 -75
- package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.assets.json +2 -2
- package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.template.json +8 -8
- package/test/integ.cftoais3-custom-originPath.js.snapshot/manifest.json +174 -3
- package/test/integ.cftoais3-custom-originPath.js.snapshot/tree.json +194 -73
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.assets.json +2 -2
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.template.json +8 -8
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/manifest.json +212 -3
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/tree.json +226 -73
- package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.assets.json +2 -2
- package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.template.json +9 -9
- package/test/integ.cftoais3-existing-bucket.js.snapshot/manifest.json +176 -3
- package/test/integ.cftoais3-existing-bucket.js.snapshot/tree.json +195 -78
- package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.assets.json +2 -2
- package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.template.json +8 -8
- package/test/integ.cftoais3-no-arguments.js.snapshot/manifest.json +171 -135
- package/test/integ.cftoais3-no-arguments.js.snapshot/tree.json +194 -73
- package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.assets.json +2 -2
- package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.template.json +8 -8
- package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +118 -3
- package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +144 -61
- package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.assets.json +2 -2
- package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.template.json +8 -8
- package/test/integ.cftoais3-no-logging.js.snapshot/manifest.json +90 -3
- package/test/integ.cftoais3-no-logging.js.snapshot/tree.json +119 -55
- package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.assets.json +2 -2
- package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.template.json +8 -8
- package/test/integ.cftoais3-no-security-headers.js.snapshot/manifest.json +159 -3
- package/test/integ.cftoais3-no-security-headers.js.snapshot/tree.json +180 -71
- package/test/test.cloudfront-oai-s3.test.js +2 -1
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"constructInfo": {
|
|
65
65
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
66
|
-
"version": "2.
|
|
66
|
+
"version": "2.179.0"
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"Policy": {
|
|
@@ -197,13 +197,18 @@
|
|
|
197
197
|
},
|
|
198
198
|
"constructInfo": {
|
|
199
199
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
200
|
-
"version": "2.
|
|
200
|
+
"version": "2.179.0"
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
204
|
"constructInfo": {
|
|
205
205
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
206
|
-
"version": "2.
|
|
206
|
+
"version": "2.179.0",
|
|
207
|
+
"metadata": [
|
|
208
|
+
{
|
|
209
|
+
"bucket": "*"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
207
212
|
}
|
|
208
213
|
},
|
|
209
214
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -215,19 +220,48 @@
|
|
|
215
220
|
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default",
|
|
216
221
|
"constructInfo": {
|
|
217
222
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
218
|
-
"version": "2.
|
|
223
|
+
"version": "2.179.0"
|
|
219
224
|
}
|
|
220
225
|
}
|
|
221
226
|
},
|
|
222
227
|
"constructInfo": {
|
|
223
228
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
224
|
-
"version": "2.
|
|
229
|
+
"version": "2.179.0",
|
|
230
|
+
"metadata": [
|
|
231
|
+
"*"
|
|
232
|
+
]
|
|
225
233
|
}
|
|
226
234
|
}
|
|
227
235
|
},
|
|
228
236
|
"constructInfo": {
|
|
229
237
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
230
|
-
"version": "2.
|
|
238
|
+
"version": "2.179.0",
|
|
239
|
+
"metadata": [
|
|
240
|
+
{
|
|
241
|
+
"encryption": "S3_MANAGED",
|
|
242
|
+
"versioned": true,
|
|
243
|
+
"blockPublicAccess": "*",
|
|
244
|
+
"removalPolicy": "destroy",
|
|
245
|
+
"enforceSSL": true,
|
|
246
|
+
"autoDeleteObjects": true,
|
|
247
|
+
"lifecycleRules": [
|
|
248
|
+
{
|
|
249
|
+
"enabled": true,
|
|
250
|
+
"transitions": "*"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"addLifecycleRule": [
|
|
256
|
+
{
|
|
257
|
+
"enabled": true,
|
|
258
|
+
"transitions": "*"
|
|
259
|
+
},
|
|
260
|
+
"*",
|
|
261
|
+
"*"
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
]
|
|
231
265
|
}
|
|
232
266
|
},
|
|
233
267
|
"S3Bucket": {
|
|
@@ -286,7 +320,7 @@
|
|
|
286
320
|
},
|
|
287
321
|
"constructInfo": {
|
|
288
322
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
289
|
-
"version": "2.
|
|
323
|
+
"version": "2.179.0"
|
|
290
324
|
}
|
|
291
325
|
},
|
|
292
326
|
"Policy": {
|
|
@@ -383,7 +417,7 @@
|
|
|
383
417
|
"Principal": {
|
|
384
418
|
"CanonicalUser": {
|
|
385
419
|
"Fn::GetAtt": [
|
|
386
|
-
"
|
|
420
|
+
"testcloudfrontoais3constructsGeneratedOaiA468F478",
|
|
387
421
|
"S3CanonicalUserId"
|
|
388
422
|
]
|
|
389
423
|
}
|
|
@@ -454,13 +488,18 @@
|
|
|
454
488
|
},
|
|
455
489
|
"constructInfo": {
|
|
456
490
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
457
|
-
"version": "2.
|
|
491
|
+
"version": "2.179.0"
|
|
458
492
|
}
|
|
459
493
|
}
|
|
460
494
|
},
|
|
461
495
|
"constructInfo": {
|
|
462
496
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
463
|
-
"version": "2.
|
|
497
|
+
"version": "2.179.0",
|
|
498
|
+
"metadata": [
|
|
499
|
+
{
|
|
500
|
+
"bucket": "*"
|
|
501
|
+
}
|
|
502
|
+
]
|
|
464
503
|
}
|
|
465
504
|
},
|
|
466
505
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -472,19 +511,55 @@
|
|
|
472
511
|
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource/Default",
|
|
473
512
|
"constructInfo": {
|
|
474
513
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
475
|
-
"version": "2.
|
|
514
|
+
"version": "2.179.0"
|
|
476
515
|
}
|
|
477
516
|
}
|
|
478
517
|
},
|
|
479
518
|
"constructInfo": {
|
|
480
519
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
481
|
-
"version": "2.
|
|
520
|
+
"version": "2.179.0",
|
|
521
|
+
"metadata": [
|
|
522
|
+
"*"
|
|
523
|
+
]
|
|
482
524
|
}
|
|
483
525
|
}
|
|
484
526
|
},
|
|
485
527
|
"constructInfo": {
|
|
486
528
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
487
|
-
"version": "2.
|
|
529
|
+
"version": "2.179.0",
|
|
530
|
+
"metadata": [
|
|
531
|
+
{
|
|
532
|
+
"encryption": "S3_MANAGED",
|
|
533
|
+
"versioned": true,
|
|
534
|
+
"blockPublicAccess": "*",
|
|
535
|
+
"removalPolicy": "destroy",
|
|
536
|
+
"enforceSSL": true,
|
|
537
|
+
"lifecycleRules": [
|
|
538
|
+
{
|
|
539
|
+
"noncurrentVersionTransitions": [
|
|
540
|
+
{
|
|
541
|
+
"storageClass": "*"
|
|
542
|
+
}
|
|
543
|
+
]
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"serverAccessLogsBucket": "*",
|
|
547
|
+
"autoDeleteObjects": true
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"addLifecycleRule": [
|
|
551
|
+
{
|
|
552
|
+
"noncurrentVersionTransitions": [
|
|
553
|
+
{
|
|
554
|
+
"storageClass": "*"
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
"*",
|
|
559
|
+
"*"
|
|
560
|
+
]
|
|
561
|
+
}
|
|
562
|
+
]
|
|
488
563
|
}
|
|
489
564
|
},
|
|
490
565
|
"SetHttpSecurityHeaders": {
|
|
@@ -508,13 +583,19 @@
|
|
|
508
583
|
},
|
|
509
584
|
"constructInfo": {
|
|
510
585
|
"fqn": "aws-cdk-lib.aws_cloudfront.CfnFunction",
|
|
511
|
-
"version": "2.
|
|
586
|
+
"version": "2.179.0"
|
|
512
587
|
}
|
|
513
588
|
}
|
|
514
589
|
},
|
|
515
590
|
"constructInfo": {
|
|
516
591
|
"fqn": "aws-cdk-lib.aws_cloudfront.Function",
|
|
517
|
-
"version": "2.
|
|
592
|
+
"version": "2.179.0",
|
|
593
|
+
"metadata": [
|
|
594
|
+
{
|
|
595
|
+
"functionName": "*",
|
|
596
|
+
"code": "*"
|
|
597
|
+
}
|
|
598
|
+
]
|
|
518
599
|
}
|
|
519
600
|
},
|
|
520
601
|
"CloudfrontLoggingBucketAccessLog": {
|
|
@@ -555,7 +636,7 @@
|
|
|
555
636
|
},
|
|
556
637
|
"constructInfo": {
|
|
557
638
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
558
|
-
"version": "2.
|
|
639
|
+
"version": "2.179.0"
|
|
559
640
|
}
|
|
560
641
|
},
|
|
561
642
|
"Policy": {
|
|
@@ -689,13 +770,18 @@
|
|
|
689
770
|
},
|
|
690
771
|
"constructInfo": {
|
|
691
772
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
692
|
-
"version": "2.
|
|
773
|
+
"version": "2.179.0"
|
|
693
774
|
}
|
|
694
775
|
}
|
|
695
776
|
},
|
|
696
777
|
"constructInfo": {
|
|
697
778
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
698
|
-
"version": "2.
|
|
779
|
+
"version": "2.179.0",
|
|
780
|
+
"metadata": [
|
|
781
|
+
{
|
|
782
|
+
"bucket": "*"
|
|
783
|
+
}
|
|
784
|
+
]
|
|
699
785
|
}
|
|
700
786
|
},
|
|
701
787
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -707,19 +793,32 @@
|
|
|
707
793
|
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource/Default",
|
|
708
794
|
"constructInfo": {
|
|
709
795
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
710
|
-
"version": "2.
|
|
796
|
+
"version": "2.179.0"
|
|
711
797
|
}
|
|
712
798
|
}
|
|
713
799
|
},
|
|
714
800
|
"constructInfo": {
|
|
715
801
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
716
|
-
"version": "2.
|
|
802
|
+
"version": "2.179.0",
|
|
803
|
+
"metadata": [
|
|
804
|
+
"*"
|
|
805
|
+
]
|
|
717
806
|
}
|
|
718
807
|
}
|
|
719
808
|
},
|
|
720
809
|
"constructInfo": {
|
|
721
810
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
722
|
-
"version": "2.
|
|
811
|
+
"version": "2.179.0",
|
|
812
|
+
"metadata": [
|
|
813
|
+
{
|
|
814
|
+
"encryption": "S3_MANAGED",
|
|
815
|
+
"versioned": true,
|
|
816
|
+
"blockPublicAccess": "*",
|
|
817
|
+
"removalPolicy": "destroy",
|
|
818
|
+
"enforceSSL": true,
|
|
819
|
+
"autoDeleteObjects": true
|
|
820
|
+
}
|
|
821
|
+
]
|
|
723
822
|
}
|
|
724
823
|
},
|
|
725
824
|
"CloudfrontLoggingBucket": {
|
|
@@ -785,7 +884,7 @@
|
|
|
785
884
|
},
|
|
786
885
|
"constructInfo": {
|
|
787
886
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
788
|
-
"version": "2.
|
|
887
|
+
"version": "2.179.0"
|
|
789
888
|
}
|
|
790
889
|
},
|
|
791
890
|
"Policy": {
|
|
@@ -883,13 +982,18 @@
|
|
|
883
982
|
},
|
|
884
983
|
"constructInfo": {
|
|
885
984
|
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
886
|
-
"version": "2.
|
|
985
|
+
"version": "2.179.0"
|
|
887
986
|
}
|
|
888
987
|
}
|
|
889
988
|
},
|
|
890
989
|
"constructInfo": {
|
|
891
990
|
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
892
|
-
"version": "2.
|
|
991
|
+
"version": "2.179.0",
|
|
992
|
+
"metadata": [
|
|
993
|
+
{
|
|
994
|
+
"bucket": "*"
|
|
995
|
+
}
|
|
996
|
+
]
|
|
893
997
|
}
|
|
894
998
|
},
|
|
895
999
|
"AutoDeleteObjectsCustomResource": {
|
|
@@ -901,19 +1005,79 @@
|
|
|
901
1005
|
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default",
|
|
902
1006
|
"constructInfo": {
|
|
903
1007
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
904
|
-
"version": "2.
|
|
1008
|
+
"version": "2.179.0"
|
|
905
1009
|
}
|
|
906
1010
|
}
|
|
907
1011
|
},
|
|
908
1012
|
"constructInfo": {
|
|
909
1013
|
"fqn": "aws-cdk-lib.CustomResource",
|
|
910
|
-
"version": "2.
|
|
1014
|
+
"version": "2.179.0",
|
|
1015
|
+
"metadata": [
|
|
1016
|
+
"*"
|
|
1017
|
+
]
|
|
911
1018
|
}
|
|
912
1019
|
}
|
|
913
1020
|
},
|
|
914
1021
|
"constructInfo": {
|
|
915
1022
|
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
916
|
-
"version": "2.
|
|
1023
|
+
"version": "2.179.0",
|
|
1024
|
+
"metadata": [
|
|
1025
|
+
{
|
|
1026
|
+
"encryption": "S3_MANAGED",
|
|
1027
|
+
"versioned": true,
|
|
1028
|
+
"blockPublicAccess": "*",
|
|
1029
|
+
"removalPolicy": "destroy",
|
|
1030
|
+
"enforceSSL": true,
|
|
1031
|
+
"autoDeleteObjects": true,
|
|
1032
|
+
"lifecycleRules": [
|
|
1033
|
+
{
|
|
1034
|
+
"enabled": true,
|
|
1035
|
+
"transitions": "*"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"objectOwnership": "ObjectWriter",
|
|
1039
|
+
"serverAccessLogsBucket": "*"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"addLifecycleRule": [
|
|
1043
|
+
{
|
|
1044
|
+
"enabled": true,
|
|
1045
|
+
"transitions": "*"
|
|
1046
|
+
},
|
|
1047
|
+
"*",
|
|
1048
|
+
"*"
|
|
1049
|
+
]
|
|
1050
|
+
}
|
|
1051
|
+
]
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
"constructsGeneratedOai": {
|
|
1055
|
+
"id": "constructsGeneratedOai",
|
|
1056
|
+
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai",
|
|
1057
|
+
"children": {
|
|
1058
|
+
"Resource": {
|
|
1059
|
+
"id": "Resource",
|
|
1060
|
+
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai/Resource",
|
|
1061
|
+
"attributes": {
|
|
1062
|
+
"aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
|
|
1063
|
+
"aws:cdk:cloudformation:props": {
|
|
1064
|
+
"cloudFrontOriginAccessIdentityConfig": {
|
|
1065
|
+
"comment": "Allows CloudFront to reach the bucket"
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"constructInfo": {
|
|
1070
|
+
"fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
|
|
1071
|
+
"version": "2.179.0"
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
"constructInfo": {
|
|
1076
|
+
"fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
|
|
1077
|
+
"version": "2.179.0",
|
|
1078
|
+
"metadata": [
|
|
1079
|
+
"*"
|
|
1080
|
+
]
|
|
917
1081
|
}
|
|
918
1082
|
},
|
|
919
1083
|
"CloudFrontDistribution": {
|
|
@@ -923,34 +1087,6 @@
|
|
|
923
1087
|
"Origin1": {
|
|
924
1088
|
"id": "Origin1",
|
|
925
1089
|
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1",
|
|
926
|
-
"children": {
|
|
927
|
-
"S3Origin": {
|
|
928
|
-
"id": "S3Origin",
|
|
929
|
-
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin",
|
|
930
|
-
"children": {
|
|
931
|
-
"Resource": {
|
|
932
|
-
"id": "Resource",
|
|
933
|
-
"path": "cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource",
|
|
934
|
-
"attributes": {
|
|
935
|
-
"aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
|
|
936
|
-
"aws:cdk:cloudformation:props": {
|
|
937
|
-
"cloudFrontOriginAccessIdentityConfig": {
|
|
938
|
-
"comment": "Identity for cftoais3customLoggingBucketstestcloudfrontoais3CloudFrontDistributionOrigin108880941"
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
"constructInfo": {
|
|
943
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
|
|
944
|
-
"version": "2.177.0"
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
},
|
|
948
|
-
"constructInfo": {
|
|
949
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
|
|
950
|
-
"version": "2.177.0"
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
1090
|
"constructInfo": {
|
|
955
1091
|
"fqn": "constructs.Construct",
|
|
956
1092
|
"version": "10.4.2"
|
|
@@ -980,7 +1116,7 @@
|
|
|
980
1116
|
[
|
|
981
1117
|
"origin-access-identity/cloudfront/",
|
|
982
1118
|
{
|
|
983
|
-
"Ref": "
|
|
1119
|
+
"Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
|
|
984
1120
|
}
|
|
985
1121
|
]
|
|
986
1122
|
]
|
|
@@ -1022,19 +1158,36 @@
|
|
|
1022
1158
|
},
|
|
1023
1159
|
"constructInfo": {
|
|
1024
1160
|
"fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
|
|
1025
|
-
"version": "2.
|
|
1161
|
+
"version": "2.179.0"
|
|
1026
1162
|
}
|
|
1027
1163
|
}
|
|
1028
1164
|
},
|
|
1029
1165
|
"constructInfo": {
|
|
1030
1166
|
"fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
|
|
1031
|
-
"version": "2.
|
|
1167
|
+
"version": "2.179.0",
|
|
1168
|
+
"metadata": [
|
|
1169
|
+
{
|
|
1170
|
+
"defaultBehavior": {
|
|
1171
|
+
"origin": "*",
|
|
1172
|
+
"viewerProtocolPolicy": "redirect-to-https",
|
|
1173
|
+
"functionAssociations": [
|
|
1174
|
+
{
|
|
1175
|
+
"eventType": "viewer-response",
|
|
1176
|
+
"function": "*"
|
|
1177
|
+
}
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
"enableLogging": true,
|
|
1181
|
+
"logBucket": "*",
|
|
1182
|
+
"defaultRootObject": "*"
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1032
1185
|
}
|
|
1033
1186
|
}
|
|
1034
1187
|
},
|
|
1035
1188
|
"constructInfo": {
|
|
1036
1189
|
"fqn": "@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3",
|
|
1037
|
-
"version": "2.
|
|
1190
|
+
"version": "2.79.1"
|
|
1038
1191
|
}
|
|
1039
1192
|
},
|
|
1040
1193
|
"LatestNodeRuntimeMap": {
|
|
@@ -1042,7 +1195,7 @@
|
|
|
1042
1195
|
"path": "cftoais3-customLoggingBuckets/LatestNodeRuntimeMap",
|
|
1043
1196
|
"constructInfo": {
|
|
1044
1197
|
"fqn": "aws-cdk-lib.CfnMapping",
|
|
1045
|
-
"version": "2.
|
|
1198
|
+
"version": "2.179.0"
|
|
1046
1199
|
}
|
|
1047
1200
|
},
|
|
1048
1201
|
"Custom::S3AutoDeleteObjectsCustomResourceProvider": {
|
|
@@ -1054,7 +1207,7 @@
|
|
|
1054
1207
|
"path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
|
|
1055
1208
|
"constructInfo": {
|
|
1056
1209
|
"fqn": "aws-cdk-lib.AssetStaging",
|
|
1057
|
-
"version": "2.
|
|
1210
|
+
"version": "2.179.0"
|
|
1058
1211
|
}
|
|
1059
1212
|
},
|
|
1060
1213
|
"Role": {
|
|
@@ -1062,7 +1215,7 @@
|
|
|
1062
1215
|
"path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
|
|
1063
1216
|
"constructInfo": {
|
|
1064
1217
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
1065
|
-
"version": "2.
|
|
1218
|
+
"version": "2.179.0"
|
|
1066
1219
|
}
|
|
1067
1220
|
},
|
|
1068
1221
|
"Handler": {
|
|
@@ -1070,13 +1223,13 @@
|
|
|
1070
1223
|
"path": "cftoais3-customLoggingBuckets/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
|
|
1071
1224
|
"constructInfo": {
|
|
1072
1225
|
"fqn": "aws-cdk-lib.CfnResource",
|
|
1073
|
-
"version": "2.
|
|
1226
|
+
"version": "2.179.0"
|
|
1074
1227
|
}
|
|
1075
1228
|
}
|
|
1076
1229
|
},
|
|
1077
1230
|
"constructInfo": {
|
|
1078
1231
|
"fqn": "aws-cdk-lib.CustomResourceProviderBase",
|
|
1079
|
-
"version": "2.
|
|
1232
|
+
"version": "2.179.0"
|
|
1080
1233
|
}
|
|
1081
1234
|
},
|
|
1082
1235
|
"Integ": {
|
|
@@ -1104,7 +1257,7 @@
|
|
|
1104
1257
|
"path": "cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
1105
1258
|
"constructInfo": {
|
|
1106
1259
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
1107
|
-
"version": "2.
|
|
1260
|
+
"version": "2.179.0"
|
|
1108
1261
|
}
|
|
1109
1262
|
},
|
|
1110
1263
|
"CheckBootstrapVersion": {
|
|
@@ -1112,25 +1265,25 @@
|
|
|
1112
1265
|
"path": "cftoais3-customLoggingBuckets/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
1113
1266
|
"constructInfo": {
|
|
1114
1267
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
1115
|
-
"version": "2.
|
|
1268
|
+
"version": "2.179.0"
|
|
1116
1269
|
}
|
|
1117
1270
|
}
|
|
1118
1271
|
},
|
|
1119
1272
|
"constructInfo": {
|
|
1120
1273
|
"fqn": "aws-cdk-lib.Stack",
|
|
1121
|
-
"version": "2.
|
|
1274
|
+
"version": "2.179.0"
|
|
1122
1275
|
}
|
|
1123
1276
|
}
|
|
1124
1277
|
},
|
|
1125
1278
|
"constructInfo": {
|
|
1126
1279
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
1127
|
-
"version": "2.
|
|
1280
|
+
"version": "2.179.0-alpha.0"
|
|
1128
1281
|
}
|
|
1129
1282
|
}
|
|
1130
1283
|
},
|
|
1131
1284
|
"constructInfo": {
|
|
1132
1285
|
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
1133
|
-
"version": "2.
|
|
1286
|
+
"version": "2.179.0-alpha.0"
|
|
1134
1287
|
}
|
|
1135
1288
|
},
|
|
1136
1289
|
"BootstrapVersion": {
|
|
@@ -1138,7 +1291,7 @@
|
|
|
1138
1291
|
"path": "cftoais3-customLoggingBuckets/BootstrapVersion",
|
|
1139
1292
|
"constructInfo": {
|
|
1140
1293
|
"fqn": "aws-cdk-lib.CfnParameter",
|
|
1141
|
-
"version": "2.
|
|
1294
|
+
"version": "2.179.0"
|
|
1142
1295
|
}
|
|
1143
1296
|
},
|
|
1144
1297
|
"CheckBootstrapVersion": {
|
|
@@ -1146,13 +1299,13 @@
|
|
|
1146
1299
|
"path": "cftoais3-customLoggingBuckets/CheckBootstrapVersion",
|
|
1147
1300
|
"constructInfo": {
|
|
1148
1301
|
"fqn": "aws-cdk-lib.CfnRule",
|
|
1149
|
-
"version": "2.
|
|
1302
|
+
"version": "2.179.0"
|
|
1150
1303
|
}
|
|
1151
1304
|
}
|
|
1152
1305
|
},
|
|
1153
1306
|
"constructInfo": {
|
|
1154
1307
|
"fqn": "aws-cdk-lib.Stack",
|
|
1155
|
-
"version": "2.
|
|
1308
|
+
"version": "2.179.0"
|
|
1156
1309
|
}
|
|
1157
1310
|
},
|
|
1158
1311
|
"Tree": {
|
|
@@ -1166,7 +1319,7 @@
|
|
|
1166
1319
|
},
|
|
1167
1320
|
"constructInfo": {
|
|
1168
1321
|
"fqn": "aws-cdk-lib.App",
|
|
1169
|
-
"version": "2.
|
|
1322
|
+
"version": "2.179.0"
|
|
1170
1323
|
}
|
|
1171
1324
|
}
|
|
1172
1325
|
}
|
package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.assets.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"
|
|
17
|
+
"c7096e04a4392470551ab72ac80c9ccff86976158e5fbf9ed4e62e02a75ec5fc": {
|
|
18
18
|
"source": {
|
|
19
19
|
"path": "cftoais3-existing-bucket.template.json",
|
|
20
20
|
"packaging": "file"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"destinations": {
|
|
23
23
|
"current_account-current_region": {
|
|
24
24
|
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
25
|
-
"objectKey": "
|
|
25
|
+
"objectKey": "c7096e04a4392470551ab72ac80c9ccff86976158e5fbf9ed4e62e02a75ec5fc.json",
|
|
26
26
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.template.json
CHANGED
|
@@ -378,13 +378,13 @@
|
|
|
378
378
|
"CanonicalUser": [
|
|
379
379
|
{
|
|
380
380
|
"Fn::GetAtt": [
|
|
381
|
-
"
|
|
381
|
+
"testcloudfrontoais3CloudFrontDistributionOrigin2S3Origin226F4E91",
|
|
382
382
|
"S3CanonicalUserId"
|
|
383
383
|
]
|
|
384
384
|
},
|
|
385
385
|
{
|
|
386
386
|
"Fn::GetAtt": [
|
|
387
|
-
"
|
|
387
|
+
"testcloudfrontoais3constructsGeneratedOaiA468F478",
|
|
388
388
|
"S3CanonicalUserId"
|
|
389
389
|
]
|
|
390
390
|
}
|
|
@@ -826,11 +826,11 @@
|
|
|
826
826
|
"UpdateReplacePolicy": "Delete",
|
|
827
827
|
"DeletionPolicy": "Delete"
|
|
828
828
|
},
|
|
829
|
-
"
|
|
829
|
+
"testcloudfrontoais3constructsGeneratedOaiA468F478": {
|
|
830
830
|
"Type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
|
|
831
831
|
"Properties": {
|
|
832
832
|
"CloudFrontOriginAccessIdentityConfig": {
|
|
833
|
-
"Comment": "
|
|
833
|
+
"Comment": "Allows CloudFront to reach the bucket"
|
|
834
834
|
}
|
|
835
835
|
}
|
|
836
836
|
},
|
|
@@ -894,7 +894,7 @@
|
|
|
894
894
|
[
|
|
895
895
|
"origin-access-identity/cloudfront/",
|
|
896
896
|
{
|
|
897
|
-
"Ref": "
|
|
897
|
+
"Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
|
|
898
898
|
}
|
|
899
899
|
]
|
|
900
900
|
]
|
|
@@ -1018,10 +1018,10 @@
|
|
|
1018
1018
|
"value": "nodejs20.x"
|
|
1019
1019
|
},
|
|
1020
1020
|
"cn-north-1": {
|
|
1021
|
-
"value": "
|
|
1021
|
+
"value": "nodejs20.x"
|
|
1022
1022
|
},
|
|
1023
1023
|
"cn-northwest-1": {
|
|
1024
|
-
"value": "
|
|
1024
|
+
"value": "nodejs20.x"
|
|
1025
1025
|
},
|
|
1026
1026
|
"eu-central-1": {
|
|
1027
1027
|
"value": "nodejs20.x"
|
|
@@ -1072,10 +1072,10 @@
|
|
|
1072
1072
|
"value": "nodejs20.x"
|
|
1073
1073
|
},
|
|
1074
1074
|
"us-gov-east-1": {
|
|
1075
|
-
"value": "
|
|
1075
|
+
"value": "nodejs20.x"
|
|
1076
1076
|
},
|
|
1077
1077
|
"us-gov-west-1": {
|
|
1078
|
-
"value": "
|
|
1078
|
+
"value": "nodejs20.x"
|
|
1079
1079
|
},
|
|
1080
1080
|
"us-iso-east-1": {
|
|
1081
1081
|
"value": "nodejs18.x"
|