AWS SDK Version 3 for .NET
API Reference

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.

A summary of the information about a CloudFront distribution.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.DistributionSummary

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class DistributionSummary

The DistributionSummary type exposes the following members

Constructors

NameDescription
Public Method DistributionSummary()

Empty constructor used to set properties independently even when a simple constructor is available

Properties

NameTypeDescription
Public Property Aliases Amazon.CloudFront.Model.Aliases

Gets and sets the property Aliases.

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

Public Property ARN System.String

Gets and sets the property ARN.

The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

Public Property CacheBehaviors Amazon.CloudFront.Model.CacheBehaviors

Gets and sets the property CacheBehaviors.

A complex type that contains zero or more CacheBehavior elements.

Public Property Comment System.String

Gets and sets the property Comment.

The comment originally specified when this distribution was created.

Public Property CustomErrorResponses Amazon.CloudFront.Model.CustomErrorResponses

Gets and sets the property CustomErrorResponses.

A complex type that contains zero or more CustomErrorResponses elements.

Public Property DefaultCacheBehavior Amazon.CloudFront.Model.DefaultCacheBehavior

Gets and sets the property DefaultCacheBehavior.

A complex type that describes the default cache behavior if you do not specify a CacheBehavior element or if files don't match any of the values of PathPattern in CacheBehavior elements. You must create exactly one default cache behavior.

Public Property DomainName System.String

Gets and sets the property DomainName.

The domain name that corresponds to the distribution. For example: d604721fxaaqy9.cloudfront.net.

Public Property Enabled System.Boolean

Gets and sets the property Enabled.

Whether the distribution is enabled to accept user requests for content.

Public Property HttpVersion Amazon.CloudFront.HttpVersion

Gets and sets the property HttpVersion.

Specify the maximum HTTP version that you want viewers to use to communicate with CloudFront. The default value for new web distributions is http2. Viewers that don't support HTTP/2 will automatically use an earlier version.

Public Property Id System.String

Gets and sets the property Id.

The identifier for the distribution. For example: EDFDVBD632BHDS5.

Public Property IsIPV6Enabled System.Boolean

Gets and sets the property IsIPV6Enabled.

Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

Public Property LastModifiedTime System.DateTime

Gets and sets the property LastModifiedTime.

The date and time the distribution was last modified.

Public Property Origins Amazon.CloudFront.Model.Origins

Gets and sets the property Origins.

A complex type that contains information about origins for this distribution.

Public Property PriceClass Amazon.CloudFront.PriceClass

Gets and sets the property PriceClass.

Public Property Restrictions Amazon.CloudFront.Model.Restrictions

Gets and sets the property Restrictions.

Public Property Status System.String

Gets and sets the property Status.

The current status of the distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

Public Property ViewerCertificate Amazon.CloudFront.Model.ViewerCertificate

Gets and sets the property ViewerCertificate.

Public Property WebACLId System.String

Gets and sets the property WebACLId.

The Web ACL Id (if any) associated with the distribution.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms