Skip to content
v2.273.0

CloudWatchLoggingOptions Struct ​

Information about logs built to a CloudWatch Log Group for a build project.

Example ​

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

Properties ​

enabledbooleanenabledboolenabledBooleanEnabledboolEnabled*bool= true#
The current status of the logs in Amazon CloudWatch Logs for a build project.
logGroupILogGrouplog_groupILogGrouplogGroupILogGroupLogGroupILogGroupLogGroupILogGroup= no log group specified#
The Log Group to send logs to.
prefixstringprefixstrprefixStringPrefixstringPrefix*string= no prefix#
The prefix of the stream name of the Amazon CloudWatch Logs.