Amazon CodeDeploy · Schema

Diagnostics

Diagnostic information about executable scripts that are part of a deployment.

AmazonDeploymentDevOpsCI/CDRelease ManagementBlue/Green Deployment

Properties

Name Type Description
errorCode object
scriptName object
message object
logTail object
View JSON Schema on GitHub

JSON Schema

amazon-codedeploy-diagnostics-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-schema/amazon-codedeploy-diagnostics-schema.json",
  "title": "Diagnostics",
  "description": "Diagnostic information about executable scripts that are part of a deployment.",
  "type": "object",
  "properties": {
    "errorCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LifecycleErrorCode"
        },
        {
          "description": "<p>The associated error code:</p> <ul> <li> <p>Success: The specified script ran.</p> </li> <li> <p>ScriptMissing: The specified script was not found in the specified location.</p> </li> <li> <p>ScriptNotExecutable: The specified script is not a recognized executable file type.</p> </li> <li> <p>ScriptTimedOut: The specified script did not finish running in the specified time period.</p> </li> <li> <p>ScriptFailed: The specified script failed to run as expected.</p> </li> <li> <p>UnknownError: The specified script did not run for an unknown reason.</p> </li> </ul>"
        }
      ]
    },
    "scriptName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ScriptName"
        },
        {
          "description": "The name of the script."
        }
      ]
    },
    "message": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LifecycleMessage"
        },
        {
          "description": "The message associated with the error."
        }
      ]
    },
    "logTail": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LogTail"
        },
        {
          "description": "<p>The last portion of the diagnostic log.</p> <p>If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.</p>"
        }
      ]
    }
  }
}