Interface CloudWatchLoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudWatchLoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:15.866Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCloudWatchLoggingOptions
static final class
An 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.Builder
ofCloudWatchLoggingOptions
-