Amazon CodeBuild · JSON Structure

Amazon Codebuild Logs Config Structure

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: 2
AmazonCI/CDBuildContinuous IntegrationDevOpsTesting

LogsConfig is a JSON Structure definition published by Amazon CodeBuild, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

cloudWatchLogs s3Logs

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-logs-config-structure.json",
  "name": "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. "
        }
      ]
    }
  }
}