@aws-solutions-constructs/aws-cloudfront-oai-s3 2.79.0 → 2.79.1

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 (42) hide show
  1. package/.jsii +16 -17
  2. package/README.md +1 -0
  3. package/lib/index.d.ts +1 -1
  4. package/lib/index.js +3 -2
  5. package/package.json +5 -5
  6. 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
  7. 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
  8. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +12 -3
  9. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +29 -31
  10. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.assets.json +2 -2
  11. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.template.json +4 -4
  12. package/test/integ.cftoais3-custom-headers.js.snapshot/manifest.json +12 -3
  13. package/test/integ.cftoais3-custom-headers.js.snapshot/tree.json +29 -31
  14. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.assets.json +2 -2
  15. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.template.json +4 -4
  16. package/test/integ.cftoais3-custom-originPath.js.snapshot/manifest.json +12 -3
  17. package/test/integ.cftoais3-custom-originPath.js.snapshot/tree.json +29 -31
  18. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.assets.json +2 -2
  19. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.template.json +4 -4
  20. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/manifest.json +12 -3
  21. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/tree.json +29 -31
  22. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.assets.json +2 -2
  23. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.template.json +5 -5
  24. package/test/integ.cftoais3-existing-bucket.js.snapshot/manifest.json +12 -3
  25. package/test/integ.cftoais3-existing-bucket.js.snapshot/tree.json +30 -32
  26. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.assets.json +2 -2
  27. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.template.json +4 -4
  28. package/test/integ.cftoais3-no-arguments.js.snapshot/manifest.json +5 -131
  29. package/test/integ.cftoais3-no-arguments.js.snapshot/tree.json +29 -31
  30. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.assets.json +2 -2
  31. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.template.json +4 -4
  32. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +12 -3
  33. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +29 -31
  34. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.assets.json +2 -2
  35. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.template.json +4 -4
  36. package/test/integ.cftoais3-no-logging.js.snapshot/manifest.json +12 -3
  37. package/test/integ.cftoais3-no-logging.js.snapshot/tree.json +29 -31
  38. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.assets.json +2 -2
  39. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.template.json +4 -4
  40. package/test/integ.cftoais3-no-security-headers.js.snapshot/manifest.json +12 -3
  41. package/test/integ.cftoais3-no-security-headers.js.snapshot/tree.json +29 -31
  42. package/test/test.cloudfront-oai-s3.test.js +2 -1
@@ -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}/978b046b5c85ac88c0813085ab2c72c7cb4384885c255ddb183efca255defc21.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/e1b1c2b1562c7d4a865d64c75fb6156c68081196ae9b73c9df2482dff8503949.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -160,10 +160,10 @@
160
160
  "data": "testcloudfrontoais3CloudfrontLoggingBucketAutoDeleteObjectsCustomResourceE88BD625"
161
161
  }
162
162
  ],
163
- "/cftoais3-no-arguments/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource": [
163
+ "/cftoais3-no-arguments/test-cloudfront-oai-s3/constructsGeneratedOai/Resource": [
164
164
  {
165
165
  "type": "aws:cdk:logicalId",
166
- "data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
166
+ "data": "testcloudfrontoais3constructsGeneratedOaiA468F478"
167
167
  }
168
168
  ],
169
169
  "/cftoais3-no-arguments/test-cloudfront-oai-s3/CloudFrontDistribution/Resource": [
@@ -208,136 +208,10 @@
208
208
  "data": "CheckBootstrapVersion"
209
209
  }
210
210
  ],
211
- "testcloudfronts3S3LoggingBucket90D239DD": [
211
+ "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1": [
212
212
  {
213
213
  "type": "aws:cdk:logicalId",
214
- "data": "testcloudfronts3S3LoggingBucket90D239DD",
215
- "trace": [
216
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
217
- ]
218
- }
219
- ],
220
- "testcloudfronts3S3LoggingBucketPolicy529D4CFF": [
221
- {
222
- "type": "aws:cdk:logicalId",
223
- "data": "testcloudfronts3S3LoggingBucketPolicy529D4CFF",
224
- "trace": [
225
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
226
- ]
227
- }
228
- ],
229
- "testcloudfronts3S3LoggingBucketAutoDeleteObjectsCustomResource6EE37727": [
230
- {
231
- "type": "aws:cdk:logicalId",
232
- "data": "testcloudfronts3S3LoggingBucketAutoDeleteObjectsCustomResource6EE37727",
233
- "trace": [
234
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
235
- ]
236
- }
237
- ],
238
- "testcloudfronts3S3BucketE0C5F76E": [
239
- {
240
- "type": "aws:cdk:logicalId",
241
- "data": "testcloudfronts3S3BucketE0C5F76E",
242
- "trace": [
243
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
244
- ]
245
- }
246
- ],
247
- "testcloudfronts3S3BucketPolicy250F1F61": [
248
- {
249
- "type": "aws:cdk:logicalId",
250
- "data": "testcloudfronts3S3BucketPolicy250F1F61",
251
- "trace": [
252
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
253
- ]
254
- }
255
- ],
256
- "testcloudfronts3S3BucketAutoDeleteObjectsCustomResourceA13DD8F7": [
257
- {
258
- "type": "aws:cdk:logicalId",
259
- "data": "testcloudfronts3S3BucketAutoDeleteObjectsCustomResourceA13DD8F7",
260
- "trace": [
261
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
262
- ]
263
- }
264
- ],
265
- "testcloudfronts3SetHttpSecurityHeaders6C5A1E69": [
266
- {
267
- "type": "aws:cdk:logicalId",
268
- "data": "testcloudfronts3SetHttpSecurityHeaders6C5A1E69",
269
- "trace": [
270
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
271
- ]
272
- }
273
- ],
274
- "testcloudfronts3CloudfrontLoggingBucketAccessLog2E738D58": [
275
- {
276
- "type": "aws:cdk:logicalId",
277
- "data": "testcloudfronts3CloudfrontLoggingBucketAccessLog2E738D58",
278
- "trace": [
279
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
280
- ]
281
- }
282
- ],
283
- "testcloudfronts3CloudfrontLoggingBucketAccessLogPolicy526F2E14": [
284
- {
285
- "type": "aws:cdk:logicalId",
286
- "data": "testcloudfronts3CloudfrontLoggingBucketAccessLogPolicy526F2E14",
287
- "trace": [
288
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
289
- ]
290
- }
291
- ],
292
- "testcloudfronts3CloudfrontLoggingBucketAccessLogAutoDeleteObjectsCustomResourceE16E063D": [
293
- {
294
- "type": "aws:cdk:logicalId",
295
- "data": "testcloudfronts3CloudfrontLoggingBucketAccessLogAutoDeleteObjectsCustomResourceE16E063D",
296
- "trace": [
297
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
298
- ]
299
- }
300
- ],
301
- "testcloudfronts3CloudfrontLoggingBucket985C0FE8": [
302
- {
303
- "type": "aws:cdk:logicalId",
304
- "data": "testcloudfronts3CloudfrontLoggingBucket985C0FE8",
305
- "trace": [
306
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
307
- ]
308
- }
309
- ],
310
- "testcloudfronts3CloudfrontLoggingBucketPolicyDF55851B": [
311
- {
312
- "type": "aws:cdk:logicalId",
313
- "data": "testcloudfronts3CloudfrontLoggingBucketPolicyDF55851B",
314
- "trace": [
315
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
316
- ]
317
- }
318
- ],
319
- "testcloudfronts3CloudfrontLoggingBucketAutoDeleteObjectsCustomResource19604D88": [
320
- {
321
- "type": "aws:cdk:logicalId",
322
- "data": "testcloudfronts3CloudfrontLoggingBucketAutoDeleteObjectsCustomResource19604D88",
323
- "trace": [
324
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
325
- ]
326
- }
327
- ],
328
- "testcloudfronts3CloudFrontDistributionOrigin1S3Origin4695F058": [
329
- {
330
- "type": "aws:cdk:logicalId",
331
- "data": "testcloudfronts3CloudFrontDistributionOrigin1S3Origin4695F058",
332
- "trace": [
333
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
334
- ]
335
- }
336
- ],
337
- "testcloudfronts3CloudFrontDistribution0565DEE8": [
338
- {
339
- "type": "aws:cdk:logicalId",
340
- "data": "testcloudfronts3CloudFrontDistribution0565DEE8",
214
+ "data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
341
215
  "trace": [
342
216
  "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
343
217
  ]
@@ -370,7 +370,7 @@
370
370
  "Principal": {
371
371
  "CanonicalUser": {
372
372
  "Fn::GetAtt": [
373
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
373
+ "testcloudfrontoais3constructsGeneratedOaiA468F478",
374
374
  "S3CanonicalUserId"
375
375
  ]
376
376
  }
@@ -890,6 +890,32 @@
890
890
  "version": "2.177.0"
891
891
  }
892
892
  },
893
+ "constructsGeneratedOai": {
894
+ "id": "constructsGeneratedOai",
895
+ "path": "cftoais3-no-arguments/test-cloudfront-oai-s3/constructsGeneratedOai",
896
+ "children": {
897
+ "Resource": {
898
+ "id": "Resource",
899
+ "path": "cftoais3-no-arguments/test-cloudfront-oai-s3/constructsGeneratedOai/Resource",
900
+ "attributes": {
901
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
902
+ "aws:cdk:cloudformation:props": {
903
+ "cloudFrontOriginAccessIdentityConfig": {
904
+ "comment": "Allows CloudFront to reach the bucket"
905
+ }
906
+ }
907
+ },
908
+ "constructInfo": {
909
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
910
+ "version": "2.177.0"
911
+ }
912
+ }
913
+ },
914
+ "constructInfo": {
915
+ "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
916
+ "version": "2.177.0"
917
+ }
918
+ },
893
919
  "CloudFrontDistribution": {
894
920
  "id": "CloudFrontDistribution",
895
921
  "path": "cftoais3-no-arguments/test-cloudfront-oai-s3/CloudFrontDistribution",
@@ -897,34 +923,6 @@
897
923
  "Origin1": {
898
924
  "id": "Origin1",
899
925
  "path": "cftoais3-no-arguments/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1",
900
- "children": {
901
- "S3Origin": {
902
- "id": "S3Origin",
903
- "path": "cftoais3-no-arguments/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin",
904
- "children": {
905
- "Resource": {
906
- "id": "Resource",
907
- "path": "cftoais3-no-arguments/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource",
908
- "attributes": {
909
- "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
910
- "aws:cdk:cloudformation:props": {
911
- "cloudFrontOriginAccessIdentityConfig": {
912
- "comment": "Identity for cftoais3noargumentstestcloudfrontoais3CloudFrontDistributionOrigin1D9C87098"
913
- }
914
- }
915
- },
916
- "constructInfo": {
917
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
918
- "version": "2.177.0"
919
- }
920
- }
921
- },
922
- "constructInfo": {
923
- "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
924
- "version": "2.177.0"
925
- }
926
- }
927
- },
928
926
  "constructInfo": {
929
927
  "fqn": "constructs.Construct",
930
928
  "version": "10.4.2"
@@ -954,7 +952,7 @@
954
952
  [
955
953
  "origin-access-identity/cloudfront/",
956
954
  {
957
- "Ref": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
955
+ "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
958
956
  }
959
957
  ]
960
958
  ]
@@ -1008,7 +1006,7 @@
1008
1006
  },
1009
1007
  "constructInfo": {
1010
1008
  "fqn": "@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3",
1011
- "version": "2.78.1"
1009
+ "version": "2.79.0"
1012
1010
  }
1013
1011
  },
1014
1012
  "LatestNodeRuntimeMap": {
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }
16
16
  },
17
- "bd1fd1971d7c9b698d11bc2f619e5b2d90d31a521cd2977933d0189970787311": {
17
+ "9d38893c8f368e18aba29b3fb039955556902c130d27225213a594679c6db8f2": {
18
18
  "source": {
19
19
  "path": "cftoais3-no-cloudfront-s3-access-logs.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": "bd1fd1971d7c9b698d11bc2f619e5b2d90d31a521cd2977933d0189970787311.json",
25
+ "objectKey": "9d38893c8f368e18aba29b3fb039955556902c130d27225213a594679c6db8f2.json",
26
26
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
27
  }
28
28
  }
@@ -142,7 +142,7 @@
142
142
  "Principal": {
143
143
  "CanonicalUser": {
144
144
  "Fn::GetAtt": [
145
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
145
+ "testcloudfrontoais3constructsGeneratedOaiA468F478",
146
146
  "S3CanonicalUserId"
147
147
  ]
148
148
  }
@@ -411,11 +411,11 @@
411
411
  "UpdateReplacePolicy": "Delete",
412
412
  "DeletionPolicy": "Delete"
413
413
  },
414
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1": {
414
+ "testcloudfrontoais3constructsGeneratedOaiA468F478": {
415
415
  "Type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
416
416
  "Properties": {
417
417
  "CloudFrontOriginAccessIdentityConfig": {
418
- "Comment": "Identity for cftoais3nocloudfronts3accesslogstestcloudfrontoais3CloudFrontDistributionOrigin19941995A"
418
+ "Comment": "Allows CloudFront to reach the bucket"
419
419
  }
420
420
  }
421
421
  },
@@ -468,7 +468,7 @@
468
468
  [
469
469
  "origin-access-identity/cloudfront/",
470
470
  {
471
- "Ref": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
471
+ "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
472
472
  }
473
473
  ]
474
474
  ]
@@ -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}/bd1fd1971d7c9b698d11bc2f619e5b2d90d31a521cd2977933d0189970787311.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/9d38893c8f368e18aba29b3fb039955556902c130d27225213a594679c6db8f2.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -124,10 +124,10 @@
124
124
  "data": "testcloudfrontoais3CloudfrontLoggingBucketAutoDeleteObjectsCustomResourceE88BD625"
125
125
  }
126
126
  ],
127
- "/cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource": [
127
+ "/cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/constructsGeneratedOai/Resource": [
128
128
  {
129
129
  "type": "aws:cdk:logicalId",
130
- "data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
130
+ "data": "testcloudfrontoais3constructsGeneratedOaiA468F478"
131
131
  }
132
132
  ],
133
133
  "/cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Resource": [
@@ -171,6 +171,15 @@
171
171
  "type": "aws:cdk:logicalId",
172
172
  "data": "CheckBootstrapVersion"
173
173
  }
174
+ ],
175
+ "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1": [
176
+ {
177
+ "type": "aws:cdk:logicalId",
178
+ "data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
179
+ "trace": [
180
+ "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
181
+ ]
182
+ }
174
183
  ]
175
184
  },
176
185
  "displayName": "cftoais3-no-cloudfront-s3-access-logs"
@@ -160,7 +160,7 @@
160
160
  "Principal": {
161
161
  "CanonicalUser": {
162
162
  "Fn::GetAtt": [
163
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
163
+ "testcloudfrontoais3constructsGeneratedOaiA468F478",
164
164
  "S3CanonicalUserId"
165
165
  ]
166
166
  }
@@ -470,6 +470,32 @@
470
470
  "version": "2.177.0"
471
471
  }
472
472
  },
473
+ "constructsGeneratedOai": {
474
+ "id": "constructsGeneratedOai",
475
+ "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/constructsGeneratedOai",
476
+ "children": {
477
+ "Resource": {
478
+ "id": "Resource",
479
+ "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/constructsGeneratedOai/Resource",
480
+ "attributes": {
481
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
482
+ "aws:cdk:cloudformation:props": {
483
+ "cloudFrontOriginAccessIdentityConfig": {
484
+ "comment": "Allows CloudFront to reach the bucket"
485
+ }
486
+ }
487
+ },
488
+ "constructInfo": {
489
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
490
+ "version": "2.177.0"
491
+ }
492
+ }
493
+ },
494
+ "constructInfo": {
495
+ "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
496
+ "version": "2.177.0"
497
+ }
498
+ },
473
499
  "CloudFrontDistribution": {
474
500
  "id": "CloudFrontDistribution",
475
501
  "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution",
@@ -477,34 +503,6 @@
477
503
  "Origin1": {
478
504
  "id": "Origin1",
479
505
  "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1",
480
- "children": {
481
- "S3Origin": {
482
- "id": "S3Origin",
483
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin",
484
- "children": {
485
- "Resource": {
486
- "id": "Resource",
487
- "path": "cftoais3-no-cloudfront-s3-access-logs/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource",
488
- "attributes": {
489
- "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
490
- "aws:cdk:cloudformation:props": {
491
- "cloudFrontOriginAccessIdentityConfig": {
492
- "comment": "Identity for cftoais3nocloudfronts3accesslogstestcloudfrontoais3CloudFrontDistributionOrigin19941995A"
493
- }
494
- }
495
- },
496
- "constructInfo": {
497
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
498
- "version": "2.177.0"
499
- }
500
- }
501
- },
502
- "constructInfo": {
503
- "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
504
- "version": "2.177.0"
505
- }
506
- }
507
- },
508
506
  "constructInfo": {
509
507
  "fqn": "constructs.Construct",
510
508
  "version": "10.4.2"
@@ -534,7 +532,7 @@
534
532
  [
535
533
  "origin-access-identity/cloudfront/",
536
534
  {
537
- "Ref": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
535
+ "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
538
536
  }
539
537
  ]
540
538
  ]
@@ -588,7 +586,7 @@
588
586
  },
589
587
  "constructInfo": {
590
588
  "fqn": "@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3",
591
- "version": "2.78.1"
589
+ "version": "2.79.0"
592
590
  }
593
591
  },
594
592
  "LatestNodeRuntimeMap": {
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }
16
16
  },
17
- "0c7d8cce0facd93ab3c22e880d1eded43e781b59978f0dd485f728ac02cc0596": {
17
+ "ef44108a79ee7dbfc3cdcc4184aec4db83d34781e3c065027d1281849d81b221": {
18
18
  "source": {
19
19
  "path": "cftoais3-no-logging.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": "0c7d8cce0facd93ab3c22e880d1eded43e781b59978f0dd485f728ac02cc0596.json",
25
+ "objectKey": "ef44108a79ee7dbfc3cdcc4184aec4db83d34781e3c065027d1281849d81b221.json",
26
26
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
27
  }
28
28
  }
@@ -142,7 +142,7 @@
142
142
  "Principal": {
143
143
  "CanonicalUser": {
144
144
  "Fn::GetAtt": [
145
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
145
+ "testcloudfrontoais3constructsGeneratedOaiA468F478",
146
146
  "S3CanonicalUserId"
147
147
  ]
148
148
  }
@@ -252,11 +252,11 @@
252
252
  "Name": "SetHttpSecurityHeadersc8ef3112652a2611d5eff9255f981ddb83b0566ae4"
253
253
  }
254
254
  },
255
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1": {
255
+ "testcloudfrontoais3constructsGeneratedOaiA468F478": {
256
256
  "Type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
257
257
  "Properties": {
258
258
  "CloudFrontOriginAccessIdentityConfig": {
259
- "Comment": "Identity for cftoais3nologgingtestcloudfrontoais3CloudFrontDistributionOrigin18473615C"
259
+ "Comment": "Allows CloudFront to reach the bucket"
260
260
  }
261
261
  }
262
262
  },
@@ -301,7 +301,7 @@
301
301
  [
302
302
  "origin-access-identity/cloudfront/",
303
303
  {
304
- "Ref": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
304
+ "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
305
305
  }
306
306
  ]
307
307
  ]
@@ -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}/0c7d8cce0facd93ab3c22e880d1eded43e781b59978f0dd485f728ac02cc0596.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/ef44108a79ee7dbfc3cdcc4184aec4db83d34781e3c065027d1281849d81b221.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -106,10 +106,10 @@
106
106
  "data": "testcloudfrontoais3SetHttpSecurityHeaders4EB3C97B"
107
107
  }
108
108
  ],
109
- "/cftoais3-no-logging/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource": [
109
+ "/cftoais3-no-logging/test-cloudfront-oai-s3/constructsGeneratedOai/Resource": [
110
110
  {
111
111
  "type": "aws:cdk:logicalId",
112
- "data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
112
+ "data": "testcloudfrontoais3constructsGeneratedOaiA468F478"
113
113
  }
114
114
  ],
115
115
  "/cftoais3-no-logging/test-cloudfront-oai-s3/CloudFrontDistribution/Resource": [
@@ -153,6 +153,15 @@
153
153
  "type": "aws:cdk:logicalId",
154
154
  "data": "CheckBootstrapVersion"
155
155
  }
156
+ ],
157
+ "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1": [
158
+ {
159
+ "type": "aws:cdk:logicalId",
160
+ "data": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
161
+ "trace": [
162
+ "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
163
+ ]
164
+ }
156
165
  ]
157
166
  },
158
167
  "displayName": "cftoais3-no-logging"
@@ -160,7 +160,7 @@
160
160
  "Principal": {
161
161
  "CanonicalUser": {
162
162
  "Fn::GetAtt": [
163
- "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1",
163
+ "testcloudfrontoais3constructsGeneratedOaiA468F478",
164
164
  "S3CanonicalUserId"
165
165
  ]
166
166
  }
@@ -294,6 +294,32 @@
294
294
  "version": "2.177.0"
295
295
  }
296
296
  },
297
+ "constructsGeneratedOai": {
298
+ "id": "constructsGeneratedOai",
299
+ "path": "cftoais3-no-logging/test-cloudfront-oai-s3/constructsGeneratedOai",
300
+ "children": {
301
+ "Resource": {
302
+ "id": "Resource",
303
+ "path": "cftoais3-no-logging/test-cloudfront-oai-s3/constructsGeneratedOai/Resource",
304
+ "attributes": {
305
+ "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
306
+ "aws:cdk:cloudformation:props": {
307
+ "cloudFrontOriginAccessIdentityConfig": {
308
+ "comment": "Allows CloudFront to reach the bucket"
309
+ }
310
+ }
311
+ },
312
+ "constructInfo": {
313
+ "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
314
+ "version": "2.177.0"
315
+ }
316
+ }
317
+ },
318
+ "constructInfo": {
319
+ "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
320
+ "version": "2.177.0"
321
+ }
322
+ },
297
323
  "CloudFrontDistribution": {
298
324
  "id": "CloudFrontDistribution",
299
325
  "path": "cftoais3-no-logging/test-cloudfront-oai-s3/CloudFrontDistribution",
@@ -301,34 +327,6 @@
301
327
  "Origin1": {
302
328
  "id": "Origin1",
303
329
  "path": "cftoais3-no-logging/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1",
304
- "children": {
305
- "S3Origin": {
306
- "id": "S3Origin",
307
- "path": "cftoais3-no-logging/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin",
308
- "children": {
309
- "Resource": {
310
- "id": "Resource",
311
- "path": "cftoais3-no-logging/test-cloudfront-oai-s3/CloudFrontDistribution/Origin1/S3Origin/Resource",
312
- "attributes": {
313
- "aws:cdk:cloudformation:type": "AWS::CloudFront::CloudFrontOriginAccessIdentity",
314
- "aws:cdk:cloudformation:props": {
315
- "cloudFrontOriginAccessIdentityConfig": {
316
- "comment": "Identity for cftoais3nologgingtestcloudfrontoais3CloudFrontDistributionOrigin18473615C"
317
- }
318
- }
319
- },
320
- "constructInfo": {
321
- "fqn": "aws-cdk-lib.aws_cloudfront.CfnCloudFrontOriginAccessIdentity",
322
- "version": "2.177.0"
323
- }
324
- }
325
- },
326
- "constructInfo": {
327
- "fqn": "aws-cdk-lib.aws_cloudfront.OriginAccessIdentity",
328
- "version": "2.177.0"
329
- }
330
- }
331
- },
332
330
  "constructInfo": {
333
331
  "fqn": "constructs.Construct",
334
332
  "version": "10.4.2"
@@ -358,7 +356,7 @@
358
356
  [
359
357
  "origin-access-identity/cloudfront/",
360
358
  {
361
- "Ref": "testcloudfrontoais3CloudFrontDistributionOrigin1S3OriginF57A3CB1"
359
+ "Ref": "testcloudfrontoais3constructsGeneratedOaiA468F478"
362
360
  }
363
361
  ]
364
362
  ]
@@ -404,7 +402,7 @@
404
402
  },
405
403
  "constructInfo": {
406
404
  "fqn": "@aws-solutions-constructs/aws-cloudfront-oai-s3.CloudFrontToOaiToS3",
407
- "version": "2.78.1"
405
+ "version": "2.79.0"
408
406
  }
409
407
  },
410
408
  "LatestNodeRuntimeMap": {
@@ -14,7 +14,7 @@
14
14
  }
15
15
  }
16
16
  },
17
- "cf28050d9f6dca28e44fd59eaa742a1bf2f11c4f650e9be09a9eb80fcf0ee709": {
17
+ "6261d23fc963ec2841f829412721889013c162d9384a1d5ebb0e9ebb2392df91": {
18
18
  "source": {
19
19
  "path": "cftoais3-no-security-headers.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": "cf28050d9f6dca28e44fd59eaa742a1bf2f11c4f650e9be09a9eb80fcf0ee709.json",
25
+ "objectKey": "6261d23fc963ec2841f829412721889013c162d9384a1d5ebb0e9ebb2392df91.json",
26
26
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
27
27
  }
28
28
  }