@aws-solutions-constructs/aws-cloudfront-oai-s3 2.79.1 → 2.81.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 +44 -44
- package/lib/index.js +1 -1
- 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 +4 -4
- package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +157 -10
- package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +154 -43
- 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 +4 -4
- package/test/integ.cftoais3-custom-headers.js.snapshot/manifest.json +180 -10
- package/test/integ.cftoais3-custom-headers.js.snapshot/tree.json +175 -47
- 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 +4 -4
- package/test/integ.cftoais3-custom-originPath.js.snapshot/manifest.json +172 -10
- package/test/integ.cftoais3-custom-originPath.js.snapshot/tree.json +168 -45
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.assets.json +2 -2
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.template.json +4 -4
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/manifest.json +210 -10
- package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/tree.json +200 -45
- 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 +4 -4
- package/test/integ.cftoais3-existing-bucket.js.snapshot/manifest.json +174 -10
- package/test/integ.cftoais3-existing-bucket.js.snapshot/tree.json +168 -49
- 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 +4 -4
- package/test/integ.cftoais3-no-arguments.js.snapshot/manifest.json +172 -10
- package/test/integ.cftoais3-no-arguments.js.snapshot/tree.json +168 -45
- 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 +4 -4
- package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +116 -10
- package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +118 -33
- 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 +4 -4
- package/test/integ.cftoais3-no-logging.js.snapshot/manifest.json +88 -10
- package/test/integ.cftoais3-no-logging.js.snapshot/tree.json +93 -27
- 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 +4 -4
- package/test/integ.cftoais3-no-security-headers.js.snapshot/manifest.json +157 -10
- package/test/integ.cftoais3-no-security-headers.js.snapshot/tree.json +154 -43
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"validateOnSynth": false,
|
|
67
67
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
68
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/
|
|
69
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/b850d8cb0395e3736411502b96ade755b46e92ebed4412b8179639273c18087d.json",
|
|
70
70
|
"requiresBootstrapStackVersion": 6,
|
|
71
71
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
72
|
"additionalDependencies": [
|
|
@@ -82,90 +82,299 @@
|
|
|
82
82
|
"cftoais3-customLoggingBuckets.assets"
|
|
83
83
|
],
|
|
84
84
|
"metadata": {
|
|
85
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket": [
|
|
86
|
+
{
|
|
87
|
+
"type": "aws:cdk:analytics:construct",
|
|
88
|
+
"data": {
|
|
89
|
+
"encryption": "S3_MANAGED",
|
|
90
|
+
"versioned": true,
|
|
91
|
+
"blockPublicAccess": "*",
|
|
92
|
+
"removalPolicy": "destroy",
|
|
93
|
+
"enforceSSL": true,
|
|
94
|
+
"autoDeleteObjects": true,
|
|
95
|
+
"lifecycleRules": [
|
|
96
|
+
{
|
|
97
|
+
"enabled": true,
|
|
98
|
+
"transitions": "*"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "aws:cdk:analytics:method",
|
|
105
|
+
"data": {
|
|
106
|
+
"addLifecycleRule": [
|
|
107
|
+
{
|
|
108
|
+
"enabled": true,
|
|
109
|
+
"transitions": "*"
|
|
110
|
+
},
|
|
111
|
+
"*",
|
|
112
|
+
"*"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
],
|
|
85
117
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Resource": [
|
|
86
118
|
{
|
|
87
119
|
"type": "aws:cdk:logicalId",
|
|
88
120
|
"data": "testcloudfrontoais3S3LoggingBucketC8A21DD9"
|
|
89
121
|
}
|
|
90
122
|
],
|
|
123
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Policy": [
|
|
124
|
+
{
|
|
125
|
+
"type": "aws:cdk:analytics:construct",
|
|
126
|
+
"data": {
|
|
127
|
+
"bucket": "*"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
],
|
|
91
131
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/Policy/Resource": [
|
|
92
132
|
{
|
|
93
133
|
"type": "aws:cdk:logicalId",
|
|
94
134
|
"data": "testcloudfrontoais3S3LoggingBucketPolicy792609D7"
|
|
95
135
|
}
|
|
96
136
|
],
|
|
137
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource": [
|
|
138
|
+
{
|
|
139
|
+
"type": "aws:cdk:analytics:construct",
|
|
140
|
+
"data": "*"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
97
143
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default": [
|
|
98
144
|
{
|
|
99
145
|
"type": "aws:cdk:logicalId",
|
|
100
146
|
"data": "testcloudfrontoais3S3LoggingBucketAutoDeleteObjectsCustomResource24F8B1EE"
|
|
101
147
|
}
|
|
102
148
|
],
|
|
149
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket": [
|
|
150
|
+
{
|
|
151
|
+
"type": "aws:cdk:analytics:construct",
|
|
152
|
+
"data": {
|
|
153
|
+
"encryption": "S3_MANAGED",
|
|
154
|
+
"versioned": true,
|
|
155
|
+
"blockPublicAccess": "*",
|
|
156
|
+
"removalPolicy": "destroy",
|
|
157
|
+
"enforceSSL": true,
|
|
158
|
+
"lifecycleRules": [
|
|
159
|
+
{
|
|
160
|
+
"noncurrentVersionTransitions": [
|
|
161
|
+
{
|
|
162
|
+
"storageClass": "*"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"serverAccessLogsBucket": "*",
|
|
168
|
+
"autoDeleteObjects": true
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "aws:cdk:analytics:method",
|
|
173
|
+
"data": {
|
|
174
|
+
"addLifecycleRule": [
|
|
175
|
+
{
|
|
176
|
+
"noncurrentVersionTransitions": [
|
|
177
|
+
{
|
|
178
|
+
"storageClass": "*"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"*",
|
|
183
|
+
"*"
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
],
|
|
103
188
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Resource": [
|
|
104
189
|
{
|
|
105
190
|
"type": "aws:cdk:logicalId",
|
|
106
191
|
"data": "testcloudfrontoais3S3Bucket578AB9F3"
|
|
107
192
|
}
|
|
108
193
|
],
|
|
194
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Policy": [
|
|
195
|
+
{
|
|
196
|
+
"type": "aws:cdk:analytics:construct",
|
|
197
|
+
"data": {
|
|
198
|
+
"bucket": "*"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
],
|
|
109
202
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/Policy/Resource": [
|
|
110
203
|
{
|
|
111
204
|
"type": "aws:cdk:logicalId",
|
|
112
205
|
"data": "testcloudfrontoais3S3BucketPolicyD2322CC3"
|
|
113
206
|
}
|
|
114
207
|
],
|
|
208
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource": [
|
|
209
|
+
{
|
|
210
|
+
"type": "aws:cdk:analytics:construct",
|
|
211
|
+
"data": "*"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
115
214
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/S3Bucket/AutoDeleteObjectsCustomResource/Default": [
|
|
116
215
|
{
|
|
117
216
|
"type": "aws:cdk:logicalId",
|
|
118
217
|
"data": "testcloudfrontoais3S3BucketAutoDeleteObjectsCustomResourceA2545EE1"
|
|
119
218
|
}
|
|
120
219
|
],
|
|
220
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/SetHttpSecurityHeaders": [
|
|
221
|
+
{
|
|
222
|
+
"type": "aws:cdk:analytics:construct",
|
|
223
|
+
"data": {
|
|
224
|
+
"functionName": "*",
|
|
225
|
+
"code": "*"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
],
|
|
121
229
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/SetHttpSecurityHeaders/Resource": [
|
|
122
230
|
{
|
|
123
231
|
"type": "aws:cdk:logicalId",
|
|
124
232
|
"data": "testcloudfrontoais3SetHttpSecurityHeaders4EB3C97B"
|
|
125
233
|
}
|
|
126
234
|
],
|
|
235
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog": [
|
|
236
|
+
{
|
|
237
|
+
"type": "aws:cdk:analytics:construct",
|
|
238
|
+
"data": {
|
|
239
|
+
"encryption": "S3_MANAGED",
|
|
240
|
+
"versioned": true,
|
|
241
|
+
"blockPublicAccess": "*",
|
|
242
|
+
"removalPolicy": "destroy",
|
|
243
|
+
"enforceSSL": true,
|
|
244
|
+
"autoDeleteObjects": true
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
],
|
|
127
248
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Resource": [
|
|
128
249
|
{
|
|
129
250
|
"type": "aws:cdk:logicalId",
|
|
130
251
|
"data": "testcloudfrontoais3CloudfrontLoggingBucketAccessLogBF5AAF80"
|
|
131
252
|
}
|
|
132
253
|
],
|
|
254
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Policy": [
|
|
255
|
+
{
|
|
256
|
+
"type": "aws:cdk:analytics:construct",
|
|
257
|
+
"data": {
|
|
258
|
+
"bucket": "*"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
],
|
|
133
262
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/Policy/Resource": [
|
|
134
263
|
{
|
|
135
264
|
"type": "aws:cdk:logicalId",
|
|
136
265
|
"data": "testcloudfrontoais3CloudfrontLoggingBucketAccessLogPolicy0C078528"
|
|
137
266
|
}
|
|
138
267
|
],
|
|
268
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource": [
|
|
269
|
+
{
|
|
270
|
+
"type": "aws:cdk:analytics:construct",
|
|
271
|
+
"data": "*"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
139
274
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource/Default": [
|
|
140
275
|
{
|
|
141
276
|
"type": "aws:cdk:logicalId",
|
|
142
277
|
"data": "testcloudfrontoais3CloudfrontLoggingBucketAccessLogAutoDeleteObjectsCustomResource00DB3AC8"
|
|
143
278
|
}
|
|
144
279
|
],
|
|
280
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket": [
|
|
281
|
+
{
|
|
282
|
+
"type": "aws:cdk:analytics:construct",
|
|
283
|
+
"data": {
|
|
284
|
+
"encryption": "S3_MANAGED",
|
|
285
|
+
"versioned": true,
|
|
286
|
+
"blockPublicAccess": "*",
|
|
287
|
+
"removalPolicy": "destroy",
|
|
288
|
+
"enforceSSL": true,
|
|
289
|
+
"autoDeleteObjects": true,
|
|
290
|
+
"lifecycleRules": [
|
|
291
|
+
{
|
|
292
|
+
"enabled": true,
|
|
293
|
+
"transitions": "*"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"objectOwnership": "ObjectWriter",
|
|
297
|
+
"serverAccessLogsBucket": "*"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"type": "aws:cdk:analytics:method",
|
|
302
|
+
"data": {
|
|
303
|
+
"addLifecycleRule": [
|
|
304
|
+
{
|
|
305
|
+
"enabled": true,
|
|
306
|
+
"transitions": "*"
|
|
307
|
+
},
|
|
308
|
+
"*",
|
|
309
|
+
"*"
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
],
|
|
145
314
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Resource": [
|
|
146
315
|
{
|
|
147
316
|
"type": "aws:cdk:logicalId",
|
|
148
317
|
"data": "testcloudfrontoais3CloudfrontLoggingBucket55AA79FC"
|
|
149
318
|
}
|
|
150
319
|
],
|
|
320
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy": [
|
|
321
|
+
{
|
|
322
|
+
"type": "aws:cdk:analytics:construct",
|
|
323
|
+
"data": {
|
|
324
|
+
"bucket": "*"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
],
|
|
151
328
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/Policy/Resource": [
|
|
152
329
|
{
|
|
153
330
|
"type": "aws:cdk:logicalId",
|
|
154
331
|
"data": "testcloudfrontoais3CloudfrontLoggingBucketPolicy2130EE92"
|
|
155
332
|
}
|
|
156
333
|
],
|
|
334
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource": [
|
|
335
|
+
{
|
|
336
|
+
"type": "aws:cdk:analytics:construct",
|
|
337
|
+
"data": "*"
|
|
338
|
+
}
|
|
339
|
+
],
|
|
157
340
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default": [
|
|
158
341
|
{
|
|
159
342
|
"type": "aws:cdk:logicalId",
|
|
160
343
|
"data": "testcloudfrontoais3CloudfrontLoggingBucketAutoDeleteObjectsCustomResourceE88BD625"
|
|
161
344
|
}
|
|
162
345
|
],
|
|
346
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai": [
|
|
347
|
+
{
|
|
348
|
+
"type": "aws:cdk:analytics:construct",
|
|
349
|
+
"data": "*"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
163
352
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/constructsGeneratedOai/Resource": [
|
|
164
353
|
{
|
|
165
354
|
"type": "aws:cdk:logicalId",
|
|
166
355
|
"data": "testcloudfrontoais3constructsGeneratedOaiA468F478"
|
|
167
356
|
}
|
|
168
357
|
],
|
|
358
|
+
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution": [
|
|
359
|
+
{
|
|
360
|
+
"type": "aws:cdk:analytics:construct",
|
|
361
|
+
"data": {
|
|
362
|
+
"defaultBehavior": {
|
|
363
|
+
"origin": "*",
|
|
364
|
+
"viewerProtocolPolicy": "redirect-to-https",
|
|
365
|
+
"functionAssociations": [
|
|
366
|
+
{
|
|
367
|
+
"eventType": "viewer-response",
|
|
368
|
+
"function": "*"
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
"enableLogging": true,
|
|
373
|
+
"logBucket": "*",
|
|
374
|
+
"defaultRootObject": "*"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
],
|
|
169
378
|
"/cftoais3-customLoggingBuckets/test-cloudfront-oai-s3/CloudFrontDistribution/Resource": [
|
|
170
379
|
{
|
|
171
380
|
"type": "aws:cdk:logicalId",
|
|
@@ -207,15 +416,6 @@
|
|
|
207
416
|
"type": "aws:cdk:logicalId",
|
|
208
417
|
"data": "CheckBootstrapVersion"
|
|
209
418
|
}
|
|
210
|
-
],
|
|
211
|
-
"testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1": [
|
|
212
|
-
{
|
|
213
|
-
"type": "aws:cdk:logicalId",
|
|
214
|
-
"data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
|
|
215
|
-
"trace": [
|
|
216
|
-
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
419
|
]
|
|
220
420
|
},
|
|
221
421
|
"displayName": "cftoais3-customLoggingBuckets"
|