AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy


Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z


public class Diagnostics

The Diagnostics type exposes the following members


Public Method Diagnostics()


Public Property ErrorCode Amazon.CodeDeploy.LifecycleErrorCode

Gets and sets the property ErrorCode.

The associated error code:

  • Success: The specified script ran.

  • ScriptMissing: The specified script was not found in the specified location.

  • ScriptNotExecutable: The specified script is not a recognized executable file type.

  • ScriptTimedOut: The specified script did not finish running in the specified time period.

  • ScriptFailed: The specified script failed to run as expected.

  • UnknownError: The specified script did not run for an unknown reason.

Public Property LogTail System.String

Gets and sets the property LogTail.

The last portion of the diagnostic log.

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

Public Property Message System.String

Gets and sets the property Message.

The message associated with the error.

Public Property ScriptName System.String

Gets and sets the property ScriptName.

The name of the script.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms