Interface CloudWatchLoggingOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.768Z") @Stability(Stable) public interface CloudWatchLoggingOptions extends
Information about logs built to a CloudWatch Log Group for a build project.


 Project.Builder.create(this, "Project")
                         .logGroup(new LogGroup(this, "MyLogGroup"))
  • Method Details

    • getEnabled

      @Stability(Stable) @Nullable default Boolean getEnabled()
      The current status of the logs in Amazon CloudWatch Logs for a build project.

      Default: true

    • getLogGroup

      @Stability(Stable) @Nullable default ILogGroup getLogGroup()
      The Log Group to send logs to.

      Default: - no log group specified

    • getPrefix

      @Stability(Stable) @Nullable default String getPrefix()
      The prefix of the stream name of the Amazon CloudWatch Logs.

      Default: - no prefix

    • builder

      @Stability(Stable) static CloudWatchLoggingOptions.Builder builder()
      a CloudWatchLoggingOptions.Builder of CloudWatchLoggingOptions