@aws-solutions-constructs/aws-cloudfront-s3 2.97.0 → 2.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/.jsii +64 -6
  2. package/README.adoc +3 -3
  3. package/lib/index.d.ts +1 -1
  4. package/lib/index.js +2 -2
  5. package/package.json +8 -8
  6. package/test/integ.cfts3-additional-behavior.js.snapshot/integ.json +1 -1
  7. package/test/integ.cfts3-additional-behavior.js.snapshot/manifest.json +20 -11
  8. package/test/integ.cfts3-additional-behavior.js.snapshot/tree.json +1 -1
  9. package/test/{integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/framework.js +1 -1
  10. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.assets.json +7 -7
  11. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.template.json +1 -1
  12. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/integ.json +1 -1
  13. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/manifest.json +7 -23
  14. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/tree.json +1 -1
  15. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  16. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cdk.out +1 -1
  17. 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 +1 -1
  18. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cfts3bucketencryptedwithmanagedkeyprovidedasexistingbucketIntegDefaultTestDeployAssert03A82C16.assets.json +1 -1
  19. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/integ.json +2 -2
  20. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +68 -50
  21. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +1 -1
  22. package/test/{integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/framework.js +1 -1
  23. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.assets.json +7 -7
  24. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.template.json +1 -1
  25. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/integ.json +1 -1
  26. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/manifest.json +7 -23
  27. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/tree.json +1 -1
  28. package/test/integ.cfts3-custom-headers.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  29. package/test/integ.cfts3-custom-headers.js.snapshot/cdk.out +1 -1
  30. package/test/integ.cfts3-custom-headers.js.snapshot/cfts3-custom-headers.assets.json +1 -1
  31. package/test/integ.cfts3-custom-headers.js.snapshot/cfts3customheadersIntegDefaultTestDeployAssert6EEC9973.assets.json +1 -1
  32. package/test/integ.cfts3-custom-headers.js.snapshot/integ.json +2 -2
  33. package/test/integ.cfts3-custom-headers.js.snapshot/manifest.json +68 -50
  34. package/test/integ.cfts3-custom-headers.js.snapshot/tree.json +1 -1
  35. package/test/integ.cfts3-custom-originPath.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  36. package/test/integ.cfts3-custom-originPath.js.snapshot/cdk.out +1 -1
  37. package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3-custom-originPath.assets.json +1 -1
  38. package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3customoriginPathIntegDefaultTestDeployAssert61F499B2.assets.json +1 -1
  39. package/test/integ.cfts3-custom-originPath.js.snapshot/integ.json +2 -2
  40. package/test/integ.cfts3-custom-originPath.js.snapshot/manifest.json +68 -50
  41. package/test/integ.cfts3-custom-originPath.js.snapshot/tree.json +1 -1
  42. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  43. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cdk.out +1 -1
  44. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3-customLoggingBuckets.assets.json +1 -1
  45. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3customLoggingBucketsIntegDefaultTestDeployAssert4D171F9F.assets.json +1 -1
  46. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/integ.json +2 -2
  47. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/manifest.json +68 -50
  48. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/tree.json +1 -1
  49. package/test/integ.cfts3-existing-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  50. package/test/integ.cfts3-existing-bucket.js.snapshot/cdk.out +1 -1
  51. package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3-existing-bucket.assets.json +1 -1
  52. package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3existingbucketIntegDefaultTestDeployAssertA6D4EB49.assets.json +1 -1
  53. package/test/integ.cfts3-existing-bucket.js.snapshot/integ.json +2 -2
  54. package/test/integ.cfts3-existing-bucket.js.snapshot/manifest.json +68 -50
  55. package/test/integ.cfts3-existing-bucket.js.snapshot/tree.json +1 -1
  56. package/test/integ.cfts3-no-arguments.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  57. package/test/integ.cfts3-no-arguments.js.snapshot/cdk.out +1 -1
  58. package/test/integ.cfts3-no-arguments.js.snapshot/cfts3-no-arguments.assets.json +1 -1
  59. package/test/integ.cfts3-no-arguments.js.snapshot/cfts3noargumentsIntegDefaultTestDeployAssertBA5AFA25.assets.json +1 -1
  60. package/test/integ.cfts3-no-arguments.js.snapshot/integ.json +2 -2
  61. package/test/integ.cfts3-no-arguments.js.snapshot/manifest.json +68 -50
  62. package/test/integ.cfts3-no-arguments.js.snapshot/tree.json +1 -1
  63. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  64. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cdk.out +1 -1
  65. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3-no-cloudfront-s3-access-logs.assets.json +1 -1
  66. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/cfts3nocloudfronts3accesslogsIntegDefaultTestDeployAssertAD28C87A.assets.json +1 -1
  67. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/integ.json +2 -2
  68. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +68 -50
  69. package/test/integ.cfts3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +1 -1
  70. package/test/integ.cfts3-no-logging.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  71. package/test/integ.cfts3-no-logging.js.snapshot/cdk.out +1 -1
  72. package/test/integ.cfts3-no-logging.js.snapshot/cfts3-no-logging.assets.json +1 -1
  73. package/test/integ.cfts3-no-logging.js.snapshot/cfts3nologgingIntegDefaultTestDeployAssert18393DDB.assets.json +1 -1
  74. package/test/integ.cfts3-no-logging.js.snapshot/integ.json +2 -2
  75. package/test/integ.cfts3-no-logging.js.snapshot/manifest.json +68 -50
  76. package/test/integ.cfts3-no-logging.js.snapshot/tree.json +1 -1
  77. package/test/integ.cfts3-no-security-headers.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  78. package/test/integ.cfts3-no-security-headers.js.snapshot/cdk.out +1 -1
  79. package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3-no-security-headers.assets.json +1 -1
  80. package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3nosecurityheadersIntegDefaultTestDeployAssert38FE05BE.assets.json +1 -1
  81. package/test/integ.cfts3-no-security-headers.js.snapshot/integ.json +2 -2
  82. package/test/integ.cfts3-no-security-headers.js.snapshot/manifest.json +68 -50
  83. package/test/integ.cfts3-no-security-headers.js.snapshot/tree.json +1 -1
  84. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/cdk.out +0 -1
  85. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/cfts3-bucket-with-http-origin.assets.json +0 -19
  86. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/cfts3-bucket-with-http-origin.template.json +0 -552
  87. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/cfts3bucketwithhttporiginIntegDefaultTestDeployAssert75EB76AB.assets.json +0 -19
  88. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/cfts3bucketwithhttporiginIntegDefaultTestDeployAssert75EB76AB.template.json +0 -36
  89. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/integ.json +0 -12
  90. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/manifest.json +0 -161
  91. package/test/integ.cfts3-bucket-with-http-origin.js.snapshot/tree.json +0 -746
  92. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/cfn-response.js +0 -0
  93. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/consts.js +0 -0
  94. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/outbound.js +0 -0
  95. /package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/util.js +0 -0
  96. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/cfn-response.js +0 -0
  97. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/consts.js +0 -0
  98. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/outbound.js +0 -0
  99. /package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/{asset.bdc104ed9cab1b5b6421713c8155f0b753380595356f710400609664d3635eca → asset.07a90cc3efdfc34da22208dcd9d211f06f5b0e01b21e778edc7c3966b1f61d57}/util.js +0 -0
@@ -1,746 +0,0 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "cfts3-bucket-with-http-origin": {
8
- "id": "cfts3-bucket-with-http-origin",
9
- "path": "cfts3-bucket-with-http-origin",
10
- "children": {
11
- "test-cloudfront-s3-legacy-http-origin": {
12
- "id": "test-cloudfront-s3-legacy-http-origin",
13
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin",
14
- "children": {
15
- "S3LoggingBucket": {
16
- "id": "S3LoggingBucket",
17
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3LoggingBucket",
18
- "children": {
19
- "Resource": {
20
- "id": "Resource",
21
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3LoggingBucket/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
- "publicAccessBlockConfiguration": {
35
- "blockPublicAcls": true,
36
- "blockPublicPolicy": true,
37
- "ignorePublicAcls": true,
38
- "restrictPublicBuckets": true
39
- },
40
- "versioningConfiguration": {
41
- "status": "Enabled"
42
- }
43
- }
44
- },
45
- "constructInfo": {
46
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
47
- "version": "2.143.0"
48
- }
49
- },
50
- "Policy": {
51
- "id": "Policy",
52
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3LoggingBucket/Policy",
53
- "children": {
54
- "Resource": {
55
- "id": "Resource",
56
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3LoggingBucket/Policy/Resource",
57
- "attributes": {
58
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
59
- "aws:cdk:cloudformation:props": {
60
- "bucket": {
61
- "Ref": "testcloudfronts3legacyhttporiginS3LoggingBucketA3DB7D64"
62
- },
63
- "policyDocument": {
64
- "Statement": [
65
- {
66
- "Action": "s3:*",
67
- "Condition": {
68
- "Bool": {
69
- "aws:SecureTransport": "false"
70
- }
71
- },
72
- "Effect": "Deny",
73
- "Principal": {
74
- "AWS": "*"
75
- },
76
- "Resource": [
77
- {
78
- "Fn::GetAtt": [
79
- "testcloudfronts3legacyhttporiginS3LoggingBucketA3DB7D64",
80
- "Arn"
81
- ]
82
- },
83
- {
84
- "Fn::Join": [
85
- "",
86
- [
87
- {
88
- "Fn::GetAtt": [
89
- "testcloudfronts3legacyhttporiginS3LoggingBucketA3DB7D64",
90
- "Arn"
91
- ]
92
- },
93
- "/*"
94
- ]
95
- ]
96
- }
97
- ]
98
- },
99
- {
100
- "Action": "s3:PutObject",
101
- "Condition": {
102
- "ArnLike": {
103
- "aws:SourceArn": {
104
- "Fn::GetAtt": [
105
- "testcloudfronts3legacyhttporiginS3Bucket9C7276CA",
106
- "Arn"
107
- ]
108
- }
109
- },
110
- "StringEquals": {
111
- "aws:SourceAccount": {
112
- "Ref": "AWS::AccountId"
113
- }
114
- }
115
- },
116
- "Effect": "Allow",
117
- "Principal": {
118
- "Service": "logging.s3.amazonaws.com"
119
- },
120
- "Resource": {
121
- "Fn::Join": [
122
- "",
123
- [
124
- {
125
- "Fn::GetAtt": [
126
- "testcloudfronts3legacyhttporiginS3LoggingBucketA3DB7D64",
127
- "Arn"
128
- ]
129
- },
130
- "/*"
131
- ]
132
- ]
133
- }
134
- }
135
- ],
136
- "Version": "2012-10-17"
137
- }
138
- }
139
- },
140
- "constructInfo": {
141
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
142
- "version": "2.143.0"
143
- }
144
- }
145
- },
146
- "constructInfo": {
147
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
148
- "version": "2.143.0"
149
- }
150
- }
151
- },
152
- "constructInfo": {
153
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
154
- "version": "2.143.0"
155
- }
156
- },
157
- "S3Bucket": {
158
- "id": "S3Bucket",
159
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3Bucket",
160
- "children": {
161
- "Resource": {
162
- "id": "Resource",
163
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3Bucket/Resource",
164
- "attributes": {
165
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
166
- "aws:cdk:cloudformation:props": {
167
- "bucketEncryption": {
168
- "serverSideEncryptionConfiguration": [
169
- {
170
- "serverSideEncryptionByDefault": {
171
- "sseAlgorithm": "AES256"
172
- }
173
- }
174
- ]
175
- },
176
- "lifecycleConfiguration": {
177
- "rules": [
178
- {
179
- "noncurrentVersionTransitions": [
180
- {
181
- "storageClass": "GLACIER",
182
- "transitionInDays": 90
183
- }
184
- ],
185
- "status": "Enabled"
186
- }
187
- ]
188
- },
189
- "loggingConfiguration": {
190
- "destinationBucketName": {
191
- "Ref": "testcloudfronts3legacyhttporiginS3LoggingBucketA3DB7D64"
192
- }
193
- },
194
- "publicAccessBlockConfiguration": {
195
- "blockPublicAcls": false,
196
- "restrictPublicBuckets": false,
197
- "blockPublicPolicy": false,
198
- "ignorePublicAcls": false
199
- },
200
- "versioningConfiguration": {
201
- "status": "Enabled"
202
- },
203
- "websiteConfiguration": {
204
- "indexDocument": "index.html"
205
- }
206
- }
207
- },
208
- "constructInfo": {
209
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
210
- "version": "2.143.0"
211
- }
212
- },
213
- "Policy": {
214
- "id": "Policy",
215
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3Bucket/Policy",
216
- "children": {
217
- "Resource": {
218
- "id": "Resource",
219
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/S3Bucket/Policy/Resource",
220
- "attributes": {
221
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
222
- "aws:cdk:cloudformation:props": {
223
- "bucket": {
224
- "Ref": "testcloudfronts3legacyhttporiginS3Bucket9C7276CA"
225
- },
226
- "policyDocument": {
227
- "Statement": [
228
- {
229
- "Action": "s3:GetObject",
230
- "Effect": "Allow",
231
- "Principal": {
232
- "AWS": "*"
233
- },
234
- "Resource": {
235
- "Fn::Join": [
236
- "",
237
- [
238
- {
239
- "Fn::GetAtt": [
240
- "testcloudfronts3legacyhttporiginS3Bucket9C7276CA",
241
- "Arn"
242
- ]
243
- },
244
- "/*"
245
- ]
246
- ]
247
- }
248
- },
249
- {
250
- "Action": "s3:GetObject",
251
- "Condition": {
252
- "StringEquals": {
253
- "AWS:SourceArn": {
254
- "Fn::Join": [
255
- "",
256
- [
257
- "arn:aws:cloudfront::",
258
- {
259
- "Ref": "AWS::AccountId"
260
- },
261
- ":distribution/",
262
- {
263
- "Ref": "testcloudfronts3legacyhttporiginCloudFrontDistributionAF04EDAB"
264
- }
265
- ]
266
- ]
267
- }
268
- }
269
- },
270
- "Effect": "Allow",
271
- "Principal": {
272
- "Service": "cloudfront.amazonaws.com"
273
- },
274
- "Resource": {
275
- "Fn::Join": [
276
- "",
277
- [
278
- {
279
- "Fn::GetAtt": [
280
- "testcloudfronts3legacyhttporiginS3Bucket9C7276CA",
281
- "Arn"
282
- ]
283
- },
284
- "/*"
285
- ]
286
- ]
287
- }
288
- }
289
- ],
290
- "Version": "2012-10-17"
291
- }
292
- }
293
- },
294
- "constructInfo": {
295
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
296
- "version": "2.143.0"
297
- }
298
- }
299
- },
300
- "constructInfo": {
301
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
302
- "version": "2.143.0"
303
- }
304
- }
305
- },
306
- "constructInfo": {
307
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
308
- "version": "2.143.0"
309
- }
310
- },
311
- "CloudfrontLoggingBucketAccessLog": {
312
- "id": "CloudfrontLoggingBucketAccessLog",
313
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucketAccessLog",
314
- "children": {
315
- "Resource": {
316
- "id": "Resource",
317
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucketAccessLog/Resource",
318
- "attributes": {
319
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
320
- "aws:cdk:cloudformation:props": {
321
- "bucketEncryption": {
322
- "serverSideEncryptionConfiguration": [
323
- {
324
- "serverSideEncryptionByDefault": {
325
- "sseAlgorithm": "AES256"
326
- }
327
- }
328
- ]
329
- },
330
- "publicAccessBlockConfiguration": {
331
- "blockPublicAcls": true,
332
- "blockPublicPolicy": true,
333
- "ignorePublicAcls": true,
334
- "restrictPublicBuckets": true
335
- },
336
- "versioningConfiguration": {
337
- "status": "Enabled"
338
- }
339
- }
340
- },
341
- "constructInfo": {
342
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
343
- "version": "2.143.0"
344
- }
345
- },
346
- "Policy": {
347
- "id": "Policy",
348
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucketAccessLog/Policy",
349
- "children": {
350
- "Resource": {
351
- "id": "Resource",
352
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucketAccessLog/Policy/Resource",
353
- "attributes": {
354
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
355
- "aws:cdk:cloudformation:props": {
356
- "bucket": {
357
- "Ref": "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketAccessLog3AE680E5"
358
- },
359
- "policyDocument": {
360
- "Statement": [
361
- {
362
- "Action": "s3:*",
363
- "Condition": {
364
- "Bool": {
365
- "aws:SecureTransport": "false"
366
- }
367
- },
368
- "Effect": "Deny",
369
- "Principal": {
370
- "AWS": "*"
371
- },
372
- "Resource": [
373
- {
374
- "Fn::GetAtt": [
375
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketAccessLog3AE680E5",
376
- "Arn"
377
- ]
378
- },
379
- {
380
- "Fn::Join": [
381
- "",
382
- [
383
- {
384
- "Fn::GetAtt": [
385
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketAccessLog3AE680E5",
386
- "Arn"
387
- ]
388
- },
389
- "/*"
390
- ]
391
- ]
392
- }
393
- ]
394
- },
395
- {
396
- "Action": "s3:PutObject",
397
- "Condition": {
398
- "ArnLike": {
399
- "aws:SourceArn": {
400
- "Fn::GetAtt": [
401
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketC643C2EE",
402
- "Arn"
403
- ]
404
- }
405
- },
406
- "StringEquals": {
407
- "aws:SourceAccount": {
408
- "Ref": "AWS::AccountId"
409
- }
410
- }
411
- },
412
- "Effect": "Allow",
413
- "Principal": {
414
- "Service": "logging.s3.amazonaws.com"
415
- },
416
- "Resource": {
417
- "Fn::Join": [
418
- "",
419
- [
420
- {
421
- "Fn::GetAtt": [
422
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketAccessLog3AE680E5",
423
- "Arn"
424
- ]
425
- },
426
- "/*"
427
- ]
428
- ]
429
- }
430
- }
431
- ],
432
- "Version": "2012-10-17"
433
- }
434
- }
435
- },
436
- "constructInfo": {
437
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
438
- "version": "2.143.0"
439
- }
440
- }
441
- },
442
- "constructInfo": {
443
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
444
- "version": "2.143.0"
445
- }
446
- }
447
- },
448
- "constructInfo": {
449
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
450
- "version": "2.143.0"
451
- }
452
- },
453
- "CloudfrontLoggingBucket": {
454
- "id": "CloudfrontLoggingBucket",
455
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucket",
456
- "children": {
457
- "Resource": {
458
- "id": "Resource",
459
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucket/Resource",
460
- "attributes": {
461
- "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
462
- "aws:cdk:cloudformation:props": {
463
- "bucketEncryption": {
464
- "serverSideEncryptionConfiguration": [
465
- {
466
- "serverSideEncryptionByDefault": {
467
- "sseAlgorithm": "AES256"
468
- }
469
- }
470
- ]
471
- },
472
- "loggingConfiguration": {
473
- "destinationBucketName": {
474
- "Ref": "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketAccessLog3AE680E5"
475
- }
476
- },
477
- "ownershipControls": {
478
- "rules": [
479
- {
480
- "objectOwnership": "ObjectWriter"
481
- }
482
- ]
483
- },
484
- "publicAccessBlockConfiguration": {
485
- "blockPublicAcls": true,
486
- "blockPublicPolicy": true,
487
- "ignorePublicAcls": true,
488
- "restrictPublicBuckets": true
489
- },
490
- "versioningConfiguration": {
491
- "status": "Enabled"
492
- }
493
- }
494
- },
495
- "constructInfo": {
496
- "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
497
- "version": "2.143.0"
498
- }
499
- },
500
- "Policy": {
501
- "id": "Policy",
502
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucket/Policy",
503
- "children": {
504
- "Resource": {
505
- "id": "Resource",
506
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudfrontLoggingBucket/Policy/Resource",
507
- "attributes": {
508
- "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
509
- "aws:cdk:cloudformation:props": {
510
- "bucket": {
511
- "Ref": "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketC643C2EE"
512
- },
513
- "policyDocument": {
514
- "Statement": [
515
- {
516
- "Action": "s3:*",
517
- "Condition": {
518
- "Bool": {
519
- "aws:SecureTransport": "false"
520
- }
521
- },
522
- "Effect": "Deny",
523
- "Principal": {
524
- "AWS": "*"
525
- },
526
- "Resource": [
527
- {
528
- "Fn::GetAtt": [
529
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketC643C2EE",
530
- "Arn"
531
- ]
532
- },
533
- {
534
- "Fn::Join": [
535
- "",
536
- [
537
- {
538
- "Fn::GetAtt": [
539
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketC643C2EE",
540
- "Arn"
541
- ]
542
- },
543
- "/*"
544
- ]
545
- ]
546
- }
547
- ]
548
- }
549
- ],
550
- "Version": "2012-10-17"
551
- }
552
- }
553
- },
554
- "constructInfo": {
555
- "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
556
- "version": "2.143.0"
557
- }
558
- }
559
- },
560
- "constructInfo": {
561
- "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
562
- "version": "2.143.0"
563
- }
564
- }
565
- },
566
- "constructInfo": {
567
- "fqn": "aws-cdk-lib.aws_s3.Bucket",
568
- "version": "2.143.0"
569
- }
570
- },
571
- "CloudFrontDistribution": {
572
- "id": "CloudFrontDistribution",
573
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudFrontDistribution",
574
- "children": {
575
- "Origin1": {
576
- "id": "Origin1",
577
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudFrontDistribution/Origin1",
578
- "constructInfo": {
579
- "fqn": "constructs.Construct",
580
- "version": "10.3.0"
581
- }
582
- },
583
- "Resource": {
584
- "id": "Resource",
585
- "path": "cfts3-bucket-with-http-origin/test-cloudfront-s3-legacy-http-origin/CloudFrontDistribution/Resource",
586
- "attributes": {
587
- "aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
588
- "aws:cdk:cloudformation:props": {
589
- "distributionConfig": {
590
- "enabled": true,
591
- "origins": [
592
- {
593
- "domainName": {
594
- "Fn::Select": [
595
- 2,
596
- {
597
- "Fn::Split": [
598
- "/",
599
- {
600
- "Fn::GetAtt": [
601
- "testcloudfronts3legacyhttporiginS3Bucket9C7276CA",
602
- "WebsiteURL"
603
- ]
604
- }
605
- ]
606
- }
607
- ]
608
- },
609
- "id": "cfts3bucketwithhttporigintestcloudfronts3legacyhttporiginCloudFrontDistributionOrigin15A81BB36",
610
- "customOriginConfig": {
611
- "originSslProtocols": [
612
- "TLSv1.2"
613
- ],
614
- "originProtocolPolicy": "http-only"
615
- }
616
- }
617
- ],
618
- "defaultCacheBehavior": {
619
- "pathPattern": "*",
620
- "targetOriginId": "cfts3bucketwithhttporigintestcloudfronts3legacyhttporiginCloudFrontDistributionOrigin15A81BB36",
621
- "cachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6",
622
- "compress": true,
623
- "viewerProtocolPolicy": "redirect-to-https"
624
- },
625
- "defaultRootObject": "index.html",
626
- "httpVersion": "http2",
627
- "ipv6Enabled": true,
628
- "logging": {
629
- "bucket": {
630
- "Fn::GetAtt": [
631
- "testcloudfronts3legacyhttporiginCloudfrontLoggingBucketC643C2EE",
632
- "RegionalDomainName"
633
- ]
634
- }
635
- }
636
- }
637
- }
638
- },
639
- "constructInfo": {
640
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
641
- "version": "2.143.0"
642
- }
643
- }
644
- },
645
- "constructInfo": {
646
- "fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
647
- "version": "2.143.0"
648
- }
649
- }
650
- },
651
- "constructInfo": {
652
- "fqn": "@aws-solutions-constructs/aws-cloudfront-s3.CloudFrontToS3",
653
- "version": "2.58.1"
654
- }
655
- },
656
- "Integ": {
657
- "id": "Integ",
658
- "path": "cfts3-bucket-with-http-origin/Integ",
659
- "children": {
660
- "DefaultTest": {
661
- "id": "DefaultTest",
662
- "path": "cfts3-bucket-with-http-origin/Integ/DefaultTest",
663
- "children": {
664
- "Default": {
665
- "id": "Default",
666
- "path": "cfts3-bucket-with-http-origin/Integ/DefaultTest/Default",
667
- "constructInfo": {
668
- "fqn": "constructs.Construct",
669
- "version": "10.3.0"
670
- }
671
- },
672
- "DeployAssert": {
673
- "id": "DeployAssert",
674
- "path": "cfts3-bucket-with-http-origin/Integ/DefaultTest/DeployAssert",
675
- "children": {
676
- "BootstrapVersion": {
677
- "id": "BootstrapVersion",
678
- "path": "cfts3-bucket-with-http-origin/Integ/DefaultTest/DeployAssert/BootstrapVersion",
679
- "constructInfo": {
680
- "fqn": "aws-cdk-lib.CfnParameter",
681
- "version": "2.143.0"
682
- }
683
- },
684
- "CheckBootstrapVersion": {
685
- "id": "CheckBootstrapVersion",
686
- "path": "cfts3-bucket-with-http-origin/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
687
- "constructInfo": {
688
- "fqn": "aws-cdk-lib.CfnRule",
689
- "version": "2.143.0"
690
- }
691
- }
692
- },
693
- "constructInfo": {
694
- "fqn": "aws-cdk-lib.Stack",
695
- "version": "2.143.0"
696
- }
697
- }
698
- },
699
- "constructInfo": {
700
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
701
- "version": "2.143.0-alpha.0"
702
- }
703
- }
704
- },
705
- "constructInfo": {
706
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
707
- "version": "2.143.0-alpha.0"
708
- }
709
- },
710
- "BootstrapVersion": {
711
- "id": "BootstrapVersion",
712
- "path": "cfts3-bucket-with-http-origin/BootstrapVersion",
713
- "constructInfo": {
714
- "fqn": "aws-cdk-lib.CfnParameter",
715
- "version": "2.143.0"
716
- }
717
- },
718
- "CheckBootstrapVersion": {
719
- "id": "CheckBootstrapVersion",
720
- "path": "cfts3-bucket-with-http-origin/CheckBootstrapVersion",
721
- "constructInfo": {
722
- "fqn": "aws-cdk-lib.CfnRule",
723
- "version": "2.143.0"
724
- }
725
- }
726
- },
727
- "constructInfo": {
728
- "fqn": "aws-cdk-lib.Stack",
729
- "version": "2.143.0"
730
- }
731
- },
732
- "Tree": {
733
- "id": "Tree",
734
- "path": "Tree",
735
- "constructInfo": {
736
- "fqn": "constructs.Construct",
737
- "version": "10.3.0"
738
- }
739
- }
740
- },
741
- "constructInfo": {
742
- "fqn": "aws-cdk-lib.App",
743
- "version": "2.143.0"
744
- }
745
- }
746
- }