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.

The distribution's information.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.Distribution

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

Syntax

C#
public class Distribution

The Distribution type exposes the following members

Constructors

NameDescription
Public Method Distribution()

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

Public Method Distribution(string, string, string)

Instantiates Distribution with the parameterized properties

Properties

NameTypeDescription
Public Property ActiveTrustedSigners Amazon.CloudFront.Model.ActiveTrustedSigners

Gets and sets the property ActiveTrustedSigners.

CloudFront automatically adds this element to the response only if you've set up the distribution to serve private content with signed URLs. The element lists the key pair IDs that CloudFront is aware of for each trusted signer. The Signer child element lists the AWS account number of the trusted signer (or an empty Self element if the signer is you). The Signer element also includes the IDs of any active key pairs associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create working signed URLs.

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 DistributionConfig Amazon.CloudFront.Model.DistributionConfig

Gets and sets the property DistributionConfig.

The current configuration information for the distribution. Send a GET request to the /CloudFront API version/distribution ID/config resource.

Public Property DomainName System.String

Gets and sets the property DomainName.

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

Public Property Id System.String

Gets and sets the property Id.

The identifier for the distribution. For example: EDFDVBD632BHDS5.

Public Property InProgressInvalidationBatches System.Int32

Gets and sets the property InProgressInvalidationBatches.

The number of invalidation batches currently in progress.

Public Property LastModifiedTime System.DateTime

Gets and sets the property LastModifiedTime.

The date and time the distribution was last modified.

Public Property Status System.String

Gets and sets the property Status.

This response element indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated to all CloudFront edge locations.

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