A complex type that describes the Amazon S3 bucket or the HTTP server (for example,
a web server) from which CloudFront gets your files.You must create at least one
origin.
Declaration Syntax
C# |
public class Origin
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Origin()()()() | Initializes a new instance of the Origin class | |
CustomOriginConfig |
Gets and sets the property CustomOriginConfig. A complex type that contains information
about a custom origin. If the origin is an Amazon S3 bucket, use the S3OriginConfig
element instead.
| |
DomainName |
Gets and sets the property DomainName. Amazon S3 origins: The DNS name of the Amazon
S3 bucket from which you want CloudFront to get objects for this origin, for example,
myawsbucket.s3.amazonaws.com. Custom origins: The DNS domain name for the HTTP
server from which you want CloudFront to get objects for this origin, 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.) | |
Id |
Gets and sets the property Id. A unique identifier for the origin. The value of Id
must be unique within the distribution. You use the value of Id when you create
a cache behavior. The Id identifies the origin that CloudFront routes a request
to when the request matches the path pattern for that cache behavior.
| |
S3OriginConfig |
Gets and sets the property S3OriginConfig. A complex type that contains information
about the Amazon S3 origin. If the origin is a custom origin, use the CustomOriginConfig
element instead.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithCustomOriginConfig(CustomOriginConfig) | Obsolete.
Sets the CustomOriginConfig property
| |
WithDomainName(String) | Obsolete.
Sets the DomainName property
| |
WithId(String) | Obsolete.
Sets the Id property
| |
WithS3OriginConfig(S3OriginConfig) | Obsolete.
Sets the S3OriginConfig property
|
Inheritance Hierarchy
Object | |
Origin |