@aws-solutions-constructs/aws-cloudfront-s3 2.60.0 → 2.62.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 (63) hide show
  1. package/.jsii +20 -7
  2. package/lib/index.js +1 -1
  3. package/package.json +8 -8
  4. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  5. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.assets.json +5 -5
  6. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.template.json +134 -4
  7. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/manifest.json +7 -1
  8. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/tree.json +91 -70
  9. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  10. 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 +5 -5
  11. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.template.json +119 -2
  12. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +7 -1
  13. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +49 -41
  14. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  15. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.assets.json +5 -5
  16. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/cfts3-cmk-provided-as-bucket-prop.template.json +134 -4
  17. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/manifest.json +7 -1
  18. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/tree.json +89 -68
  19. package/test/integ.cfts3-custom-headers.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  20. package/test/integ.cfts3-custom-headers.js.snapshot/cfts3-custom-headers.assets.json +5 -5
  21. package/test/integ.cfts3-custom-headers.js.snapshot/cfts3-custom-headers.template.json +119 -2
  22. package/test/integ.cfts3-custom-headers.js.snapshot/manifest.json +7 -1
  23. package/test/integ.cfts3-custom-headers.js.snapshot/tree.json +53 -45
  24. package/test/integ.cfts3-custom-originPath.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  25. package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3-custom-originPath.assets.json +5 -5
  26. package/test/integ.cfts3-custom-originPath.js.snapshot/cfts3-custom-originPath.template.json +119 -2
  27. package/test/integ.cfts3-custom-originPath.js.snapshot/manifest.json +7 -1
  28. package/test/integ.cfts3-custom-originPath.js.snapshot/tree.json +51 -43
  29. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  30. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3-customLoggingBuckets.assets.json +5 -5
  31. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/cfts3-customLoggingBuckets.template.json +119 -2
  32. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/manifest.json +7 -1
  33. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/tree.json +51 -43
  34. package/test/integ.cfts3-existing-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  35. package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3-existing-bucket.assets.json +5 -5
  36. package/test/integ.cfts3-existing-bucket.js.snapshot/cfts3-existing-bucket.template.json +119 -2
  37. package/test/integ.cfts3-existing-bucket.js.snapshot/manifest.json +7 -1
  38. package/test/integ.cfts3-existing-bucket.js.snapshot/tree.json +55 -47
  39. package/test/integ.cfts3-no-arguments.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  40. package/test/integ.cfts3-no-arguments.js.snapshot/cfts3-no-arguments.assets.json +5 -5
  41. package/test/integ.cfts3-no-arguments.js.snapshot/cfts3-no-arguments.template.json +119 -2
  42. package/test/integ.cfts3-no-arguments.js.snapshot/manifest.json +7 -1
  43. package/test/integ.cfts3-no-arguments.js.snapshot/tree.json +51 -43
  44. package/test/integ.cfts3-no-logging.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  45. package/test/integ.cfts3-no-logging.js.snapshot/cfts3-no-logging.assets.json +5 -5
  46. package/test/integ.cfts3-no-logging.js.snapshot/cfts3-no-logging.template.json +119 -2
  47. package/test/integ.cfts3-no-logging.js.snapshot/manifest.json +7 -1
  48. package/test/integ.cfts3-no-logging.js.snapshot/tree.json +33 -25
  49. package/test/integ.cfts3-no-security-headers.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
  50. package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3-no-security-headers.assets.json +5 -5
  51. package/test/integ.cfts3-no-security-headers.js.snapshot/cfts3-no-security-headers.template.json +119 -2
  52. package/test/integ.cfts3-no-security-headers.js.snapshot/manifest.json +7 -1
  53. package/test/integ.cfts3-no-security-headers.js.snapshot/tree.json +49 -41
  54. package/test/integ.cfts3-bucket-encrypted-with-cmk-provided-as-existingbucket.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  55. package/test/integ.cfts3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  56. package/test/integ.cfts3-cmk-provided-as-bucket-prop.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  57. package/test/integ.cfts3-custom-headers.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  58. package/test/integ.cfts3-custom-originPath.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  59. package/test/integ.cfts3-customLoggingBuckets.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  60. package/test/integ.cfts3-existing-bucket.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  61. package/test/integ.cfts3-no-arguments.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  62. package/test/integ.cfts3-no-logging.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
  63. package/test/integ.cfts3-no-security-headers.js.snapshot/asset.2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4/index.js +0 -1
@@ -882,6 +882,11 @@
882
882
  "S3Key": "4a4b024f310aca2784b69bcb790e9ccaef785e9ad5d1b73624144f88c4465b4f.zip"
883
883
  },
884
884
  "Description": "Custom resource function that updates a provided key policy to allow CloudFront access.",
885
+ "Environment": {
886
+ "Variables": {
887
+ "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
888
+ }
889
+ },
885
890
  "Handler": "index.handler",
886
891
  "Role": {
887
892
  "Fn::GetAtt": [
@@ -889,7 +894,7 @@
889
894
  "Arn"
890
895
  ]
891
896
  },
892
- "Runtime": "nodejs18.x",
897
+ "Runtime": "nodejs20.x",
893
898
  "TracingConfig": {
894
899
  "Mode": "Active"
895
900
  }
@@ -1047,7 +1052,15 @@
1047
1052
  "Arn"
1048
1053
  ]
1049
1054
  },
1050
- "Runtime": "nodejs18.x",
1055
+ "Runtime": {
1056
+ "Fn::FindInMap": [
1057
+ "LatestNodeRuntimeMap",
1058
+ {
1059
+ "Ref": "AWS::Region"
1060
+ },
1061
+ "value"
1062
+ ]
1063
+ },
1051
1064
  "Timeout": 900
1052
1065
  },
1053
1066
  "DependsOn": [
@@ -1124,7 +1137,7 @@
1124
1137
  "S3Bucket": {
1125
1138
  "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1126
1139
  },
1127
- "S3Key": "2eb6a831b107939f63cfebf68e6316e1a40f79fc99cae0fee9b333bac8d29bc4.zip"
1140
+ "S3Key": "faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6.zip"
1128
1141
  },
1129
1142
  "Timeout": 900,
1130
1143
  "MemorySize": 128,
@@ -1135,7 +1148,15 @@
1135
1148
  "Arn"
1136
1149
  ]
1137
1150
  },
1138
- "Runtime": "nodejs18.x",
1151
+ "Runtime": {
1152
+ "Fn::FindInMap": [
1153
+ "LatestNodeRuntimeMap",
1154
+ {
1155
+ "Ref": "AWS::Region"
1156
+ },
1157
+ "value"
1158
+ ]
1159
+ },
1139
1160
  "Description": {
1140
1161
  "Fn::Join": [
1141
1162
  "",
@@ -1172,6 +1193,115 @@
1172
1193
  }
1173
1194
  }
1174
1195
  },
1196
+ "Mappings": {
1197
+ "LatestNodeRuntimeMap": {
1198
+ "af-south-1": {
1199
+ "value": "nodejs20.x"
1200
+ },
1201
+ "ap-east-1": {
1202
+ "value": "nodejs20.x"
1203
+ },
1204
+ "ap-northeast-1": {
1205
+ "value": "nodejs20.x"
1206
+ },
1207
+ "ap-northeast-2": {
1208
+ "value": "nodejs20.x"
1209
+ },
1210
+ "ap-northeast-3": {
1211
+ "value": "nodejs20.x"
1212
+ },
1213
+ "ap-south-1": {
1214
+ "value": "nodejs20.x"
1215
+ },
1216
+ "ap-south-2": {
1217
+ "value": "nodejs20.x"
1218
+ },
1219
+ "ap-southeast-1": {
1220
+ "value": "nodejs20.x"
1221
+ },
1222
+ "ap-southeast-2": {
1223
+ "value": "nodejs20.x"
1224
+ },
1225
+ "ap-southeast-3": {
1226
+ "value": "nodejs20.x"
1227
+ },
1228
+ "ap-southeast-4": {
1229
+ "value": "nodejs20.x"
1230
+ },
1231
+ "ca-central-1": {
1232
+ "value": "nodejs20.x"
1233
+ },
1234
+ "cn-north-1": {
1235
+ "value": "nodejs18.x"
1236
+ },
1237
+ "cn-northwest-1": {
1238
+ "value": "nodejs18.x"
1239
+ },
1240
+ "eu-central-1": {
1241
+ "value": "nodejs20.x"
1242
+ },
1243
+ "eu-central-2": {
1244
+ "value": "nodejs20.x"
1245
+ },
1246
+ "eu-north-1": {
1247
+ "value": "nodejs20.x"
1248
+ },
1249
+ "eu-south-1": {
1250
+ "value": "nodejs20.x"
1251
+ },
1252
+ "eu-south-2": {
1253
+ "value": "nodejs20.x"
1254
+ },
1255
+ "eu-west-1": {
1256
+ "value": "nodejs20.x"
1257
+ },
1258
+ "eu-west-2": {
1259
+ "value": "nodejs20.x"
1260
+ },
1261
+ "eu-west-3": {
1262
+ "value": "nodejs20.x"
1263
+ },
1264
+ "il-central-1": {
1265
+ "value": "nodejs20.x"
1266
+ },
1267
+ "me-central-1": {
1268
+ "value": "nodejs20.x"
1269
+ },
1270
+ "me-south-1": {
1271
+ "value": "nodejs20.x"
1272
+ },
1273
+ "sa-east-1": {
1274
+ "value": "nodejs20.x"
1275
+ },
1276
+ "us-east-1": {
1277
+ "value": "nodejs20.x"
1278
+ },
1279
+ "us-east-2": {
1280
+ "value": "nodejs20.x"
1281
+ },
1282
+ "us-gov-east-1": {
1283
+ "value": "nodejs18.x"
1284
+ },
1285
+ "us-gov-west-1": {
1286
+ "value": "nodejs18.x"
1287
+ },
1288
+ "us-iso-east-1": {
1289
+ "value": "nodejs18.x"
1290
+ },
1291
+ "us-iso-west-1": {
1292
+ "value": "nodejs18.x"
1293
+ },
1294
+ "us-isob-east-1": {
1295
+ "value": "nodejs18.x"
1296
+ },
1297
+ "us-west-1": {
1298
+ "value": "nodejs20.x"
1299
+ },
1300
+ "us-west-2": {
1301
+ "value": "nodejs20.x"
1302
+ }
1303
+ }
1304
+ },
1175
1305
  "Parameters": {
1176
1306
  "BootstrapVersion": {
1177
1307
  "Type": "AWS::SSM::Parameter::Value<String>",
@@ -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}/b600c632d91d6de51136e0e11d2d67dc6ae69d623784688738a75e56ccf845bf.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/68db7c60542ae375f494fcb6deeb6e4e22c8fc1698d1e0988d5329665db4ccfe.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -214,6 +214,12 @@
214
214
  "data": "testcloudfronts3cmkencryptionkeyKmsKeyPolicyUpdaterFAFEBF0F"
215
215
  }
216
216
  ],
217
+ "/cfts3-cmk-provided-as-bucket-prop/LatestNodeRuntimeMap": [
218
+ {
219
+ "type": "aws:cdk:logicalId",
220
+ "data": "LatestNodeRuntimeMap"
221
+ }
222
+ ],
217
223
  "/cfts3-cmk-provided-as-bucket-prop/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role": [
218
224
  {
219
225
  "type": "aws:cdk:logicalId",