C# 클래스 Amazon.CloudFront.Model.DistributionConfig

A distribution Configuration.

파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DistributionConfig() 공개 메소드

Empty constructor used to set properties independently even when a simple constructor is available
public DistributionConfig ( ) : System
리턴 System

DistributionConfig() 공개 메소드

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.
리턴 System