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.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class Origin : Object
The Origin type exposes the following members
Name | Description | |
---|---|---|
Origin() |
Name | Type | Description | |
---|---|---|---|
CustomOriginConfig | Amazon.CloudFront.Model.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 | System.String | 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. | |
Id | System.String | 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. | |
OriginPath | System.String | Gets and sets the property OriginPath. An optional element that causes CloudFront to request your content from a directory in your Amazon S3 bucket or your custom origin. When you include the OriginPath element, specify the directory name, beginning with a /. CloudFront appends the directory name to the value of DomainName. | |
S3OriginConfig | Amazon.CloudFront.Model.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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8