Interface LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.805Z")
@Stability(Stable)
public interface LoggingOptions
extends software.amazon.jsii.JsiiSerializable
Information about logs for the build project.
A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
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 forLoggingOptionsstatic final classAn implementation forLoggingOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingOptions.Builderbuilder()default CloudWatchLoggingOptionsInformation about Amazon CloudWatch Logs for a build project.default S3LoggingOptionsgetS3()Information about logs built to an S3 bucket for a build project.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatch
Information about Amazon CloudWatch Logs for a build project.Default: - enabled
-
getS3
Information about logs built to an S3 bucket for a build project.Default: - disabled
-
builder
- Returns:
- a
LoggingOptions.BuilderofLoggingOptions
-