Class: Aws::CloudFront::Types::VpcOriginConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

An Amazon CloudFront VPC origin configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#origin_keepalive_timeoutInteger

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*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginKeepaliveTimeout

Returns:

  • (Integer)


16074
16075
16076
16077
16078
16079
16080
# File 'lib/aws-sdk-cloudfront/types.rb', line 16074

class VpcOriginConfig < Struct.new(
  :vpc_origin_id,
  :origin_read_timeout,
  :origin_keepalive_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#origin_read_timeoutInteger

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*.

[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout

Returns:

  • (Integer)


16074
16075
16076
16077
16078
16079
16080
# File 'lib/aws-sdk-cloudfront/types.rb', line 16074

class VpcOriginConfig < Struct.new(
  :vpc_origin_id,
  :origin_read_timeout,
  :origin_keepalive_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_origin_idString

The VPC origin ID.

Returns:

  • (String)


16074
16075
16076
16077
16078
16079
16080
# File 'lib/aws-sdk-cloudfront/types.rb', line 16074

class VpcOriginConfig < Struct.new(
  :vpc_origin_id,
  :origin_read_timeout,
  :origin_keepalive_timeout)
  SENSITIVE = []
  include Aws::Structure
end