{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-diagnostics-structure.json", "name": "Diagnostics", "description": "Diagnostic information about executable scripts that are part of a deployment.", "type": "object", "properties": { "errorCode": { "allOf": [ { "$ref": "#/components/schemas/LifecycleErrorCode" }, { "description": "

The associated error code:

" } ] }, "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": "

The last portion of the diagnostic log.

If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.

" } ] } } }