Interface CfnProject.S3LogsConfigProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnProject.S3LogsConfigProperty extends
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.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 S3LogsConfigProperty s3LogsConfigProperty = S3LogsConfigProperty.builder()
         // the properties below are optional
  • 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()
      a CfnProject.S3LogsConfigProperty.Builder of CfnProject.S3LogsConfigProperty