Interface S3LoggingOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
S3LoggingOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.846Z") @Stability(Stable) public interface S3LoggingOptions extends software.amazon.jsii.JsiiSerializable
Information about logs built to an S3 bucket for a build project.

Example:

 Project.Builder.create(this, "Project")
         .logging(LoggingOptions.builder()
                 .s3(S3LoggingOptions.builder()
                         .bucket(new Bucket(this, "LogBucket"))
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getBucket

      @Stability(Stable) @NotNull IBucket getBucket()
      The S3 Bucket to send logs to.
    • getEnabled

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

      Default: true

    • getEncrypted

      @Stability(Stable) @Nullable default Boolean getEncrypted()
      Encrypt the S3 build log output.

      Default: true

    • getPrefix

      @Stability(Stable) @Nullable default String getPrefix()
      The path prefix for S3 logs.

      Default: - no prefix

    • builder

      @Stability(Stable) static S3LoggingOptions.Builder builder()
      Returns:
      a S3LoggingOptions.Builder of S3LoggingOptions