Interface S3LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3LoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:36.714Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forS3LoggingOptionsstatic final classAn implementation forS3LoggingOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic S3LoggingOptions.Builderbuilder()The S3 Bucket to send logs to.default BooleanThe current status of the logs in Amazon CloudWatch Logs for a build project.default BooleanEncrypt the S3 build log output.default StringThe path prefix for S3 logs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The S3 Bucket to send logs to. -
getEnabled
The current status of the logs in Amazon CloudWatch Logs for a build project.Default: true
-
getEncrypted
Encrypt the S3 build log output.Default: true
-
getPrefix
The path prefix for S3 logs.Default: - no prefix
-
builder
- Returns:
- a
S3LoggingOptions.BuilderofS3LoggingOptions
-