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 distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.

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

Gets and sets the property ActiveTrustedKeyGroups.

This field contains a list of key groups and the public keys in each key group that CloudFront can use to verify the signatures of signed URLs or signed cookies.

Public Property ActiveTrustedSigners Amazon.CloudFront.Model.ActiveTrustedSigners

Gets and sets the property ActiveTrustedSigners.

We recommend using TrustedKeyGroups instead of TrustedSigners.

This field contains a list of Amazon Web Services account IDs and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs or signed cookies.

Public Property AliasICPRecordals System.Collections.Generic.List<Amazon.CloudFront.Model.AliasICPRecordal>

Gets and sets the property AliasICPRecordals.

Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions.

For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.

Public Property ARN System.String

Gets and sets the property ARN.

The distribution's Amazon Resource Name (ARN).

Public Property DistributionConfig Amazon.CloudFront.Model.DistributionConfig

Gets and sets the property DistributionConfig.

The distribution's configuration.

Public Property DomainName System.String

Gets and sets the property DomainName.

The distribution's CloudFront domain name. For example: d111111abcdef8.cloudfront.net.

Public Property Id System.String

Gets and sets the property Id.

The distribution's identifier. For example: E1U5RQF7T870K0.

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 when the distribution was last modified.

Public Property Status System.String

Gets and sets the property Status.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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