Amazon CodeBuild · Schema

LogsConfig

Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both.

AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

Properties

Name Type Description
cloudWatchLogs object
s3Logs object
View JSON Schema on GitHub

JSON Schema

amazon-codebuild-logs-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-schema/amazon-codebuild-logs-config-schema.json",
  "title": "LogsConfig",
  "description": " Information about logs for a build project. These can be logs in CloudWatch Logs, built in a specified S3 bucket, or both. ",
  "type": "object",
  "properties": {
    "cloudWatchLogs": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CloudWatchLogsConfig"
        },
        {
          "description": " Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default. "
        }
      ]
    },
    "s3Logs": {
      "allOf": [
        {
          "$ref": "#/components/schemas/S3LogsConfig"
        },
        {
          "description": " Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default. "
        }
      ]
    }
  }
}