@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:26.383Z") @Stability(value=Experimental) public interface CloudWatchLoggingOptions extends software.amazon.jsii.JsiiSerializable
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 |
CloudWatchLoggingOptions.Builder
A builder for
CloudWatchLoggingOptions |
static class |
CloudWatchLoggingOptions.Jsii$Proxy
An implementation for
CloudWatchLoggingOptions |
| Modifier and Type | Method and Description |
|---|---|
static CloudWatchLoggingOptions.Builder |
builder() |
default Boolean |
getEnabled()
(experimental) The current status of the logs in Amazon CloudWatch Logs for a build project.
|
default ILogGroup |
getLogGroup()
(experimental) The Log Group to send logs to.
|
default String |
getPrefix()
(experimental) The prefix of the stream name of the Amazon CloudWatch Logs.
|
@Stability(value=Experimental) @Nullable default Boolean getEnabled()
Default: true
@Stability(value=Experimental) @Nullable default ILogGroup getLogGroup()
Default: - no log group specified
@Stability(value=Experimental) @Nullable default String getPrefix()
Default: - no prefix
@Stability(value=Experimental) static CloudWatchLoggingOptions.Builder builder()
CloudWatchLoggingOptions.Builder of CloudWatchLoggingOptionsCopyright © 2022. All rights reserved.