Interface CfnProject.S3LogsConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProject.S3LogsConfigProperty.Jsii$Proxy
Enclosing class:
CfnProject

@Stability(Stable) public static interface CfnProject.S3LogsConfigProperty extends software.amazon.jsii.JsiiSerializable
S3Logs is a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for logs generated by an AWS CodeBuild build in an S3 bucket.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codebuild.*;
 S3LogsConfigProperty s3LogsConfigProperty = S3LogsConfigProperty.builder()
         .status("status")
         // the properties below are optional
         .encryptionDisabled(false)
         .location("location")
         .build();
 
  • Method Details

    • getStatus

      @Stability(Stable) @NotNull String getStatus()
      The current status of the S3 build logs. Valid values are:.

      • ENABLED : S3 build logs are enabled for this build project.
      • DISABLED : S3 build logs are not enabled for this build project.
    • getEncryptionDisabled

      @Stability(Stable) @Nullable default Object getEncryptionDisabled()
      Set to true if you do not want your S3 build log output encrypted.

      By default S3 build logs are encrypted.

    • getLocation

      @Stability(Stable) @Nullable default String getLocation()
      The ARN of an S3 bucket and the path prefix for S3 logs.

      If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .

    • builder

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