Information about logs for the build project.
Inheritance
LoggingOptions
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LoggingOptions : ILoggingOptions
Syntax (vb)
Public Class LoggingOptions Implements ILoggingOptions
Examples
new Project(this, "Project", new ProjectProps {
Logging = new LoggingOptions {
CloudWatch = new CloudWatchLoggingOptions {
LogGroup = new LogGroup(this, "MyLogGroup")
}
}
});
Synopsis
Constructors
Properties
| CloudWatch | Information about Amazon CloudWatch Logs for a build project. |
| S3 | Information about logs built to an S3 bucket for a build project. |
Constructors
LoggingOptions()
Information about logs for the build project.
Examples
new Project(this, "Project", new ProjectProps {
Logging = new LoggingOptions {
CloudWatch = new CloudWatchLoggingOptions {
LogGroup = new LogGroup(this, "MyLogGroup")
}
}
});
Properties
CloudWatch
Information about Amazon CloudWatch Logs for a build project.
public ICloudWatchLoggingOptions? CloudWatch { get; set; }
Property Value
S3
Information about logs built to an S3 bucket for a build project.
public IS3LoggingOptions? S3 { get; set; }