C# Class Amazon.CloudFront.Model.LoggingConfig

A complex type that controls whether access logs are written for the distribution.

Datei anzeigen Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
LoggingConfig ( ) : System

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

LoggingConfig ( string bucket, string prefix ) : System

Instantiates LoggingConfig with the parameterized properties

Private Methods

Method Description
IsSetBucket ( ) : bool
IsSetEnabled ( ) : bool
IsSetIncludeCookies ( ) : bool
IsSetPrefix ( ) : bool

Method Details

LoggingConfig() public method

Empty constructor used to set properties independently even when a simple constructor is available
public LoggingConfig ( ) : System
return System

LoggingConfig() public method

Instantiates LoggingConfig with the parameterized properties
public LoggingConfig ( string bucket, string prefix ) : System
bucket string The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.
prefix string An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you do not want to specify a prefix, you still must include an empty Prefix element in the Logging element.
return System