The CloudFrontDistributionConfig complex type describes a distribution's configuration information.
It is used as a request element in Create a Distribution and Set a Distribution's Configuration.
It is used as a response element in Get a Distribution's Information and Get a Distribution's
Configuration.
A distribution configuration objects consists of the following items:
- Caller Reference
- Origin S3 Bucket
- Comment
- A list of CNAMEs for the distribution
- Enabled flag
- Bucket Logging details
- CloudFront Origin Access Identity associated with the distribution. This is a virtual identity you use to let CloudFront fetch private content from your bucket.
- The AWS Accounts that have URL signing privileges for Private Content.

C# |
[SerializableAttribute] public class CloudFrontDistributionConfig : CloudFrontDistributionConfigBase

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | CloudFrontDistributionConfig()()()() | Initializes a new instance of the CloudFrontDistributionConfig class |
![]() | CallerReference |
Gets and sets the CallerReference property.
A unique number that ensures the request can't be replayed.
If the CallerReference is new (no matter the content of the CloudFrontDistributionConfig object),
a new distribution is created.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | CNAME |
Gets and Sets the CNAME property.
A CNAME alias you want to associate with this distribution. You can have up to
10 CNAME aliases per distribution. For more information, refer:
http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html (Inherited from CloudFrontDistributionConfigBase.) |
![]() | Comment |
Gets and sets the Comment property.
Any comments you want to include about the distribution.
The maximum length of the comment is 128 characters
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | CustomOrigin |
Gets and sets the CustomOrigin property.
The CustomOrigin contains the information for a non Amazon S3 Bucket origin.
|
![]() | DefaultRootObject |
Gets and sets the DefaultRootObject property.
Defines the object that will be returned for requests made to the root URL of
the distribution.
|
![]() | Enabled |
Gets and sets the Enabled property.
Whether the distribution is enabled to accept
end user requests for content.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ETag |
Gets and sets the ETag property of the Distribution Config.
The ETag is the current version of the Distribution's
Configuration.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | Logging |
Gets and Sets the Logging property.
A complex type that controls whether access logs are written for the
distribution. For more information, refer:
http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html (Inherited from CloudFrontDistributionConfigBase.) |
![]() | Origin | Obsolete.
Gets and sets the Origin property.
The Amazon S3 bucket to associate with the distribution.
For example: mybucket.s3.amazonaws.com.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | OriginAccessIdentity | Obsolete.
Gets and sets the OriginAccessIdentity property.
The CloudFront origin access identity to associate with the distribution.
If you want the distribution to serve private content, include this element;
if you want the distribution to serve public content, remove this element.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | RequiredProtocols |
Gets and sets the RequiredProtocols property.
Defines the protocols required for your distribution. Use this element to restrict
access to your distribution solely to HTTPS requests. Without this element,
CloudFront can use any available protocol to serve the request.
For a list of possible protocol values, refer
Protocol.
|
![]() | S3Origin |
Gets and sets the S3Origin property.
The S3Origin contains the Amazon S3 bucket that will be used for the Distribution.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | ToString()()()() |
Creates an XML representation of the CloudFront
distribution configuration. The resulting XML
can be sent to CloudFront when creating or updating
a distribution.
(Overrides CloudFrontDistributionConfigBase.ToString()()()().) |
![]() | TrustedSigners |
Gets and sets the TrustedSigners property.
This specifies any AWS accounts you want to permit to create signed URLs for private content.
(Inherited from CloudFrontDistributionConfigBase.) |
![]() | WithCallerReference(String) | Obsolete.
Sets the CallerReference property
|
![]() | WithCNames(array<String>[]()[][]) | Obsolete.
Sets the CNAME property. If you set more than 10 CNAME aliases for a distribution,
a ![]() TooManyDistributionCNAMEs |
![]() | WithComment(String) | Obsolete.
Sets the Comment property.
|
![]() | WithCustomOrigin(CustomOrigin) | Obsolete.
Sets the CustomOrigin property.
The CustomOrigin contains the information for a non Amazon S3 Bucket origin.
This instance is returned to allow method chaining.
|
![]() | WithDefaultRootObject(String) | Obsolete.
Sets the DefaultRootObject property.
|
![]() | WithEnabled(Boolean) | Obsolete.
Sets the Enabled property
|
![]() | WithLogging(String, String) | Obsolete.
Sets the Logging property.
|
![]() | WithOrigin(String) | Obsolete.
Sets the Origin property.
|
![]() | WithOriginAccessIdentity(CloudFrontOriginAccessIdentity) | Obsolete.
Sets the OriginAccessIdentity property.
|
![]() | WithRequiredProtocols(array<Protocol>[]()[][]) | Obsolete.
Sets the RequiredProtocols property.
Defines the protocols required for your distribution. Use this element to restrict
access to your distribution solely to HTTPS requests. Without this element,
CloudFront can use any available protocol to serve the request.
For a list of possible protocol values, refer
Protocol.
|
![]() | WithTrustedSigners(UrlTrustedSigners) | Obsolete.
Sets the TrustedSigners property.
This specifies any AWS accounts you want to permit to create signed URLs for private content.
|

Object | ||
![]() | CloudFrontDistributionConfigBase | |
![]() | CloudFrontDistributionConfig |