Interface CfnDistribution.IVpcOriginConfigProperty
An Amazon CloudFront VPC origin configuration.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpcOriginConfigProperty
Syntax (vb)
Public Interface IVpcOriginConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var vpcOriginConfigProperty = new VpcOriginConfigProperty {
VpcOriginId = "vpcOriginId",
// the properties below are optional
OriginKeepaliveTimeout = 123,
OriginReadTimeout = 123
};
Synopsis
Properties
Origin |
Specifies how long, in seconds, CloudFront persists its connection to the origin. |
Origin |
Specifies how long, in seconds, CloudFront waits for a response from the origin. |
Vpc |
The VPC origin ID. |
Properties
OriginKeepaliveTimeout
Specifies how long, in seconds, CloudFront persists its connection to the origin.
virtual Nullable<double> OriginKeepaliveTimeout { get; }
Property Value
System.
Remarks
The minimum timeout is 1 second, the maximum is 60 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 .
Default: - 5
OriginReadTimeout
Specifies how long, in seconds, CloudFront waits for a response from the origin.
virtual Nullable<double> OriginReadTimeout { get; }
Property Value
System.
Remarks
This is also known as the origin response timeout . The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide .
Default: - 30
VpcOriginId
The VPC origin ID.
string VpcOriginId { get; }
Property Value
System.