Interface ICloudWatchLoggingOptions
Information about logs built to a CloudWatch Log Group for a build project.
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICloudWatchLoggingOptions
Syntax (vb)
Public Interface ICloudWatchLoggingOptions
Remarks
ExampleMetadata: infused
Examples
new Project(this, "Project", new ProjectProps {
Logging = new LoggingOptions {
CloudWatch = new CloudWatchLoggingOptions {
LogGroup = new LogGroup(this, "MyLogGroup")
}
}
});
Synopsis
Properties
Enabled | The current status of the logs in Amazon CloudWatch Logs for a build project. |
Log |
The Log Group to send logs to. |
Prefix | The prefix of the stream name of the Amazon CloudWatch Logs. |
Properties
Enabled
The current status of the logs in Amazon CloudWatch Logs for a build project.
virtual Nullable<bool> Enabled { get; }
Property Value
System.
Remarks
Default: true
LogGroup
The Log Group to send logs to.
virtual ILogGroup LogGroup { get; }
Property Value
Remarks
Default: - no log group specified
Prefix
The prefix of the stream name of the Amazon CloudWatch Logs.
virtual string Prefix { get; }
Property Value
System.
Remarks
Default: - no prefix