Class S3LoggingOptions
Information about logs built to an S3 bucket for a build project.
Inheritance
System.Object
S3LoggingOptions
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3LoggingOptions : Object, IS3LoggingOptions
Syntax (vb)
Public Class S3LoggingOptions
Inherits Object
Implements IS3LoggingOptions
Remarks
ExampleMetadata: infused
Examples
new Project(this, "Project", new ProjectProps {
Logging = new LoggingOptions {
S3 = new S3LoggingOptions {
Bucket = new Bucket(this, "LogBucket")
}
}
});
Synopsis
Constructors
S3LoggingOptions() |
Properties
Bucket | The S3 Bucket to send logs to. |
Enabled | The current status of the logs in Amazon CloudWatch Logs for a build project. |
Encrypted | Encrypt the S3 build log output. |
Prefix | The path prefix for S3 logs. |
Constructors
S3LoggingOptions()
public S3LoggingOptions()
Properties
Bucket
Enabled
The current status of the logs in Amazon CloudWatch Logs for a build project.
public Nullable<bool> Enabled { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Encrypted
Encrypt the S3 build log output.
public Nullable<bool> Encrypted { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Prefix
The path prefix for S3 logs.
public string Prefix { get; set; }
Property Value
System.String
Remarks
Default: - no prefix