Skip to content
v2.273.0

LoggingOptions Struct ​

Information about logs for the build project.

A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.

Example ​

ts
new codebuild.Project(this, 'Project', {
  logging: {
    cloudWatch: {
      logGroup: new logs.LogGroup(this, `MyLogGroup`),
    }
  },
})

Properties ​

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