@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:20:01.170Z")
public interface LoggingOptions
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();
Modifier and Type | Interface and Description |
---|---|
static class |
LoggingOptions.Builder
A builder for
LoggingOptions |
static class |
LoggingOptions.Jsii$Proxy
An implementation for
LoggingOptions |
Modifier and Type | Method and Description |
---|---|
static LoggingOptions.Builder |
builder() |
default CloudWatchLoggingOptions |
getCloudWatch()
Information about Amazon CloudWatch Logs for a build project.
|
default S3LoggingOptions |
getS3()
Information about logs built to an S3 bucket for a build project.
|
default CloudWatchLoggingOptions getCloudWatch()
Default: - enabled
default S3LoggingOptions getS3()
Default: - disabled
static LoggingOptions.Builder builder()
LoggingOptions.Builder
of LoggingOptions