Skip to content
v2.275.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 ​

enabledoptionalbooleanenabledoptionalboolenabledoptionalBooleanEnabledoptionalboolEnabledoptional*bool= true#
The current status of the logs in Amazon CloudWatch Logs for a build project.
logGroupoptionalILogGrouplog_groupoptionalILogGrouplogGroupoptionalILogGroupLogGroupoptionalILogGroupLogGroupoptionalILogGroup#
The Log Group to send logs to.

Default: no log group specified

prefixoptionalstringprefixoptionalstrprefixoptionalStringPrefixoptionalstringPrefixoptional*string#
The prefix of the stream name of the Amazon CloudWatch Logs.

Default: no prefix