Interface LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.828Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLoggingOptions
static final class
An implementation forLoggingOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingOptions.Builder
builder()
default CloudWatchLoggingOptions
Information about Amazon CloudWatch Logs for a build project.default S3LoggingOptions
getS3()
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.Builder
ofLoggingOptions
-