AWS SDK Version 3 for .NET
API Reference

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 customer origin.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.CustomOriginConfig

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class CustomOriginConfig

The CustomOriginConfig type exposes the following members

Constructors

NameDescription
Public Method CustomOriginConfig()

Properties

NameTypeDescription
Public Property HTTPPort System.Int32

Gets and sets the property HTTPPort.

The HTTP port the custom origin listens on.

Public Property HTTPSPort System.Int32

Gets and sets the property HTTPSPort.

The HTTPS port the custom origin listens on.

Public Property OriginKeepaliveTimeout System.Int32

Gets and sets the property OriginKeepaliveTimeout.

You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.

If you need to increase the maximum time limit, contact the AWS Support Center.

Public Property OriginProtocolPolicy Amazon.CloudFront.OriginProtocolPolicy

Gets and sets the property OriginProtocolPolicy.

The origin protocol policy to apply to your origin.

Public Property OriginReadTimeout System.Int32

Gets and sets the property OriginReadTimeout.

You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.

If you need to increase the maximum time limit, contact the AWS Support Center.

Public Property OriginSslProtocols Amazon.CloudFront.Model.OriginSslProtocols

Gets and sets the property OriginSslProtocols.

The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms