Interface S3LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3LoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:15.926Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3LoggingOptions
static final class
An implementation forS3LoggingOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3LoggingOptions.Builder
builder()
The S3 Bucket to send logs to.default Boolean
The current status of the logs in Amazon CloudWatch Logs for a build project.default Boolean
Encrypt the S3 build log output.default String
The 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.Builder
ofS3LoggingOptions
-