Interface CloudWatchLoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudWatchLoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:36.645Z")
@Stability(Stable)
public interface CloudWatchLoggingOptions
extends software.amazon.jsii.JsiiSerializable
Information about logs built to a CloudWatch Log Group for a build project.
Example:
Project.Builder.create(this, "Project")
.logging(LoggingOptions.builder()
.cloudWatch(CloudWatchLoggingOptions.builder()
.logGroup(new LogGroup(this, "MyLogGroup"))
.build())
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudWatchLoggingOptionsstatic final classAn implementation forCloudWatchLoggingOptions -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
The current status of the logs in Amazon CloudWatch Logs for a build project.Default: true
-
getLogGroup
The Log Group to send logs to.Default: - no log group specified
-
getPrefix
The prefix of the stream name of the Amazon CloudWatch Logs.Default: - no prefix
-
builder
- Returns:
- a
CloudWatchLoggingOptions.BuilderofCloudWatchLoggingOptions
-