aws-cdk-lib 2.215.0__py3-none-any.whl → 2.217.0__py3-none-any.whl

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.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (64) hide show
  1. aws_cdk/__init__.py +90 -58
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.215.0.jsii.tgz → aws-cdk-lib@2.217.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amplify/__init__.py +8 -8
  6. aws_cdk/aws_apigateway/__init__.py +26 -6
  7. aws_cdk/aws_apigatewayv2/__init__.py +32 -21
  8. aws_cdk/aws_appmesh/__init__.py +12 -12
  9. aws_cdk/aws_appstream/__init__.py +14 -4
  10. aws_cdk/aws_appsync/__init__.py +3 -3
  11. aws_cdk/aws_aps/__init__.py +459 -0
  12. aws_cdk/aws_batch/__init__.py +6 -2
  13. aws_cdk/aws_bedrock/__init__.py +162 -0
  14. aws_cdk/aws_bedrockagentcore/__init__.py +3178 -0
  15. aws_cdk/aws_certificatemanager/__init__.py +9 -10
  16. aws_cdk/aws_cleanrooms/__init__.py +163 -0
  17. aws_cdk/aws_cloudformation/__init__.py +14 -14
  18. aws_cdk/aws_cloudfront/__init__.py +91 -10
  19. aws_cdk/aws_cloudfront_origins/__init__.py +422 -47
  20. aws_cdk/aws_cognito/__init__.py +2 -2
  21. aws_cdk/aws_connect/__init__.py +138 -10
  22. aws_cdk/aws_cur/__init__.py +57 -3
  23. aws_cdk/aws_datasync/__init__.py +351 -0
  24. aws_cdk/aws_datazone/__init__.py +675 -2
  25. aws_cdk/aws_dynamodb/__init__.py +123 -0
  26. aws_cdk/aws_ec2/__init__.py +55 -10
  27. aws_cdk/aws_ecr/__init__.py +4 -0
  28. aws_cdk/aws_ecs/__init__.py +55 -12
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +275 -0
  30. aws_cdk/aws_elasticsearch/__init__.py +2 -2
  31. aws_cdk/aws_events/__init__.py +187 -0
  32. aws_cdk/aws_evs/__init__.py +58 -4
  33. aws_cdk/aws_gamelift/__init__.py +72 -56
  34. aws_cdk/aws_iam/__init__.py +1 -1
  35. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +35 -38
  36. aws_cdk/aws_iotsitewise/__init__.py +75 -111
  37. aws_cdk/aws_kinesisanalytics/__init__.py +315 -125
  38. aws_cdk/aws_kms/__init__.py +10 -2
  39. aws_cdk/aws_lambda/__init__.py +62 -8
  40. aws_cdk/aws_medialive/__init__.py +127 -0
  41. aws_cdk/aws_mediapackage/__init__.py +2 -2
  42. aws_cdk/aws_networkfirewall/__init__.py +10 -10
  43. aws_cdk/aws_networkmanager/__init__.py +63 -0
  44. aws_cdk/aws_odb/__init__.py +2082 -195
  45. aws_cdk/aws_omics/__init__.py +1414 -171
  46. aws_cdk/aws_opensearchserverless/__init__.py +164 -21
  47. aws_cdk/aws_opensearchservice/__init__.py +5 -4
  48. aws_cdk/aws_pcs/__init__.py +9 -9
  49. aws_cdk/aws_quicksight/__init__.py +295 -3
  50. aws_cdk/aws_rds/__init__.py +338 -58
  51. aws_cdk/aws_route53/__init__.py +5926 -4376
  52. aws_cdk/aws_sagemaker/__init__.py +251 -1
  53. aws_cdk/aws_servicecatalog/__init__.py +162 -154
  54. aws_cdk/aws_smsvoice/__init__.py +5218 -0
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +669 -81
  56. aws_cdk/aws_transfer/__init__.py +13 -12
  57. aws_cdk/aws_verifiedpermissions/__init__.py +1 -1
  58. aws_cdk/aws_workspacesinstances/__init__.py +641 -2
  59. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/METADATA +1 -1
  60. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/RECORD +64 -62
  61. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/LICENSE +0 -0
  62. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/NOTICE +0 -0
  63. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/WHEEL +0 -0
  64. {aws_cdk_lib-2.215.0.dist-info → aws_cdk_lib-2.217.0.dist-info}/top_level.txt +0 -0
@@ -573,6 +573,7 @@ origin = origins.LoadBalancerV2Origin(load_balancer,
573
573
  connection_attempts=3,
574
574
  connection_timeout=Duration.seconds(5),
575
575
  read_timeout=Duration.seconds(45),
576
+ response_completion_timeout=Duration.seconds(120),
576
577
  keepalive_timeout=Duration.seconds(45),
577
578
  protocol_policy=cloudfront.OriginProtocolPolicy.MATCH_VIEWER
578
579
  )
@@ -592,6 +593,22 @@ cloudfront.Distribution(self, "myDist",
592
593
  )
593
594
  ```
594
595
 
596
+ The origin can be customized with timeout settings to handle different response scenarios:
597
+
598
+ ```python
599
+ cloudfront.Distribution(self, "Distribution",
600
+ default_behavior=cloudfront.BehaviorOptions(
601
+ origin=origins.HttpOrigin("api.example.com",
602
+ read_timeout=Duration.seconds(60),
603
+ response_completion_timeout=Duration.seconds(120),
604
+ keepalive_timeout=Duration.seconds(45)
605
+ )
606
+ )
607
+ )
608
+ ```
609
+
610
+ The `responseCompletionTimeout` property specifies the time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, and if set, the value must be equal to or greater than the `readTimeout` value.
611
+
595
612
  See the documentation of `aws-cdk-lib/aws-cloudfront` for more information.
596
613
 
597
614
  ## VPC origins
@@ -800,6 +817,26 @@ cloudfront.Distribution(self, "Distribution",
800
817
  )
801
818
  ```
802
819
 
820
+ You can also configure timeout settings for Lambda Function URL origins:
821
+
822
+ ```python
823
+ import aws_cdk.aws_lambda as lambda_
824
+
825
+ # fn: lambda.Function
826
+
827
+ fn_url = fn.add_function_url(auth_type=lambda_.FunctionUrlAuthType.NONE)
828
+
829
+ cloudfront.Distribution(self, "Distribution",
830
+ default_behavior=cloudfront.BehaviorOptions(
831
+ origin=origins.FunctionUrlOrigin(fn_url,
832
+ read_timeout=Duration.seconds(30),
833
+ response_completion_timeout=Duration.seconds(90),
834
+ keepalive_timeout=Duration.seconds(45)
835
+ )
836
+ )
837
+ )
838
+ ```
839
+
803
840
  ### Lambda Function URL with Origin Access Control (OAC)
804
841
 
805
842
  You can configure the Lambda Function URL with Origin Access Control (OAC) for enhanced security. When using OAC with Signing SIGV4_ALWAYS, it is recommended to set the Lambda Function URL authType to AWS_IAM to ensure proper authorization.
@@ -948,6 +985,7 @@ class FunctionUrlOrigin(
948
985
  origin_id: typing.Optional[builtins.str] = None,
949
986
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
950
987
  origin_shield_region: typing.Optional[builtins.str] = None,
988
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
951
989
  ) -> None:
952
990
  '''
953
991
  :param lambda_function_url: -
@@ -961,6 +999,7 @@ class FunctionUrlOrigin(
961
999
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
962
1000
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
963
1001
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1002
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
964
1003
  '''
965
1004
  if __debug__:
966
1005
  type_hints = typing.get_type_hints(_typecheckingstub__fcda903697b26acfe2149a285d5a64619682b675affb52f4ae2d1aca46c8f1c3)
@@ -976,6 +1015,7 @@ class FunctionUrlOrigin(
976
1015
  origin_id=origin_id,
977
1016
  origin_shield_enabled=origin_shield_enabled,
978
1017
  origin_shield_region=origin_shield_region,
1018
+ response_completion_timeout=response_completion_timeout,
979
1019
  )
980
1020
 
981
1021
  jsii.create(self.__class__, self, [lambda_function_url, props])
@@ -997,6 +1037,7 @@ class FunctionUrlOrigin(
997
1037
  origin_id: typing.Optional[builtins.str] = None,
998
1038
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
999
1039
  origin_shield_region: typing.Optional[builtins.str] = None,
1040
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
1000
1041
  ) -> _IOrigin_83d4c1fa:
1001
1042
  '''Create a Lambda Function URL Origin with Origin Access Control (OAC) configured.
1002
1043
 
@@ -1012,6 +1053,7 @@ class FunctionUrlOrigin(
1012
1053
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
1013
1054
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
1014
1055
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1056
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
1015
1057
  '''
1016
1058
  if __debug__:
1017
1059
  type_hints = typing.get_type_hints(_typecheckingstub__b4d59b7721f41be7903dbcffeddd34d596392d2c8d2a4110f31a4dacdb532727)
@@ -1028,6 +1070,7 @@ class FunctionUrlOrigin(
1028
1070
  origin_id=origin_id,
1029
1071
  origin_shield_enabled=origin_shield_enabled,
1030
1072
  origin_shield_region=origin_shield_region,
1073
+ response_completion_timeout=response_completion_timeout,
1031
1074
  )
1032
1075
 
1033
1076
  return typing.cast(_IOrigin_83d4c1fa, jsii.sinvoke(cls, "withOriginAccessControl", [lambda_function_url, props]))
@@ -1050,6 +1093,7 @@ class FunctionUrlOrigin(
1050
1093
  "origin_id": "originId",
1051
1094
  "origin_shield_enabled": "originShieldEnabled",
1052
1095
  "origin_shield_region": "originShieldRegion",
1096
+ "response_completion_timeout": "responseCompletionTimeout",
1053
1097
  "origin_path": "originPath",
1054
1098
  },
1055
1099
  )
@@ -1064,6 +1108,7 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1064
1108
  origin_id: typing.Optional[builtins.str] = None,
1065
1109
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
1066
1110
  origin_shield_region: typing.Optional[builtins.str] = None,
1111
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
1067
1112
  origin_path: typing.Optional[builtins.str] = None,
1068
1113
  ) -> None:
1069
1114
  '''Properties for configuring a origin using a standard Lambda Functions URLs.
@@ -1075,6 +1120,7 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1075
1120
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
1076
1121
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
1077
1122
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1123
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
1078
1124
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
1079
1125
 
1080
1126
  :exampleMetadata: fixture=_generated
@@ -1096,7 +1142,8 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1096
1142
  origin_id="originId",
1097
1143
  origin_path="originPath",
1098
1144
  origin_shield_enabled=False,
1099
- origin_shield_region="originShieldRegion"
1145
+ origin_shield_region="originShieldRegion",
1146
+ response_completion_timeout=cdk.Duration.minutes(30)
1100
1147
  )
1101
1148
  '''
1102
1149
  if __debug__:
@@ -1108,6 +1155,7 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1108
1155
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
1109
1156
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
1110
1157
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
1158
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
1111
1159
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
1112
1160
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1113
1161
  if connection_attempts is not None:
@@ -1124,6 +1172,8 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1124
1172
  self._values["origin_shield_enabled"] = origin_shield_enabled
1125
1173
  if origin_shield_region is not None:
1126
1174
  self._values["origin_shield_region"] = origin_shield_region
1175
+ if response_completion_timeout is not None:
1176
+ self._values["response_completion_timeout"] = response_completion_timeout
1127
1177
  if origin_path is not None:
1128
1178
  self._values["origin_path"] = origin_path
1129
1179
 
@@ -1200,6 +1250,21 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1200
1250
  result = self._values.get("origin_shield_region")
1201
1251
  return typing.cast(typing.Optional[builtins.str], result)
1202
1252
 
1253
+ @builtins.property
1254
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
1255
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
1256
+
1257
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
1258
+
1259
+ Valid values are 1-3600 seconds, inclusive.
1260
+
1261
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
1262
+
1263
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
1264
+ '''
1265
+ result = self._values.get("response_completion_timeout")
1266
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
1267
+
1203
1268
  @builtins.property
1204
1269
  def origin_path(self) -> typing.Optional[builtins.str]:
1205
1270
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -1234,6 +1299,7 @@ class FunctionUrlOriginBaseProps(_OriginProps_0675928d):
1234
1299
  "origin_id": "originId",
1235
1300
  "origin_shield_enabled": "originShieldEnabled",
1236
1301
  "origin_shield_region": "originShieldRegion",
1302
+ "response_completion_timeout": "responseCompletionTimeout",
1237
1303
  "origin_path": "originPath",
1238
1304
  "keepalive_timeout": "keepaliveTimeout",
1239
1305
  "read_timeout": "readTimeout",
@@ -1250,6 +1316,7 @@ class FunctionUrlOriginProps(_OriginProps_0675928d):
1250
1316
  origin_id: typing.Optional[builtins.str] = None,
1251
1317
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
1252
1318
  origin_shield_region: typing.Optional[builtins.str] = None,
1319
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
1253
1320
  origin_path: typing.Optional[builtins.str] = None,
1254
1321
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
1255
1322
  read_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -1263,32 +1330,29 @@ class FunctionUrlOriginProps(_OriginProps_0675928d):
1263
1330
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
1264
1331
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
1265
1332
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1333
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
1266
1334
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
1267
1335
  :param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
1268
1336
  :param read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(30)
1269
1337
 
1270
- :exampleMetadata: fixture=_generated
1338
+ :exampleMetadata: infused
1271
1339
 
1272
1340
  Example::
1273
1341
 
1274
- # The code below shows an example of how to instantiate this type.
1275
- # The values are placeholders you should change.
1276
- import aws_cdk as cdk
1277
- from aws_cdk import aws_cloudfront_origins as cloudfront_origins
1342
+ import aws_cdk.aws_lambda as lambda_
1278
1343
 
1279
- function_url_origin_props = cloudfront_origins.FunctionUrlOriginProps(
1280
- connection_attempts=123,
1281
- connection_timeout=cdk.Duration.minutes(30),
1282
- custom_headers={
1283
- "custom_headers_key": "customHeaders"
1284
- },
1285
- keepalive_timeout=cdk.Duration.minutes(30),
1286
- origin_access_control_id="originAccessControlId",
1287
- origin_id="originId",
1288
- origin_path="originPath",
1289
- origin_shield_enabled=False,
1290
- origin_shield_region="originShieldRegion",
1291
- read_timeout=cdk.Duration.minutes(30)
1344
+ # fn: lambda.Function
1345
+
1346
+ fn_url = fn.add_function_url(auth_type=lambda_.FunctionUrlAuthType.NONE)
1347
+
1348
+ cloudfront.Distribution(self, "Distribution",
1349
+ default_behavior=cloudfront.BehaviorOptions(
1350
+ origin=origins.FunctionUrlOrigin(fn_url,
1351
+ read_timeout=Duration.seconds(30),
1352
+ response_completion_timeout=Duration.seconds(90),
1353
+ keepalive_timeout=Duration.seconds(45)
1354
+ )
1355
+ )
1292
1356
  )
1293
1357
  '''
1294
1358
  if __debug__:
@@ -1300,6 +1364,7 @@ class FunctionUrlOriginProps(_OriginProps_0675928d):
1300
1364
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
1301
1365
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
1302
1366
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
1367
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
1303
1368
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
1304
1369
  check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
1305
1370
  check_type(argname="argument read_timeout", value=read_timeout, expected_type=type_hints["read_timeout"])
@@ -1318,6 +1383,8 @@ class FunctionUrlOriginProps(_OriginProps_0675928d):
1318
1383
  self._values["origin_shield_enabled"] = origin_shield_enabled
1319
1384
  if origin_shield_region is not None:
1320
1385
  self._values["origin_shield_region"] = origin_shield_region
1386
+ if response_completion_timeout is not None:
1387
+ self._values["response_completion_timeout"] = response_completion_timeout
1321
1388
  if origin_path is not None:
1322
1389
  self._values["origin_path"] = origin_path
1323
1390
  if keepalive_timeout is not None:
@@ -1398,6 +1465,21 @@ class FunctionUrlOriginProps(_OriginProps_0675928d):
1398
1465
  result = self._values.get("origin_shield_region")
1399
1466
  return typing.cast(typing.Optional[builtins.str], result)
1400
1467
 
1468
+ @builtins.property
1469
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
1470
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
1471
+
1472
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
1473
+
1474
+ Valid values are 1-3600 seconds, inclusive.
1475
+
1476
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
1477
+
1478
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
1479
+ '''
1480
+ result = self._values.get("response_completion_timeout")
1481
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
1482
+
1401
1483
  @builtins.property
1402
1484
  def origin_path(self) -> typing.Optional[builtins.str]:
1403
1485
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -1460,6 +1542,7 @@ class FunctionUrlOriginProps(_OriginProps_0675928d):
1460
1542
  "origin_id": "originId",
1461
1543
  "origin_shield_enabled": "originShieldEnabled",
1462
1544
  "origin_shield_region": "originShieldRegion",
1545
+ "response_completion_timeout": "responseCompletionTimeout",
1463
1546
  "origin_path": "originPath",
1464
1547
  "keepalive_timeout": "keepaliveTimeout",
1465
1548
  "read_timeout": "readTimeout",
@@ -1477,6 +1560,7 @@ class FunctionUrlOriginWithOACProps(FunctionUrlOriginProps):
1477
1560
  origin_id: typing.Optional[builtins.str] = None,
1478
1561
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
1479
1562
  origin_shield_region: typing.Optional[builtins.str] = None,
1563
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
1480
1564
  origin_path: typing.Optional[builtins.str] = None,
1481
1565
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
1482
1566
  read_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -1491,6 +1575,7 @@ class FunctionUrlOriginWithOACProps(FunctionUrlOriginProps):
1491
1575
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
1492
1576
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
1493
1577
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1578
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
1494
1579
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
1495
1580
  :param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
1496
1581
  :param read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(30)
@@ -1532,6 +1617,7 @@ class FunctionUrlOriginWithOACProps(FunctionUrlOriginProps):
1532
1617
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
1533
1618
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
1534
1619
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
1620
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
1535
1621
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
1536
1622
  check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
1537
1623
  check_type(argname="argument read_timeout", value=read_timeout, expected_type=type_hints["read_timeout"])
@@ -1551,6 +1637,8 @@ class FunctionUrlOriginWithOACProps(FunctionUrlOriginProps):
1551
1637
  self._values["origin_shield_enabled"] = origin_shield_enabled
1552
1638
  if origin_shield_region is not None:
1553
1639
  self._values["origin_shield_region"] = origin_shield_region
1640
+ if response_completion_timeout is not None:
1641
+ self._values["response_completion_timeout"] = response_completion_timeout
1554
1642
  if origin_path is not None:
1555
1643
  self._values["origin_path"] = origin_path
1556
1644
  if keepalive_timeout is not None:
@@ -1633,6 +1721,21 @@ class FunctionUrlOriginWithOACProps(FunctionUrlOriginProps):
1633
1721
  result = self._values.get("origin_shield_region")
1634
1722
  return typing.cast(typing.Optional[builtins.str], result)
1635
1723
 
1724
+ @builtins.property
1725
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
1726
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
1727
+
1728
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
1729
+
1730
+ Valid values are 1-3600 seconds, inclusive.
1731
+
1732
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
1733
+
1734
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
1735
+ '''
1736
+ result = self._values.get("response_completion_timeout")
1737
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
1738
+
1636
1739
  @builtins.property
1637
1740
  def origin_path(self) -> typing.Optional[builtins.str]:
1638
1741
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -1735,6 +1838,7 @@ class HttpOrigin(
1735
1838
  origin_id: typing.Optional[builtins.str] = None,
1736
1839
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
1737
1840
  origin_shield_region: typing.Optional[builtins.str] = None,
1841
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
1738
1842
  ) -> None:
1739
1843
  '''
1740
1844
  :param domain_name: -
@@ -1752,6 +1856,7 @@ class HttpOrigin(
1752
1856
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
1753
1857
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
1754
1858
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1859
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
1755
1860
  '''
1756
1861
  if __debug__:
1757
1862
  type_hints = typing.get_type_hints(_typecheckingstub__57d13f69f251622e0723aa73c3eb93e482e0deb7a7b1e8439c7d7ad35cfc0cc5)
@@ -1771,6 +1876,7 @@ class HttpOrigin(
1771
1876
  origin_id=origin_id,
1772
1877
  origin_shield_enabled=origin_shield_enabled,
1773
1878
  origin_shield_region=origin_shield_region,
1879
+ response_completion_timeout=response_completion_timeout,
1774
1880
  )
1775
1881
 
1776
1882
  jsii.create(self.__class__, self, [domain_name, props])
@@ -1793,6 +1899,7 @@ class HttpOrigin(
1793
1899
  "origin_id": "originId",
1794
1900
  "origin_shield_enabled": "originShieldEnabled",
1795
1901
  "origin_shield_region": "originShieldRegion",
1902
+ "response_completion_timeout": "responseCompletionTimeout",
1796
1903
  "origin_path": "originPath",
1797
1904
  "http_port": "httpPort",
1798
1905
  "https_port": "httpsPort",
@@ -1813,6 +1920,7 @@ class HttpOriginProps(_OriginProps_0675928d):
1813
1920
  origin_id: typing.Optional[builtins.str] = None,
1814
1921
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
1815
1922
  origin_shield_region: typing.Optional[builtins.str] = None,
1923
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
1816
1924
  origin_path: typing.Optional[builtins.str] = None,
1817
1925
  http_port: typing.Optional[jsii.Number] = None,
1818
1926
  https_port: typing.Optional[jsii.Number] = None,
@@ -1830,6 +1938,7 @@ class HttpOriginProps(_OriginProps_0675928d):
1830
1938
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
1831
1939
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
1832
1940
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
1941
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
1833
1942
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
1834
1943
  :param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
1835
1944
  :param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
@@ -1838,33 +1947,18 @@ class HttpOriginProps(_OriginProps_0675928d):
1838
1947
  :param protocol_policy: Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Default: OriginProtocolPolicy.HTTPS_ONLY
1839
1948
  :param read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(30)
1840
1949
 
1841
- :exampleMetadata: fixture=_generated
1950
+ :exampleMetadata: infused
1842
1951
 
1843
1952
  Example::
1844
1953
 
1845
- # The code below shows an example of how to instantiate this type.
1846
- # The values are placeholders you should change.
1847
- import aws_cdk as cdk
1848
- from aws_cdk import aws_cloudfront as cloudfront
1849
- from aws_cdk import aws_cloudfront_origins as cloudfront_origins
1850
-
1851
- http_origin_props = cloudfront_origins.HttpOriginProps(
1852
- connection_attempts=123,
1853
- connection_timeout=cdk.Duration.minutes(30),
1854
- custom_headers={
1855
- "custom_headers_key": "customHeaders"
1856
- },
1857
- http_port=123,
1858
- https_port=123,
1859
- keepalive_timeout=cdk.Duration.minutes(30),
1860
- origin_access_control_id="originAccessControlId",
1861
- origin_id="originId",
1862
- origin_path="originPath",
1863
- origin_shield_enabled=False,
1864
- origin_shield_region="originShieldRegion",
1865
- origin_ssl_protocols=[cloudfront.OriginSslPolicy.SSL_V3],
1866
- protocol_policy=cloudfront.OriginProtocolPolicy.HTTP_ONLY,
1867
- read_timeout=cdk.Duration.minutes(30)
1954
+ cloudfront.Distribution(self, "Distribution",
1955
+ default_behavior=cloudfront.BehaviorOptions(
1956
+ origin=origins.HttpOrigin("api.example.com",
1957
+ read_timeout=Duration.seconds(60),
1958
+ response_completion_timeout=Duration.seconds(120),
1959
+ keepalive_timeout=Duration.seconds(45)
1960
+ )
1961
+ )
1868
1962
  )
1869
1963
  '''
1870
1964
  if __debug__:
@@ -1876,6 +1970,7 @@ class HttpOriginProps(_OriginProps_0675928d):
1876
1970
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
1877
1971
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
1878
1972
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
1973
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
1879
1974
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
1880
1975
  check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
1881
1976
  check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
@@ -1898,6 +1993,8 @@ class HttpOriginProps(_OriginProps_0675928d):
1898
1993
  self._values["origin_shield_enabled"] = origin_shield_enabled
1899
1994
  if origin_shield_region is not None:
1900
1995
  self._values["origin_shield_region"] = origin_shield_region
1996
+ if response_completion_timeout is not None:
1997
+ self._values["response_completion_timeout"] = response_completion_timeout
1901
1998
  if origin_path is not None:
1902
1999
  self._values["origin_path"] = origin_path
1903
2000
  if http_port is not None:
@@ -1986,6 +2083,21 @@ class HttpOriginProps(_OriginProps_0675928d):
1986
2083
  result = self._values.get("origin_shield_region")
1987
2084
  return typing.cast(typing.Optional[builtins.str], result)
1988
2085
 
2086
+ @builtins.property
2087
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
2088
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
2089
+
2090
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
2091
+
2092
+ Valid values are 1-3600 seconds, inclusive.
2093
+
2094
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
2095
+
2096
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
2097
+ '''
2098
+ result = self._values.get("response_completion_timeout")
2099
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
2100
+
1989
2101
  @builtins.property
1990
2102
  def origin_path(self) -> typing.Optional[builtins.str]:
1991
2103
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -2118,6 +2230,7 @@ class LoadBalancerV2Origin(
2118
2230
  origin_id: typing.Optional[builtins.str] = None,
2119
2231
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
2120
2232
  origin_shield_region: typing.Optional[builtins.str] = None,
2233
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
2121
2234
  ) -> None:
2122
2235
  '''
2123
2236
  :param load_balancer: -
@@ -2135,6 +2248,7 @@ class LoadBalancerV2Origin(
2135
2248
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
2136
2249
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
2137
2250
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
2251
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
2138
2252
  '''
2139
2253
  if __debug__:
2140
2254
  type_hints = typing.get_type_hints(_typecheckingstub__2e5124d4f469d6539077a529c09cfba685fe4a7037b9417216b18f6ccdba96c0)
@@ -2154,6 +2268,7 @@ class LoadBalancerV2Origin(
2154
2268
  origin_id=origin_id,
2155
2269
  origin_shield_enabled=origin_shield_enabled,
2156
2270
  origin_shield_region=origin_shield_region,
2271
+ response_completion_timeout=response_completion_timeout,
2157
2272
  )
2158
2273
 
2159
2274
  jsii.create(self.__class__, self, [load_balancer, props])
@@ -2170,6 +2285,7 @@ class LoadBalancerV2Origin(
2170
2285
  "origin_id": "originId",
2171
2286
  "origin_shield_enabled": "originShieldEnabled",
2172
2287
  "origin_shield_region": "originShieldRegion",
2288
+ "response_completion_timeout": "responseCompletionTimeout",
2173
2289
  "origin_path": "originPath",
2174
2290
  "http_port": "httpPort",
2175
2291
  "https_port": "httpsPort",
@@ -2190,6 +2306,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
2190
2306
  origin_id: typing.Optional[builtins.str] = None,
2191
2307
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
2192
2308
  origin_shield_region: typing.Optional[builtins.str] = None,
2309
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
2193
2310
  origin_path: typing.Optional[builtins.str] = None,
2194
2311
  http_port: typing.Optional[jsii.Number] = None,
2195
2312
  https_port: typing.Optional[jsii.Number] = None,
@@ -2207,6 +2324,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
2207
2324
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
2208
2325
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
2209
2326
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
2327
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
2210
2328
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
2211
2329
  :param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
2212
2330
  :param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
@@ -2225,6 +2343,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
2225
2343
  connection_attempts=3,
2226
2344
  connection_timeout=Duration.seconds(5),
2227
2345
  read_timeout=Duration.seconds(45),
2346
+ response_completion_timeout=Duration.seconds(120),
2228
2347
  keepalive_timeout=Duration.seconds(45),
2229
2348
  protocol_policy=cloudfront.OriginProtocolPolicy.MATCH_VIEWER
2230
2349
  )
@@ -2238,6 +2357,7 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
2238
2357
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
2239
2358
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
2240
2359
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
2360
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
2241
2361
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
2242
2362
  check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
2243
2363
  check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
@@ -2260,6 +2380,8 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
2260
2380
  self._values["origin_shield_enabled"] = origin_shield_enabled
2261
2381
  if origin_shield_region is not None:
2262
2382
  self._values["origin_shield_region"] = origin_shield_region
2383
+ if response_completion_timeout is not None:
2384
+ self._values["response_completion_timeout"] = response_completion_timeout
2263
2385
  if origin_path is not None:
2264
2386
  self._values["origin_path"] = origin_path
2265
2387
  if http_port is not None:
@@ -2348,6 +2470,21 @@ class LoadBalancerV2OriginProps(HttpOriginProps):
2348
2470
  result = self._values.get("origin_shield_region")
2349
2471
  return typing.cast(typing.Optional[builtins.str], result)
2350
2472
 
2473
+ @builtins.property
2474
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
2475
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
2476
+
2477
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
2478
+
2479
+ Valid values are 1-3600 seconds, inclusive.
2480
+
2481
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
2482
+
2483
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
2484
+ '''
2485
+ result = self._values.get("response_completion_timeout")
2486
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
2487
+
2351
2488
  @builtins.property
2352
2489
  def origin_path(self) -> typing.Optional[builtins.str]:
2353
2490
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -2646,6 +2783,7 @@ class RestApiOrigin(
2646
2783
  origin_id: typing.Optional[builtins.str] = None,
2647
2784
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
2648
2785
  origin_shield_region: typing.Optional[builtins.str] = None,
2786
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
2649
2787
  ) -> None:
2650
2788
  '''
2651
2789
  :param rest_api: -
@@ -2659,6 +2797,7 @@ class RestApiOrigin(
2659
2797
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
2660
2798
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
2661
2799
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
2800
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
2662
2801
  '''
2663
2802
  if __debug__:
2664
2803
  type_hints = typing.get_type_hints(_typecheckingstub__56b6a9ee9b4e8ac821a25cc86fc2ff9f7490081ff9a35a5c551216af6a6ab722)
@@ -2674,6 +2813,7 @@ class RestApiOrigin(
2674
2813
  origin_id=origin_id,
2675
2814
  origin_shield_enabled=origin_shield_enabled,
2676
2815
  origin_shield_region=origin_shield_region,
2816
+ response_completion_timeout=response_completion_timeout,
2677
2817
  )
2678
2818
 
2679
2819
  jsii.create(self.__class__, self, [rest_api, props])
@@ -2696,6 +2836,7 @@ class RestApiOrigin(
2696
2836
  "origin_id": "originId",
2697
2837
  "origin_shield_enabled": "originShieldEnabled",
2698
2838
  "origin_shield_region": "originShieldRegion",
2839
+ "response_completion_timeout": "responseCompletionTimeout",
2699
2840
  "origin_path": "originPath",
2700
2841
  "keepalive_timeout": "keepaliveTimeout",
2701
2842
  "read_timeout": "readTimeout",
@@ -2712,6 +2853,7 @@ class RestApiOriginProps(_OriginProps_0675928d):
2712
2853
  origin_id: typing.Optional[builtins.str] = None,
2713
2854
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
2714
2855
  origin_shield_region: typing.Optional[builtins.str] = None,
2856
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
2715
2857
  origin_path: typing.Optional[builtins.str] = None,
2716
2858
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
2717
2859
  read_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -2725,6 +2867,7 @@ class RestApiOriginProps(_OriginProps_0675928d):
2725
2867
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
2726
2868
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
2727
2869
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
2870
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
2728
2871
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
2729
2872
  :param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
2730
2873
  :param read_timeout: Specifies how long, in seconds, CloudFront waits for a response from the origin, also known as the origin response timeout. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(30)
@@ -2748,6 +2891,7 @@ class RestApiOriginProps(_OriginProps_0675928d):
2748
2891
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
2749
2892
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
2750
2893
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
2894
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
2751
2895
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
2752
2896
  check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
2753
2897
  check_type(argname="argument read_timeout", value=read_timeout, expected_type=type_hints["read_timeout"])
@@ -2766,6 +2910,8 @@ class RestApiOriginProps(_OriginProps_0675928d):
2766
2910
  self._values["origin_shield_enabled"] = origin_shield_enabled
2767
2911
  if origin_shield_region is not None:
2768
2912
  self._values["origin_shield_region"] = origin_shield_region
2913
+ if response_completion_timeout is not None:
2914
+ self._values["response_completion_timeout"] = response_completion_timeout
2769
2915
  if origin_path is not None:
2770
2916
  self._values["origin_path"] = origin_path
2771
2917
  if keepalive_timeout is not None:
@@ -2846,6 +2992,21 @@ class RestApiOriginProps(_OriginProps_0675928d):
2846
2992
  result = self._values.get("origin_shield_region")
2847
2993
  return typing.cast(typing.Optional[builtins.str], result)
2848
2994
 
2995
+ @builtins.property
2996
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
2997
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
2998
+
2999
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
3000
+
3001
+ Valid values are 1-3600 seconds, inclusive.
3002
+
3003
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
3004
+
3005
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
3006
+ '''
3007
+ result = self._values.get("response_completion_timeout")
3008
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
3009
+
2849
3010
  @builtins.property
2850
3011
  def origin_path(self) -> typing.Optional[builtins.str]:
2851
3012
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -2936,6 +3097,7 @@ class S3BucketOrigin(
2936
3097
  origin_id: typing.Optional[builtins.str] = None,
2937
3098
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
2938
3099
  origin_shield_region: typing.Optional[builtins.str] = None,
3100
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
2939
3101
  ) -> None:
2940
3102
  '''
2941
3103
  :param bucket: -
@@ -2947,6 +3109,7 @@ class S3BucketOrigin(
2947
3109
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
2948
3110
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
2949
3111
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3112
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
2950
3113
  '''
2951
3114
  if __debug__:
2952
3115
  type_hints = typing.get_type_hints(_typecheckingstub__3cb1f0b82603224c7fbeb25b954355d9b19c8971c1f19cce6cc99b4579024f0f)
@@ -2960,6 +3123,7 @@ class S3BucketOrigin(
2960
3123
  origin_id=origin_id,
2961
3124
  origin_shield_enabled=origin_shield_enabled,
2962
3125
  origin_shield_region=origin_shield_region,
3126
+ response_completion_timeout=response_completion_timeout,
2963
3127
  )
2964
3128
 
2965
3129
  jsii.create(self.__class__, self, [bucket, props])
@@ -2978,6 +3142,7 @@ class S3BucketOrigin(
2978
3142
  origin_id: typing.Optional[builtins.str] = None,
2979
3143
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
2980
3144
  origin_shield_region: typing.Optional[builtins.str] = None,
3145
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
2981
3146
  ) -> _IOrigin_83d4c1fa:
2982
3147
  '''Create a S3 Origin with default S3 bucket settings (no origin access control).
2983
3148
 
@@ -2990,6 +3155,7 @@ class S3BucketOrigin(
2990
3155
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
2991
3156
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
2992
3157
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3158
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
2993
3159
  '''
2994
3160
  if __debug__:
2995
3161
  type_hints = typing.get_type_hints(_typecheckingstub__f676436dc530972f0e77d574f148913989a94d38c9af09bff28450e29ace8acb)
@@ -3003,6 +3169,7 @@ class S3BucketOrigin(
3003
3169
  origin_id=origin_id,
3004
3170
  origin_shield_enabled=origin_shield_enabled,
3005
3171
  origin_shield_region=origin_shield_region,
3172
+ response_completion_timeout=response_completion_timeout,
3006
3173
  )
3007
3174
 
3008
3175
  return typing.cast(_IOrigin_83d4c1fa, jsii.sinvoke(cls, "withBucketDefaults", [bucket, props]))
@@ -3023,6 +3190,7 @@ class S3BucketOrigin(
3023
3190
  origin_id: typing.Optional[builtins.str] = None,
3024
3191
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3025
3192
  origin_shield_region: typing.Optional[builtins.str] = None,
3193
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3026
3194
  ) -> _IOrigin_83d4c1fa:
3027
3195
  '''Create a S3 Origin with Origin Access Control (OAC) configured.
3028
3196
 
@@ -3037,6 +3205,7 @@ class S3BucketOrigin(
3037
3205
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3038
3206
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3039
3207
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3208
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3040
3209
  '''
3041
3210
  if __debug__:
3042
3211
  type_hints = typing.get_type_hints(_typecheckingstub__23afb965139dc34be23cec3ad5506b4c5de509db9c0d653bed7877f463b7a9db)
@@ -3052,6 +3221,7 @@ class S3BucketOrigin(
3052
3221
  origin_id=origin_id,
3053
3222
  origin_shield_enabled=origin_shield_enabled,
3054
3223
  origin_shield_region=origin_shield_region,
3224
+ response_completion_timeout=response_completion_timeout,
3055
3225
  )
3056
3226
 
3057
3227
  return typing.cast(_IOrigin_83d4c1fa, jsii.sinvoke(cls, "withOriginAccessControl", [bucket, props]))
@@ -3071,6 +3241,7 @@ class S3BucketOrigin(
3071
3241
  origin_id: typing.Optional[builtins.str] = None,
3072
3242
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3073
3243
  origin_shield_region: typing.Optional[builtins.str] = None,
3244
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3074
3245
  ) -> _IOrigin_83d4c1fa:
3075
3246
  '''Create a S3 Origin with Origin Access Identity (OAI) configured OAI is a legacy feature and we **strongly** recommend you to use OAC via ``withOriginAccessControl()`` unless it is not supported in your required region (e.g. China regions).
3076
3247
 
@@ -3084,6 +3255,7 @@ class S3BucketOrigin(
3084
3255
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3085
3256
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3086
3257
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3258
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3087
3259
  '''
3088
3260
  if __debug__:
3089
3261
  type_hints = typing.get_type_hints(_typecheckingstub__13e7421c65d5fbb92fc686fa854daca3e90dc002f3e99da4b4757e32e3c4105d)
@@ -3098,6 +3270,7 @@ class S3BucketOrigin(
3098
3270
  origin_id=origin_id,
3099
3271
  origin_shield_enabled=origin_shield_enabled,
3100
3272
  origin_shield_region=origin_shield_region,
3273
+ response_completion_timeout=response_completion_timeout,
3101
3274
  )
3102
3275
 
3103
3276
  return typing.cast(_IOrigin_83d4c1fa, jsii.sinvoke(cls, "withOriginAccessIdentity", [bucket, props]))
@@ -3130,6 +3303,7 @@ typing.cast(typing.Any, S3BucketOrigin).__jsii_proxy_class__ = lambda : _S3Bucke
3130
3303
  "origin_id": "originId",
3131
3304
  "origin_shield_enabled": "originShieldEnabled",
3132
3305
  "origin_shield_region": "originShieldRegion",
3306
+ "response_completion_timeout": "responseCompletionTimeout",
3133
3307
  "origin_path": "originPath",
3134
3308
  },
3135
3309
  )
@@ -3144,6 +3318,7 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3144
3318
  origin_id: typing.Optional[builtins.str] = None,
3145
3319
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3146
3320
  origin_shield_region: typing.Optional[builtins.str] = None,
3321
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3147
3322
  origin_path: typing.Optional[builtins.str] = None,
3148
3323
  ) -> None:
3149
3324
  '''Properties for configuring a origin using a standard S3 bucket.
@@ -3155,6 +3330,7 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3155
3330
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3156
3331
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3157
3332
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3333
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3158
3334
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
3159
3335
 
3160
3336
  :exampleMetadata: fixture=_generated
@@ -3176,7 +3352,8 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3176
3352
  origin_id="originId",
3177
3353
  origin_path="originPath",
3178
3354
  origin_shield_enabled=False,
3179
- origin_shield_region="originShieldRegion"
3355
+ origin_shield_region="originShieldRegion",
3356
+ response_completion_timeout=cdk.Duration.minutes(30)
3180
3357
  )
3181
3358
  '''
3182
3359
  if __debug__:
@@ -3188,6 +3365,7 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3188
3365
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
3189
3366
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
3190
3367
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
3368
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
3191
3369
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
3192
3370
  self._values: typing.Dict[builtins.str, typing.Any] = {}
3193
3371
  if connection_attempts is not None:
@@ -3204,6 +3382,8 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3204
3382
  self._values["origin_shield_enabled"] = origin_shield_enabled
3205
3383
  if origin_shield_region is not None:
3206
3384
  self._values["origin_shield_region"] = origin_shield_region
3385
+ if response_completion_timeout is not None:
3386
+ self._values["response_completion_timeout"] = response_completion_timeout
3207
3387
  if origin_path is not None:
3208
3388
  self._values["origin_path"] = origin_path
3209
3389
 
@@ -3280,6 +3460,21 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3280
3460
  result = self._values.get("origin_shield_region")
3281
3461
  return typing.cast(typing.Optional[builtins.str], result)
3282
3462
 
3463
+ @builtins.property
3464
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
3465
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
3466
+
3467
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
3468
+
3469
+ Valid values are 1-3600 seconds, inclusive.
3470
+
3471
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
3472
+
3473
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
3474
+ '''
3475
+ result = self._values.get("response_completion_timeout")
3476
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
3477
+
3283
3478
  @builtins.property
3284
3479
  def origin_path(self) -> typing.Optional[builtins.str]:
3285
3480
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -3314,6 +3509,7 @@ class S3BucketOriginBaseProps(_OriginProps_0675928d):
3314
3509
  "origin_id": "originId",
3315
3510
  "origin_shield_enabled": "originShieldEnabled",
3316
3511
  "origin_shield_region": "originShieldRegion",
3512
+ "response_completion_timeout": "responseCompletionTimeout",
3317
3513
  "origin_path": "originPath",
3318
3514
  "origin_access_control": "originAccessControl",
3319
3515
  "origin_access_levels": "originAccessLevels",
@@ -3330,6 +3526,7 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
3330
3526
  origin_id: typing.Optional[builtins.str] = None,
3331
3527
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3332
3528
  origin_shield_region: typing.Optional[builtins.str] = None,
3529
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3333
3530
  origin_path: typing.Optional[builtins.str] = None,
3334
3531
  origin_access_control: typing.Optional[_IOriginAccessControl_82a6fe5a] = None,
3335
3532
  origin_access_levels: typing.Optional[typing.Sequence[_AccessLevel_315d9a76]] = None,
@@ -3343,6 +3540,7 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
3343
3540
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3344
3541
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3345
3542
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3543
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3346
3544
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
3347
3545
  :param origin_access_control: An optional Origin Access Control. Default: - an Origin Access Control will be created.
3348
3546
  :param origin_access_levels: The level of permissions granted in the bucket policy and key policy (if applicable) to the CloudFront distribution. Default: [AccessLevel.READ]
@@ -3373,6 +3571,7 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
3373
3571
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
3374
3572
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
3375
3573
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
3574
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
3376
3575
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
3377
3576
  check_type(argname="argument origin_access_control", value=origin_access_control, expected_type=type_hints["origin_access_control"])
3378
3577
  check_type(argname="argument origin_access_levels", value=origin_access_levels, expected_type=type_hints["origin_access_levels"])
@@ -3391,6 +3590,8 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
3391
3590
  self._values["origin_shield_enabled"] = origin_shield_enabled
3392
3591
  if origin_shield_region is not None:
3393
3592
  self._values["origin_shield_region"] = origin_shield_region
3593
+ if response_completion_timeout is not None:
3594
+ self._values["response_completion_timeout"] = response_completion_timeout
3394
3595
  if origin_path is not None:
3395
3596
  self._values["origin_path"] = origin_path
3396
3597
  if origin_access_control is not None:
@@ -3471,6 +3672,21 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
3471
3672
  result = self._values.get("origin_shield_region")
3472
3673
  return typing.cast(typing.Optional[builtins.str], result)
3473
3674
 
3675
+ @builtins.property
3676
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
3677
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
3678
+
3679
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
3680
+
3681
+ Valid values are 1-3600 seconds, inclusive.
3682
+
3683
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
3684
+
3685
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
3686
+ '''
3687
+ result = self._values.get("response_completion_timeout")
3688
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
3689
+
3474
3690
  @builtins.property
3475
3691
  def origin_path(self) -> typing.Optional[builtins.str]:
3476
3692
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -3525,6 +3741,7 @@ class S3BucketOriginWithOACProps(S3BucketOriginBaseProps):
3525
3741
  "origin_id": "originId",
3526
3742
  "origin_shield_enabled": "originShieldEnabled",
3527
3743
  "origin_shield_region": "originShieldRegion",
3744
+ "response_completion_timeout": "responseCompletionTimeout",
3528
3745
  "origin_path": "originPath",
3529
3746
  "origin_access_identity": "originAccessIdentity",
3530
3747
  },
@@ -3540,6 +3757,7 @@ class S3BucketOriginWithOAIProps(S3BucketOriginBaseProps):
3540
3757
  origin_id: typing.Optional[builtins.str] = None,
3541
3758
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3542
3759
  origin_shield_region: typing.Optional[builtins.str] = None,
3760
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3543
3761
  origin_path: typing.Optional[builtins.str] = None,
3544
3762
  origin_access_identity: typing.Optional[_IOriginAccessIdentity_a922494c] = None,
3545
3763
  ) -> None:
@@ -3552,6 +3770,7 @@ class S3BucketOriginWithOAIProps(S3BucketOriginBaseProps):
3552
3770
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3553
3771
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3554
3772
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
3773
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3555
3774
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
3556
3775
  :param origin_access_identity: An optional Origin Access Identity. Default: - an Origin Access Identity will be created.
3557
3776
 
@@ -3581,6 +3800,7 @@ class S3BucketOriginWithOAIProps(S3BucketOriginBaseProps):
3581
3800
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
3582
3801
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
3583
3802
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
3803
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
3584
3804
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
3585
3805
  check_type(argname="argument origin_access_identity", value=origin_access_identity, expected_type=type_hints["origin_access_identity"])
3586
3806
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -3598,6 +3818,8 @@ class S3BucketOriginWithOAIProps(S3BucketOriginBaseProps):
3598
3818
  self._values["origin_shield_enabled"] = origin_shield_enabled
3599
3819
  if origin_shield_region is not None:
3600
3820
  self._values["origin_shield_region"] = origin_shield_region
3821
+ if response_completion_timeout is not None:
3822
+ self._values["response_completion_timeout"] = response_completion_timeout
3601
3823
  if origin_path is not None:
3602
3824
  self._values["origin_path"] = origin_path
3603
3825
  if origin_access_identity is not None:
@@ -3676,6 +3898,21 @@ class S3BucketOriginWithOAIProps(S3BucketOriginBaseProps):
3676
3898
  result = self._values.get("origin_shield_region")
3677
3899
  return typing.cast(typing.Optional[builtins.str], result)
3678
3900
 
3901
+ @builtins.property
3902
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
3903
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
3904
+
3905
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
3906
+
3907
+ Valid values are 1-3600 seconds, inclusive.
3908
+
3909
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
3910
+
3911
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
3912
+ '''
3913
+ result = self._values.get("response_completion_timeout")
3914
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
3915
+
3679
3916
  @builtins.property
3680
3917
  def origin_path(self) -> typing.Optional[builtins.str]:
3681
3918
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -3758,6 +3995,7 @@ class S3Origin(
3758
3995
  origin_id: typing.Optional[builtins.str] = None,
3759
3996
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3760
3997
  origin_shield_region: typing.Optional[builtins.str] = None,
3998
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3761
3999
  ) -> None:
3762
4000
  '''
3763
4001
  :param bucket: -
@@ -3770,6 +4008,7 @@ class S3Origin(
3770
4008
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3771
4009
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3772
4010
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4011
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3773
4012
 
3774
4013
  :stability: deprecated
3775
4014
  '''
@@ -3786,6 +4025,7 @@ class S3Origin(
3786
4025
  origin_id=origin_id,
3787
4026
  origin_shield_enabled=origin_shield_enabled,
3788
4027
  origin_shield_region=origin_shield_region,
4028
+ response_completion_timeout=response_completion_timeout,
3789
4029
  )
3790
4030
 
3791
4031
  jsii.create(self.__class__, self, [bucket, props])
@@ -3827,6 +4067,7 @@ class S3Origin(
3827
4067
  "origin_id": "originId",
3828
4068
  "origin_shield_enabled": "originShieldEnabled",
3829
4069
  "origin_shield_region": "originShieldRegion",
4070
+ "response_completion_timeout": "responseCompletionTimeout",
3830
4071
  "origin_path": "originPath",
3831
4072
  "origin_access_identity": "originAccessIdentity",
3832
4073
  },
@@ -3842,6 +4083,7 @@ class S3OriginProps(_OriginProps_0675928d):
3842
4083
  origin_id: typing.Optional[builtins.str] = None,
3843
4084
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
3844
4085
  origin_shield_region: typing.Optional[builtins.str] = None,
4086
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
3845
4087
  origin_path: typing.Optional[builtins.str] = None,
3846
4088
  origin_access_identity: typing.Optional[_IOriginAccessIdentity_a922494c] = None,
3847
4089
  ) -> None:
@@ -3854,6 +4096,7 @@ class S3OriginProps(_OriginProps_0675928d):
3854
4096
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
3855
4097
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
3856
4098
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4099
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
3857
4100
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
3858
4101
  :param origin_access_identity: An optional Origin Access Identity of the origin identity cloudfront will use when calling your s3 bucket. Default: - An Origin Access Identity will be created.
3859
4102
 
@@ -3880,7 +4123,8 @@ class S3OriginProps(_OriginProps_0675928d):
3880
4123
  origin_id="originId",
3881
4124
  origin_path="originPath",
3882
4125
  origin_shield_enabled=False,
3883
- origin_shield_region="originShieldRegion"
4126
+ origin_shield_region="originShieldRegion",
4127
+ response_completion_timeout=cdk.Duration.minutes(30)
3884
4128
  )
3885
4129
  '''
3886
4130
  if __debug__:
@@ -3892,6 +4136,7 @@ class S3OriginProps(_OriginProps_0675928d):
3892
4136
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
3893
4137
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
3894
4138
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
4139
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
3895
4140
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
3896
4141
  check_type(argname="argument origin_access_identity", value=origin_access_identity, expected_type=type_hints["origin_access_identity"])
3897
4142
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -3909,6 +4154,8 @@ class S3OriginProps(_OriginProps_0675928d):
3909
4154
  self._values["origin_shield_enabled"] = origin_shield_enabled
3910
4155
  if origin_shield_region is not None:
3911
4156
  self._values["origin_shield_region"] = origin_shield_region
4157
+ if response_completion_timeout is not None:
4158
+ self._values["response_completion_timeout"] = response_completion_timeout
3912
4159
  if origin_path is not None:
3913
4160
  self._values["origin_path"] = origin_path
3914
4161
  if origin_access_identity is not None:
@@ -3987,6 +4234,21 @@ class S3OriginProps(_OriginProps_0675928d):
3987
4234
  result = self._values.get("origin_shield_region")
3988
4235
  return typing.cast(typing.Optional[builtins.str], result)
3989
4236
 
4237
+ @builtins.property
4238
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
4239
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
4240
+
4241
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
4242
+
4243
+ Valid values are 1-3600 seconds, inclusive.
4244
+
4245
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
4246
+
4247
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
4248
+ '''
4249
+ result = self._values.get("response_completion_timeout")
4250
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
4251
+
3990
4252
  @builtins.property
3991
4253
  def origin_path(self) -> typing.Optional[builtins.str]:
3992
4254
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -4056,6 +4318,7 @@ class S3StaticWebsiteOrigin(
4056
4318
  origin_id: typing.Optional[builtins.str] = None,
4057
4319
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4058
4320
  origin_shield_region: typing.Optional[builtins.str] = None,
4321
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4059
4322
  ) -> None:
4060
4323
  '''
4061
4324
  :param bucket: -
@@ -4073,6 +4336,7 @@ class S3StaticWebsiteOrigin(
4073
4336
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4074
4337
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4075
4338
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4339
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4076
4340
  '''
4077
4341
  if __debug__:
4078
4342
  type_hints = typing.get_type_hints(_typecheckingstub__f0edd2083352b96faf3ea9eb05136629dff841fa272ecdb6dfb52772a77b9b22)
@@ -4092,6 +4356,7 @@ class S3StaticWebsiteOrigin(
4092
4356
  origin_id=origin_id,
4093
4357
  origin_shield_enabled=origin_shield_enabled,
4094
4358
  origin_shield_region=origin_shield_region,
4359
+ response_completion_timeout=response_completion_timeout,
4095
4360
  )
4096
4361
 
4097
4362
  jsii.create(self.__class__, self, [bucket, props])
@@ -4108,6 +4373,7 @@ class S3StaticWebsiteOrigin(
4108
4373
  "origin_id": "originId",
4109
4374
  "origin_shield_enabled": "originShieldEnabled",
4110
4375
  "origin_shield_region": "originShieldRegion",
4376
+ "response_completion_timeout": "responseCompletionTimeout",
4111
4377
  "origin_path": "originPath",
4112
4378
  "http_port": "httpPort",
4113
4379
  "https_port": "httpsPort",
@@ -4128,6 +4394,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
4128
4394
  origin_id: typing.Optional[builtins.str] = None,
4129
4395
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4130
4396
  origin_shield_region: typing.Optional[builtins.str] = None,
4397
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4131
4398
  origin_path: typing.Optional[builtins.str] = None,
4132
4399
  http_port: typing.Optional[jsii.Number] = None,
4133
4400
  https_port: typing.Optional[jsii.Number] = None,
@@ -4145,6 +4412,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
4145
4412
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4146
4413
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4147
4414
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4415
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4148
4416
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
4149
4417
  :param http_port: The HTTP port that CloudFront uses to connect to the origin. Default: 80
4150
4418
  :param https_port: The HTTPS port that CloudFront uses to connect to the origin. Default: 443
@@ -4179,7 +4447,8 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
4179
4447
  origin_shield_region="originShieldRegion",
4180
4448
  origin_ssl_protocols=[cloudfront.OriginSslPolicy.SSL_V3],
4181
4449
  protocol_policy=cloudfront.OriginProtocolPolicy.HTTP_ONLY,
4182
- read_timeout=cdk.Duration.minutes(30)
4450
+ read_timeout=cdk.Duration.minutes(30),
4451
+ response_completion_timeout=cdk.Duration.minutes(30)
4183
4452
  )
4184
4453
  '''
4185
4454
  if __debug__:
@@ -4191,6 +4460,7 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
4191
4460
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
4192
4461
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
4193
4462
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
4463
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
4194
4464
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
4195
4465
  check_type(argname="argument http_port", value=http_port, expected_type=type_hints["http_port"])
4196
4466
  check_type(argname="argument https_port", value=https_port, expected_type=type_hints["https_port"])
@@ -4213,6 +4483,8 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
4213
4483
  self._values["origin_shield_enabled"] = origin_shield_enabled
4214
4484
  if origin_shield_region is not None:
4215
4485
  self._values["origin_shield_region"] = origin_shield_region
4486
+ if response_completion_timeout is not None:
4487
+ self._values["response_completion_timeout"] = response_completion_timeout
4216
4488
  if origin_path is not None:
4217
4489
  self._values["origin_path"] = origin_path
4218
4490
  if http_port is not None:
@@ -4301,6 +4573,21 @@ class S3StaticWebsiteOriginProps(HttpOriginProps):
4301
4573
  result = self._values.get("origin_shield_region")
4302
4574
  return typing.cast(typing.Optional[builtins.str], result)
4303
4575
 
4576
+ @builtins.property
4577
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
4578
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
4579
+
4580
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
4581
+
4582
+ Valid values are 1-3600 seconds, inclusive.
4583
+
4584
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
4585
+
4586
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
4587
+ '''
4588
+ result = self._values.get("response_completion_timeout")
4589
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
4590
+
4304
4591
  @builtins.property
4305
4592
  def origin_path(self) -> typing.Optional[builtins.str]:
4306
4593
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -4431,6 +4718,7 @@ class VpcOrigin(
4431
4718
  origin_id: typing.Optional[builtins.str] = None,
4432
4719
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4433
4720
  origin_shield_region: typing.Optional[builtins.str] = None,
4721
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4434
4722
  ) -> None:
4435
4723
  '''
4436
4724
  :param domain_name_: -
@@ -4445,6 +4733,7 @@ class VpcOrigin(
4445
4733
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4446
4734
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4447
4735
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4736
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4448
4737
  '''
4449
4738
  if __debug__:
4450
4739
  type_hints = typing.get_type_hints(_typecheckingstub__27d66442a972110883cdde622df199c2db6a7264e19031f1118d7aa01681cef6)
@@ -4461,6 +4750,7 @@ class VpcOrigin(
4461
4750
  origin_id=origin_id,
4462
4751
  origin_shield_enabled=origin_shield_enabled,
4463
4752
  origin_shield_region=origin_shield_region,
4753
+ response_completion_timeout=response_completion_timeout,
4464
4754
  )
4465
4755
 
4466
4756
  jsii.create(self.__class__, self, [domain_name_, props])
@@ -4487,6 +4777,7 @@ class VpcOrigin(
4487
4777
  origin_id: typing.Optional[builtins.str] = None,
4488
4778
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4489
4779
  origin_shield_region: typing.Optional[builtins.str] = None,
4780
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4490
4781
  ) -> "VpcOrigin":
4491
4782
  '''Create a VPC origin with an Application Load Balancer.
4492
4783
 
@@ -4507,6 +4798,7 @@ class VpcOrigin(
4507
4798
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4508
4799
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4509
4800
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4801
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4510
4802
  '''
4511
4803
  if __debug__:
4512
4804
  type_hints = typing.get_type_hints(_typecheckingstub__8615ead9bb90a8fd2c91dc07371d03b8f4b4192a1500a449646bd8a7be95fa6c)
@@ -4528,6 +4820,7 @@ class VpcOrigin(
4528
4820
  origin_id=origin_id,
4529
4821
  origin_shield_enabled=origin_shield_enabled,
4530
4822
  origin_shield_region=origin_shield_region,
4823
+ response_completion_timeout=response_completion_timeout,
4531
4824
  )
4532
4825
 
4533
4826
  return typing.cast("VpcOrigin", jsii.sinvoke(cls, "withApplicationLoadBalancer", [alb, props]))
@@ -4554,6 +4847,7 @@ class VpcOrigin(
4554
4847
  origin_id: typing.Optional[builtins.str] = None,
4555
4848
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4556
4849
  origin_shield_region: typing.Optional[builtins.str] = None,
4850
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4557
4851
  ) -> "VpcOrigin":
4558
4852
  '''Create a VPC origin with an EC2 instance.
4559
4853
 
@@ -4574,6 +4868,7 @@ class VpcOrigin(
4574
4868
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4575
4869
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4576
4870
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4871
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4577
4872
  '''
4578
4873
  if __debug__:
4579
4874
  type_hints = typing.get_type_hints(_typecheckingstub__1fc3f8db0baa99548845b1733d31d8271fbe2c934c89a6c44958edcb38b35a13)
@@ -4595,6 +4890,7 @@ class VpcOrigin(
4595
4890
  origin_id=origin_id,
4596
4891
  origin_shield_enabled=origin_shield_enabled,
4597
4892
  origin_shield_region=origin_shield_region,
4893
+ response_completion_timeout=response_completion_timeout,
4598
4894
  )
4599
4895
 
4600
4896
  return typing.cast("VpcOrigin", jsii.sinvoke(cls, "withEc2Instance", [instance, props]))
@@ -4621,6 +4917,7 @@ class VpcOrigin(
4621
4917
  origin_id: typing.Optional[builtins.str] = None,
4622
4918
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4623
4919
  origin_shield_region: typing.Optional[builtins.str] = None,
4920
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4624
4921
  ) -> "VpcOrigin":
4625
4922
  '''Create a VPC origin with a Network Load Balancer.
4626
4923
 
@@ -4641,6 +4938,7 @@ class VpcOrigin(
4641
4938
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4642
4939
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4643
4940
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
4941
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4644
4942
  '''
4645
4943
  if __debug__:
4646
4944
  type_hints = typing.get_type_hints(_typecheckingstub__83c5561f2747600ee99b6ee41190dcba45f2a24cc1c9500759e9c382320b83d6)
@@ -4662,6 +4960,7 @@ class VpcOrigin(
4662
4960
  origin_id=origin_id,
4663
4961
  origin_shield_enabled=origin_shield_enabled,
4664
4962
  origin_shield_region=origin_shield_region,
4963
+ response_completion_timeout=response_completion_timeout,
4665
4964
  )
4666
4965
 
4667
4966
  return typing.cast("VpcOrigin", jsii.sinvoke(cls, "withNetworkLoadBalancer", [nlb, props]))
@@ -4683,6 +4982,7 @@ class VpcOrigin(
4683
4982
  origin_id: typing.Optional[builtins.str] = None,
4684
4983
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4685
4984
  origin_shield_region: typing.Optional[builtins.str] = None,
4985
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4686
4986
  ) -> "VpcOrigin":
4687
4987
  '''Create a VPC origin with an existing VPC origin resource.
4688
4988
 
@@ -4698,6 +4998,7 @@ class VpcOrigin(
4698
4998
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4699
4999
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4700
5000
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
5001
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4701
5002
  '''
4702
5003
  if __debug__:
4703
5004
  type_hints = typing.get_type_hints(_typecheckingstub__b7ed2e0f746eab77b2774c1adb0f114f10e786a05b531cd1218f93ad3770e5af)
@@ -4714,6 +5015,7 @@ class VpcOrigin(
4714
5015
  origin_id=origin_id,
4715
5016
  origin_shield_enabled=origin_shield_enabled,
4716
5017
  origin_shield_region=origin_shield_region,
5018
+ response_completion_timeout=response_completion_timeout,
4717
5019
  )
4718
5020
 
4719
5021
  return typing.cast("VpcOrigin", jsii.sinvoke(cls, "withVpcOrigin", [origin, props]))
@@ -4763,6 +5065,7 @@ typing.cast(typing.Any, VpcOrigin).__jsii_proxy_class__ = lambda : _VpcOriginPro
4763
5065
  "origin_id": "originId",
4764
5066
  "origin_shield_enabled": "originShieldEnabled",
4765
5067
  "origin_shield_region": "originShieldRegion",
5068
+ "response_completion_timeout": "responseCompletionTimeout",
4766
5069
  "origin_path": "originPath",
4767
5070
  "domain_name": "domainName",
4768
5071
  "keepalive_timeout": "keepaliveTimeout",
@@ -4780,6 +5083,7 @@ class VpcOriginProps(_OriginProps_0675928d):
4780
5083
  origin_id: typing.Optional[builtins.str] = None,
4781
5084
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
4782
5085
  origin_shield_region: typing.Optional[builtins.str] = None,
5086
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
4783
5087
  origin_path: typing.Optional[builtins.str] = None,
4784
5088
  domain_name: typing.Optional[builtins.str] = None,
4785
5089
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -4794,6 +5098,7 @@ class VpcOriginProps(_OriginProps_0675928d):
4794
5098
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
4795
5099
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
4796
5100
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
5101
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
4797
5102
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
4798
5103
  :param domain_name: The domain name associated with your VPC origin. Default: - The default domain name of the endpoint.
4799
5104
  :param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
@@ -4821,7 +5126,8 @@ class VpcOriginProps(_OriginProps_0675928d):
4821
5126
  origin_path="originPath",
4822
5127
  origin_shield_enabled=False,
4823
5128
  origin_shield_region="originShieldRegion",
4824
- read_timeout=cdk.Duration.minutes(30)
5129
+ read_timeout=cdk.Duration.minutes(30),
5130
+ response_completion_timeout=cdk.Duration.minutes(30)
4825
5131
  )
4826
5132
  '''
4827
5133
  if __debug__:
@@ -4833,6 +5139,7 @@ class VpcOriginProps(_OriginProps_0675928d):
4833
5139
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
4834
5140
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
4835
5141
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
5142
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
4836
5143
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
4837
5144
  check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
4838
5145
  check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
@@ -4852,6 +5159,8 @@ class VpcOriginProps(_OriginProps_0675928d):
4852
5159
  self._values["origin_shield_enabled"] = origin_shield_enabled
4853
5160
  if origin_shield_region is not None:
4854
5161
  self._values["origin_shield_region"] = origin_shield_region
5162
+ if response_completion_timeout is not None:
5163
+ self._values["response_completion_timeout"] = response_completion_timeout
4855
5164
  if origin_path is not None:
4856
5165
  self._values["origin_path"] = origin_path
4857
5166
  if domain_name is not None:
@@ -4934,6 +5243,21 @@ class VpcOriginProps(_OriginProps_0675928d):
4934
5243
  result = self._values.get("origin_shield_region")
4935
5244
  return typing.cast(typing.Optional[builtins.str], result)
4936
5245
 
5246
+ @builtins.property
5247
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
5248
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
5249
+
5250
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
5251
+
5252
+ Valid values are 1-3600 seconds, inclusive.
5253
+
5254
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
5255
+
5256
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
5257
+ '''
5258
+ result = self._values.get("response_completion_timeout")
5259
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
5260
+
4937
5261
  @builtins.property
4938
5262
  def origin_path(self) -> typing.Optional[builtins.str]:
4939
5263
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -5005,6 +5329,7 @@ class VpcOriginProps(_OriginProps_0675928d):
5005
5329
  "origin_id": "originId",
5006
5330
  "origin_shield_enabled": "originShieldEnabled",
5007
5331
  "origin_shield_region": "originShieldRegion",
5332
+ "response_completion_timeout": "responseCompletionTimeout",
5008
5333
  "origin_path": "originPath",
5009
5334
  "domain_name": "domainName",
5010
5335
  "keepalive_timeout": "keepaliveTimeout",
@@ -5027,6 +5352,7 @@ class VpcOriginWithEndpointProps(VpcOriginProps, _VpcOriginOptions_f9e74bd8):
5027
5352
  origin_id: typing.Optional[builtins.str] = None,
5028
5353
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5029
5354
  origin_shield_region: typing.Optional[builtins.str] = None,
5355
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5030
5356
  origin_path: typing.Optional[builtins.str] = None,
5031
5357
  domain_name: typing.Optional[builtins.str] = None,
5032
5358
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -5046,6 +5372,7 @@ class VpcOriginWithEndpointProps(VpcOriginProps, _VpcOriginOptions_f9e74bd8):
5046
5372
  :param origin_id: A unique identifier for the origin. This value must be unique within the distribution. Default: - an originid will be generated for you
5047
5373
  :param origin_shield_enabled: Origin Shield is enabled by setting originShieldRegion to a valid region, after this to disable Origin Shield again you must set this flag to false. Default: - true
5048
5374
  :param origin_shield_region: When you enable Origin Shield in the AWS Region that has the lowest latency to your origin, you can get better network performance. Default: - origin shield not enabled
5375
+ :param response_completion_timeout: The time that a request from CloudFront to the origin can stay open and wait for a response. If the complete response isn't received from the origin by this time, CloudFront ends the connection. Valid values are 1-3600 seconds, inclusive. Default: undefined - AWS CloudFront default is not enforcing a maximum value
5049
5376
  :param origin_path: An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin. Must begin, but not end, with '/' (e.g., '/production/images'). Default: '/'
5050
5377
  :param domain_name: The domain name associated with your VPC origin. Default: - The default domain name of the endpoint.
5051
5378
  :param keepalive_timeout: Specifies how long, in seconds, CloudFront persists its connection to the origin. The valid range is from 1 to 180 seconds, inclusive. Note that values over 60 seconds are possible only after a limit increase request for the origin response timeout quota has been approved in the target account; otherwise, values over 60 seconds will produce an error at deploy time. Default: Duration.seconds(5)
@@ -5084,6 +5411,7 @@ class VpcOriginWithEndpointProps(VpcOriginProps, _VpcOriginOptions_f9e74bd8):
5084
5411
  origin_ssl_protocols=[cloudfront.OriginSslPolicy.SSL_V3],
5085
5412
  protocol_policy=cloudfront.OriginProtocolPolicy.HTTP_ONLY,
5086
5413
  read_timeout=cdk.Duration.minutes(30),
5414
+ response_completion_timeout=cdk.Duration.minutes(30),
5087
5415
  vpc_origin_name="vpcOriginName"
5088
5416
  )
5089
5417
  '''
@@ -5096,6 +5424,7 @@ class VpcOriginWithEndpointProps(VpcOriginProps, _VpcOriginOptions_f9e74bd8):
5096
5424
  check_type(argname="argument origin_id", value=origin_id, expected_type=type_hints["origin_id"])
5097
5425
  check_type(argname="argument origin_shield_enabled", value=origin_shield_enabled, expected_type=type_hints["origin_shield_enabled"])
5098
5426
  check_type(argname="argument origin_shield_region", value=origin_shield_region, expected_type=type_hints["origin_shield_region"])
5427
+ check_type(argname="argument response_completion_timeout", value=response_completion_timeout, expected_type=type_hints["response_completion_timeout"])
5099
5428
  check_type(argname="argument origin_path", value=origin_path, expected_type=type_hints["origin_path"])
5100
5429
  check_type(argname="argument domain_name", value=domain_name, expected_type=type_hints["domain_name"])
5101
5430
  check_type(argname="argument keepalive_timeout", value=keepalive_timeout, expected_type=type_hints["keepalive_timeout"])
@@ -5120,6 +5449,8 @@ class VpcOriginWithEndpointProps(VpcOriginProps, _VpcOriginOptions_f9e74bd8):
5120
5449
  self._values["origin_shield_enabled"] = origin_shield_enabled
5121
5450
  if origin_shield_region is not None:
5122
5451
  self._values["origin_shield_region"] = origin_shield_region
5452
+ if response_completion_timeout is not None:
5453
+ self._values["response_completion_timeout"] = response_completion_timeout
5123
5454
  if origin_path is not None:
5124
5455
  self._values["origin_path"] = origin_path
5125
5456
  if domain_name is not None:
@@ -5212,6 +5543,21 @@ class VpcOriginWithEndpointProps(VpcOriginProps, _VpcOriginOptions_f9e74bd8):
5212
5543
  result = self._values.get("origin_shield_region")
5213
5544
  return typing.cast(typing.Optional[builtins.str], result)
5214
5545
 
5546
+ @builtins.property
5547
+ def response_completion_timeout(self) -> typing.Optional[_Duration_4839e8c3]:
5548
+ '''The time that a request from CloudFront to the origin can stay open and wait for a response.
5549
+
5550
+ If the complete response isn't received from the origin by this time, CloudFront ends the connection.
5551
+
5552
+ Valid values are 1-3600 seconds, inclusive.
5553
+
5554
+ :default: undefined - AWS CloudFront default is not enforcing a maximum value
5555
+
5556
+ :see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#response-completion-timeout
5557
+ '''
5558
+ result = self._values.get("response_completion_timeout")
5559
+ return typing.cast(typing.Optional[_Duration_4839e8c3], result)
5560
+
5215
5561
  @builtins.property
5216
5562
  def origin_path(self) -> typing.Optional[builtins.str]:
5217
5563
  '''An optional path that CloudFront appends to the origin domain name when CloudFront requests content from the origin.
@@ -5360,6 +5706,7 @@ def _typecheckingstub__fcda903697b26acfe2149a285d5a64619682b675affb52f4ae2d1aca4
5360
5706
  origin_id: typing.Optional[builtins.str] = None,
5361
5707
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5362
5708
  origin_shield_region: typing.Optional[builtins.str] = None,
5709
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5363
5710
  ) -> None:
5364
5711
  """Type checking stubs"""
5365
5712
  pass
@@ -5378,6 +5725,7 @@ def _typecheckingstub__b4d59b7721f41be7903dbcffeddd34d596392d2c8d2a4110f31a4dacd
5378
5725
  origin_id: typing.Optional[builtins.str] = None,
5379
5726
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5380
5727
  origin_shield_region: typing.Optional[builtins.str] = None,
5728
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5381
5729
  ) -> None:
5382
5730
  """Type checking stubs"""
5383
5731
  pass
@@ -5391,6 +5739,7 @@ def _typecheckingstub__610b4764a440619f38a9adeb3e13225e58180ee2ee316abd994579fdc
5391
5739
  origin_id: typing.Optional[builtins.str] = None,
5392
5740
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5393
5741
  origin_shield_region: typing.Optional[builtins.str] = None,
5742
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5394
5743
  origin_path: typing.Optional[builtins.str] = None,
5395
5744
  ) -> None:
5396
5745
  """Type checking stubs"""
@@ -5405,6 +5754,7 @@ def _typecheckingstub__56d340a9ac5dd93c6aa22cb98bcbc860fb23f8d247b53c2cd1a51ecd8
5405
5754
  origin_id: typing.Optional[builtins.str] = None,
5406
5755
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5407
5756
  origin_shield_region: typing.Optional[builtins.str] = None,
5757
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5408
5758
  origin_path: typing.Optional[builtins.str] = None,
5409
5759
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
5410
5760
  read_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -5421,6 +5771,7 @@ def _typecheckingstub__56968af993436ccfcac0aa6a57169f1a033078c10740d435d086816ad
5421
5771
  origin_id: typing.Optional[builtins.str] = None,
5422
5772
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5423
5773
  origin_shield_region: typing.Optional[builtins.str] = None,
5774
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5424
5775
  origin_path: typing.Optional[builtins.str] = None,
5425
5776
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
5426
5777
  read_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -5446,6 +5797,7 @@ def _typecheckingstub__57d13f69f251622e0723aa73c3eb93e482e0deb7a7b1e8439c7d7ad35
5446
5797
  origin_id: typing.Optional[builtins.str] = None,
5447
5798
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5448
5799
  origin_shield_region: typing.Optional[builtins.str] = None,
5800
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5449
5801
  ) -> None:
5450
5802
  """Type checking stubs"""
5451
5803
  pass
@@ -5459,6 +5811,7 @@ def _typecheckingstub__13f43bf70f0a97ee8ca0e4f7aca38d43089ed2bc254d5c2b57c73b51c
5459
5811
  origin_id: typing.Optional[builtins.str] = None,
5460
5812
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5461
5813
  origin_shield_region: typing.Optional[builtins.str] = None,
5814
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5462
5815
  origin_path: typing.Optional[builtins.str] = None,
5463
5816
  http_port: typing.Optional[jsii.Number] = None,
5464
5817
  https_port: typing.Optional[jsii.Number] = None,
@@ -5487,6 +5840,7 @@ def _typecheckingstub__2e5124d4f469d6539077a529c09cfba685fe4a7037b9417216b18f6cc
5487
5840
  origin_id: typing.Optional[builtins.str] = None,
5488
5841
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5489
5842
  origin_shield_region: typing.Optional[builtins.str] = None,
5843
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5490
5844
  ) -> None:
5491
5845
  """Type checking stubs"""
5492
5846
  pass
@@ -5500,6 +5854,7 @@ def _typecheckingstub__c72b63200b184ae3f51c9b6a19be2eef9bddae313ee00c7378396c0dc
5500
5854
  origin_id: typing.Optional[builtins.str] = None,
5501
5855
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5502
5856
  origin_shield_region: typing.Optional[builtins.str] = None,
5857
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5503
5858
  origin_path: typing.Optional[builtins.str] = None,
5504
5859
  http_port: typing.Optional[jsii.Number] = None,
5505
5860
  https_port: typing.Optional[jsii.Number] = None,
@@ -5543,6 +5898,7 @@ def _typecheckingstub__56b6a9ee9b4e8ac821a25cc86fc2ff9f7490081ff9a35a5c551216af6
5543
5898
  origin_id: typing.Optional[builtins.str] = None,
5544
5899
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5545
5900
  origin_shield_region: typing.Optional[builtins.str] = None,
5901
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5546
5902
  ) -> None:
5547
5903
  """Type checking stubs"""
5548
5904
  pass
@@ -5556,6 +5912,7 @@ def _typecheckingstub__0eca8c8f76c90eb80c45563b1a8eb9b9f1868ad621b45412a4cb93529
5556
5912
  origin_id: typing.Optional[builtins.str] = None,
5557
5913
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5558
5914
  origin_shield_region: typing.Optional[builtins.str] = None,
5915
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5559
5916
  origin_path: typing.Optional[builtins.str] = None,
5560
5917
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
5561
5918
  read_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -5574,6 +5931,7 @@ def _typecheckingstub__3cb1f0b82603224c7fbeb25b954355d9b19c8971c1f19cce6cc99b457
5574
5931
  origin_id: typing.Optional[builtins.str] = None,
5575
5932
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5576
5933
  origin_shield_region: typing.Optional[builtins.str] = None,
5934
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5577
5935
  ) -> None:
5578
5936
  """Type checking stubs"""
5579
5937
  pass
@@ -5589,6 +5947,7 @@ def _typecheckingstub__f676436dc530972f0e77d574f148913989a94d38c9af09bff28450e29
5589
5947
  origin_id: typing.Optional[builtins.str] = None,
5590
5948
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5591
5949
  origin_shield_region: typing.Optional[builtins.str] = None,
5950
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5592
5951
  ) -> None:
5593
5952
  """Type checking stubs"""
5594
5953
  pass
@@ -5606,6 +5965,7 @@ def _typecheckingstub__23afb965139dc34be23cec3ad5506b4c5de509db9c0d653bed7877f46
5606
5965
  origin_id: typing.Optional[builtins.str] = None,
5607
5966
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5608
5967
  origin_shield_region: typing.Optional[builtins.str] = None,
5968
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5609
5969
  ) -> None:
5610
5970
  """Type checking stubs"""
5611
5971
  pass
@@ -5622,6 +5982,7 @@ def _typecheckingstub__13e7421c65d5fbb92fc686fa854daca3e90dc002f3e99da4b4757e32e
5622
5982
  origin_id: typing.Optional[builtins.str] = None,
5623
5983
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5624
5984
  origin_shield_region: typing.Optional[builtins.str] = None,
5985
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5625
5986
  ) -> None:
5626
5987
  """Type checking stubs"""
5627
5988
  pass
@@ -5635,6 +5996,7 @@ def _typecheckingstub__c5e580c31fe629b713e1ecbf9905ebb4220e152805ab34129f693f2c4
5635
5996
  origin_id: typing.Optional[builtins.str] = None,
5636
5997
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5637
5998
  origin_shield_region: typing.Optional[builtins.str] = None,
5999
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5638
6000
  origin_path: typing.Optional[builtins.str] = None,
5639
6001
  ) -> None:
5640
6002
  """Type checking stubs"""
@@ -5649,6 +6011,7 @@ def _typecheckingstub__1af53a7ded1427e29cc874af45efdfe026a0004a1f2782a5bc936dbfc
5649
6011
  origin_id: typing.Optional[builtins.str] = None,
5650
6012
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5651
6013
  origin_shield_region: typing.Optional[builtins.str] = None,
6014
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5652
6015
  origin_path: typing.Optional[builtins.str] = None,
5653
6016
  origin_access_control: typing.Optional[_IOriginAccessControl_82a6fe5a] = None,
5654
6017
  origin_access_levels: typing.Optional[typing.Sequence[_AccessLevel_315d9a76]] = None,
@@ -5665,6 +6028,7 @@ def _typecheckingstub__4b64c18ef31b660c450eee84b6738d7bbd960797e1788e068be966312
5665
6028
  origin_id: typing.Optional[builtins.str] = None,
5666
6029
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5667
6030
  origin_shield_region: typing.Optional[builtins.str] = None,
6031
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5668
6032
  origin_path: typing.Optional[builtins.str] = None,
5669
6033
  origin_access_identity: typing.Optional[_IOriginAccessIdentity_a922494c] = None,
5670
6034
  ) -> None:
@@ -5683,6 +6047,7 @@ def _typecheckingstub__9ba8623373b0faa9ac55c816167da21a58e0753e0dd032b1f3e6ccd0b
5683
6047
  origin_id: typing.Optional[builtins.str] = None,
5684
6048
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5685
6049
  origin_shield_region: typing.Optional[builtins.str] = None,
6050
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5686
6051
  ) -> None:
5687
6052
  """Type checking stubs"""
5688
6053
  pass
@@ -5705,6 +6070,7 @@ def _typecheckingstub__bbd2a0ca1bf4d32899d90ea633e3ac416a6fa29972ee055a5866ec269
5705
6070
  origin_id: typing.Optional[builtins.str] = None,
5706
6071
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5707
6072
  origin_shield_region: typing.Optional[builtins.str] = None,
6073
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5708
6074
  origin_path: typing.Optional[builtins.str] = None,
5709
6075
  origin_access_identity: typing.Optional[_IOriginAccessIdentity_a922494c] = None,
5710
6076
  ) -> None:
@@ -5728,6 +6094,7 @@ def _typecheckingstub__f0edd2083352b96faf3ea9eb05136629dff841fa272ecdb6dfb52772a
5728
6094
  origin_id: typing.Optional[builtins.str] = None,
5729
6095
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5730
6096
  origin_shield_region: typing.Optional[builtins.str] = None,
6097
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5731
6098
  ) -> None:
5732
6099
  """Type checking stubs"""
5733
6100
  pass
@@ -5741,6 +6108,7 @@ def _typecheckingstub__5bc18cdba7c0e6d7d0a68d2a1cf3c3f91f50a7e3e7384f5f62ebee600
5741
6108
  origin_id: typing.Optional[builtins.str] = None,
5742
6109
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5743
6110
  origin_shield_region: typing.Optional[builtins.str] = None,
6111
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5744
6112
  origin_path: typing.Optional[builtins.str] = None,
5745
6113
  http_port: typing.Optional[jsii.Number] = None,
5746
6114
  https_port: typing.Optional[jsii.Number] = None,
@@ -5766,6 +6134,7 @@ def _typecheckingstub__27d66442a972110883cdde622df199c2db6a7264e19031f1118d7aa01
5766
6134
  origin_id: typing.Optional[builtins.str] = None,
5767
6135
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5768
6136
  origin_shield_region: typing.Optional[builtins.str] = None,
6137
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5769
6138
  ) -> None:
5770
6139
  """Type checking stubs"""
5771
6140
  pass
@@ -5789,6 +6158,7 @@ def _typecheckingstub__8615ead9bb90a8fd2c91dc07371d03b8f4b4192a1500a449646bd8a7b
5789
6158
  origin_id: typing.Optional[builtins.str] = None,
5790
6159
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5791
6160
  origin_shield_region: typing.Optional[builtins.str] = None,
6161
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5792
6162
  ) -> None:
5793
6163
  """Type checking stubs"""
5794
6164
  pass
@@ -5812,6 +6182,7 @@ def _typecheckingstub__1fc3f8db0baa99548845b1733d31d8271fbe2c934c89a6c44958edcb3
5812
6182
  origin_id: typing.Optional[builtins.str] = None,
5813
6183
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5814
6184
  origin_shield_region: typing.Optional[builtins.str] = None,
6185
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5815
6186
  ) -> None:
5816
6187
  """Type checking stubs"""
5817
6188
  pass
@@ -5835,6 +6206,7 @@ def _typecheckingstub__83c5561f2747600ee99b6ee41190dcba45f2a24cc1c9500759e9c3823
5835
6206
  origin_id: typing.Optional[builtins.str] = None,
5836
6207
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5837
6208
  origin_shield_region: typing.Optional[builtins.str] = None,
6209
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5838
6210
  ) -> None:
5839
6211
  """Type checking stubs"""
5840
6212
  pass
@@ -5853,6 +6225,7 @@ def _typecheckingstub__b7ed2e0f746eab77b2774c1adb0f114f10e786a05b531cd1218f93ad3
5853
6225
  origin_id: typing.Optional[builtins.str] = None,
5854
6226
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5855
6227
  origin_shield_region: typing.Optional[builtins.str] = None,
6228
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5856
6229
  ) -> None:
5857
6230
  """Type checking stubs"""
5858
6231
  pass
@@ -5872,6 +6245,7 @@ def _typecheckingstub__6605ea586b09bdf0ddb88a83b7c4e00626fe891625563cb019777b148
5872
6245
  origin_id: typing.Optional[builtins.str] = None,
5873
6246
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5874
6247
  origin_shield_region: typing.Optional[builtins.str] = None,
6248
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5875
6249
  origin_path: typing.Optional[builtins.str] = None,
5876
6250
  domain_name: typing.Optional[builtins.str] = None,
5877
6251
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,
@@ -5889,6 +6263,7 @@ def _typecheckingstub__e581b80df977101d74a87a861c6ddf752f3dc8bcbd114f5e12bc33daa
5889
6263
  origin_id: typing.Optional[builtins.str] = None,
5890
6264
  origin_shield_enabled: typing.Optional[builtins.bool] = None,
5891
6265
  origin_shield_region: typing.Optional[builtins.str] = None,
6266
+ response_completion_timeout: typing.Optional[_Duration_4839e8c3] = None,
5892
6267
  origin_path: typing.Optional[builtins.str] = None,
5893
6268
  domain_name: typing.Optional[builtins.str] = None,
5894
6269
  keepalive_timeout: typing.Optional[_Duration_4839e8c3] = None,