Custom origin information to associate with the distribution.
Declaration Syntax
C# |
public class CustomOrigin
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
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) | (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 |