Skip to content

CloudFront  >  Structures  >  VpcOriginConfig

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.

owner_account_id class-attribute instance-attribute
owner_account_id: str | None = ...

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

vpc_origin_id instance-attribute
vpc_origin_id: str

The VPC origin ID.