Skip to content
v2.274.0

S3LoggingOptions Struct ​

Information about logs built to an S3 bucket for a build project.

Example ​

ts
new codebuild.Project(this, 'Project', {
  logging: {
    s3: {
      bucket: new s3.Bucket(this, `LogBucket`)
    }
  },
})

Properties ​

bucketIBucketbucketIBucketbucketIBucketBucketIBucketBucketIBucketrequired#
The S3 Bucket to send logs to.
enabledoptionalbooleanenabledoptionalboolenabledoptionalBooleanEnabledoptionalboolEnabledoptional*bool= true#
The current status of the logs in Amazon CloudWatch Logs for a build project.
encryptedoptionalbooleanencryptedoptionalboolencryptedoptionalBooleanEncryptedoptionalboolEncryptedoptional*bool= true#
Encrypt the S3 build log output.
prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string#
The path prefix for S3 logs.

Default: no prefix