Interface LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-15T01:32:45.249Z")
@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 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
-