AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hostingis a custom origin.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class CustomOriginConfig
The CustomOriginConfig type exposes the following members
Name | Description | |
---|---|---|
CustomOriginConfig() |
Name | Type | Description | |
---|---|---|---|
HTTPPort | System.Int32 |
Gets and sets the property HTTPPort. The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on. |
|
HTTPSPort | System.Int32 |
Gets and sets the property HTTPSPort. The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on. |
|
OriginKeepaliveTimeout | System.Int32 |
Gets and sets the property OriginKeepaliveTimeout. Specifies how long, in seconds, CloudFront persists its connection to the origin. 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 Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide. |
|
OriginProtocolPolicy | Amazon.CloudFront.OriginProtocolPolicy |
Gets and sets the property OriginProtocolPolicy. Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:
|
|
OriginReadTimeout | System.Int32 |
Gets and sets the property OriginReadTimeout. 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 60 seconds, and the default (if you don't specify otherwise) is 30 seconds. For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide. |
|
OriginSslProtocols | Amazon.CloudFront.Model.OriginSslProtocols |
Gets and sets the property OriginSslProtocols.
Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your
origin over HTTPS. Valid values include For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5