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.

Information about a build.

Inheritance Hierarchy

System.Object
  Amazon.CodeBuild.Model.Build

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

Syntax

C#
public class Build

The Build type exposes the following members

Constructors

NameDescription
Public Method Build()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon Resource Name (ARN) of the build.

Public Property Artifacts Amazon.CodeBuild.Model.BuildArtifacts

Gets and sets the property Artifacts.

Information about the output artifacts for the build.

Public Property BuildComplete System.Boolean

Gets and sets the property BuildComplete.

Whether the build has finished. True if completed; otherwise, false.

Public Property BuildStatus Amazon.CodeBuild.StatusType

Gets and sets the property BuildStatus.

The current status of the build. Valid values include:

  • FAILED: The build failed.

  • FAULT: The build faulted.

  • IN_PROGRESS: The build is still in progress.

  • STOPPED: The build stopped.

  • SUCCEEDED: The build succeeded.

  • TIMED_OUT: The build timed out.

Public Property CurrentPhase System.String

Gets and sets the property CurrentPhase.

The current build phase.

Public Property EndTime System.DateTime

Gets and sets the property EndTime.

When the build process ended, expressed in Unix time format.

Public Property Environment Amazon.CodeBuild.Model.ProjectEnvironment

Gets and sets the property Environment.

Information about the build environment for this build.

Public Property Id System.String

Gets and sets the property Id.

The unique ID for the build.

Public Property Initiator System.String

Gets and sets the property Initiator.

The entity that started the build. Valid values include:

  • If AWS CodePipeline started the build, the pipeline's name (for example, codepipeline/my-demo-pipeline).

  • If an AWS Identity and Access Management (IAM) user started the build, the user's name (for example MyUserName).

  • If the Jenkins plugin for AWS CodeBuild started the build, the string CodeBuild-Jenkins-Plugin.

Public Property Logs Amazon.CodeBuild.Model.LogsLocation

Gets and sets the property Logs.

Information about the build's logs in Amazon CloudWatch Logs.

Public Property Phases System.Collections.Generic.List<Amazon.CodeBuild.Model.BuildPhase>

Gets and sets the property Phases.

Information about all previous build phases that are completed and information about any current build phase that is not yet complete.

Public Property ProjectName System.String

Gets and sets the property ProjectName.

The name of the build project.

Public Property Source Amazon.CodeBuild.Model.ProjectSource

Gets and sets the property Source.

Information about the source code to be built.

Public Property SourceVersion System.String

Gets and sets the property SourceVersion.

Any version identifier for the version of the source code to be built.

Public Property StartTime System.DateTime

Gets and sets the property StartTime.

When the build process started, expressed in Unix time format.

Public Property TimeoutInMinutes System.Int32

Gets and sets the property TimeoutInMinutes.

How long, in minutes, for AWS CodeBuild to wait before timing out this build if it does not get marked as completed.

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