AWS SDK for .NET Documentation
CustomOrigin Class
AmazonAmazon.CloudFront_2012_03_15.ModelCustomOrigin Did this page help you?   Yes   No    Tell us about it...
Custom origin information to associate with the distribution.
Declaration Syntax
C#
public class CustomOrigin
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CustomOrigin()()()()
Initializes a new instance of the CustomOrigin class.

CustomOrigin(String)
Initializes a new instance of the CustomOrigin class.

DNSName
Gets or sets the origin to associate with the distribution. For example: www.example.com.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HttpPort
Gets or sets the HTTP port.

HttpsPort
Gets or sets the HTTPS port.

ProtocolPolicy
Gets or sets the origin protocol policy to apply to your origin. If HttpOnly is specified, CloudFront will use HTTP only to access the origin. If MatchViewer is specified, CloudFront will fetch from your origin using HTTP or HTTPS, based on the protocol of the viewer request.

ToString()()()() (Overrides Object.ToString()()()().)
WithDNSName(String) Obsolete.
Sets the origin to associate with the distribution. For example: www.example.com. This instance is returned to allow method chaining.

WithHttpPort(Int32) Obsolete.
Sets the HTTP port. This instance is returned to allow method chaining.

WithHttpsPort(Int32) Obsolete.
Sets the HTTPS port. This instance is returned to allow method chaining.

WithProtocolPolicy(OriginProtocolPolicy) Obsolete.
Sets the origin protocol policy to apply to your origin. If HttpOnly is specified, CloudFront will use HTTP only to access the origin. If MatchViewer is specified, CloudFront will fetch from your origin using HTTP or HTTPS, based on the protocol of the viewer request. This instance is returned to allow method chaining.

Inheritance Hierarchy
Object
CustomOrigin

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)