C# Class Amazon.CloudFront.Model.DistributionConfig

A distribution Configuration.

Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
DistributionConfig ( ) : System

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

DistributionConfig ( string callerReference, bool enabled ) : System

Instantiates DistributionConfig with the parameterized properties

Private Methods

Méthode Description
IsSetAliases ( ) : bool
IsSetCacheBehaviors ( ) : bool
IsSetCallerReference ( ) : bool
IsSetComment ( ) : bool
IsSetCustomErrorResponses ( ) : bool
IsSetDefaultCacheBehavior ( ) : bool
IsSetDefaultRootObject ( ) : bool
IsSetEnabled ( ) : bool
IsSetHttpVersion ( ) : bool
IsSetIsIPV6Enabled ( ) : bool
IsSetLogging ( ) : bool
IsSetOrigins ( ) : bool
IsSetPriceClass ( ) : bool
IsSetRestrictions ( ) : bool
IsSetViewerCertificate ( ) : bool
IsSetWebACLId ( ) : bool

Method Details

DistributionConfig() public méthode

Empty constructor used to set properties independently even when a simple constructor is available
public DistributionConfig ( ) : System
Résultat System

DistributionConfig() public méthode

Instantiates DistributionConfig with the parameterized properties
public DistributionConfig ( string callerReference, bool enabled ) : System
callerReference string A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution. If CallerReference is a value you already sent in a previous request to create a distribution, and if the content of the DistributionConfig is identical to the original request (ignoring white space), CloudFront returns the same the response that it returned to the original request. If 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 bool Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you do not want to enable logging when you create a distribution, or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted.
Résultat System