Skip to content

VpcOriginConfig

Source code in docs_src/capo_cloudfront/types/vpc_origin_config.py
class VpcOriginConfig(TypedDict, closed=True):
    vpc_origin_id: "capo_cloudfront.types.string.string"
    """<p>The VPC origin ID.</p>"""
    owner_account_id: NotRequired["capo_cloudfront.types.string.string"]
    """<p>The account ID of the Amazon Web Services account that owns the VPC origin.</p>"""
    origin_read_timeout: NotRequired["capo_cloudfront.types.integer.integer"]
    """<p>Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the <i>origin response timeout</i>. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout">Response timeout</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""
    origin_keepalive_timeout: NotRequired["capo_cloudfront.types.integer.integer"]
    """<p>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.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout">Keep-alive timeout (custom origins only)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"""

origin_keepalive_timeout instance-attribute

origin_keepalive_timeout: NotRequired[integer]

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 instance-attribute

origin_read_timeout: NotRequired[integer]

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.

owner_account_id instance-attribute

owner_account_id: NotRequired[string]

The account ID of the Amazon Web Services account that owns the VPC origin.

vpc_origin_id instance-attribute

vpc_origin_id: string

The VPC origin ID.