VpcOriginConfig¶
Structure Class¶
VpcOriginConfig
dataclass
¶
Bases: _SerdeShape
An Amazon CloudFront VPC origin configuration.
Attributes¶
origin_keepalive_timeout
class-attribute
instance-attribute
¶
origin_keepalive_timeout: int | None = ...
Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds.
For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.
origin_read_timeout
class-attribute
instance-attribute
¶
origin_read_timeout: int | None = ...
Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.
For more information, see Response timeout in the Amazon CloudFront Developer Guide.