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
cloudWatchCloudWatchLoggingOptionscloud_watchCloudWatchLoggingOptionscloudWatchCloudWatchLoggingOptionsCloudWatchCloudWatchLoggingOptionsCloudWatchCloudWatchLoggingOptions= enabled#Information about Amazon CloudWatch Logs for a build project.
s3S3LoggingOptionss3S3LoggingOptionss3S3LoggingOptionsS3S3LoggingOptionsS3S3LoggingOptions= disabled#Information about logs built to an S3 bucket for a build project.