Interface ILoggingOptions
Information about logs for the build project.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILoggingOptions
Syntax (vb)
Public Interface ILoggingOptions
Remarks
A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
ExampleMetadata: infused
Examples
new Project(this, "Project", new ProjectProps {
Logging = new LoggingOptions {
CloudWatch = new CloudWatchLoggingOptions {
LogGroup = new LogGroup(this, "MyLogGroup")
}
}
});
Synopsis
Properties
CloudWatch | Information about Amazon CloudWatch Logs for a build project. |
S3 | Information about logs built to an S3 bucket for a build project. |
Properties
CloudWatch
Information about Amazon CloudWatch Logs for a build project.
virtual ICloudWatchLoggingOptions CloudWatch { get; }
Property Value
Remarks
Default: - enabled
S3
Information about logs built to an S3 bucket for a build project.
virtual IS3LoggingOptions S3 { get; }
Property Value
Remarks
Default: - disabled