AWS SDK Version 2 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.

.NET Framework 3.5
 
Instantiates DistributionConfig with the parameterized properties

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public DistributionConfig(
         String callerReference,
         Boolean enabled
)

Parameters

callerReference
Type: System.String

A unique number that ensures the request can't be replayed. If the CallerReference is new (no matter the content of the DistributionConfig object), a new distribution is created. If the CallerReference is a value you already sent in a previous request to create a distribution, and the content of the DistributionConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create a distribution but the content of the DistributionConfig is different from the original request, CloudFront returns a DistributionAlreadyExists error.

enabled
Type: System.Boolean

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

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8