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 Cache Amazon.CodeBuild.Model.ProjectCache

Gets and sets the property Cache.

Information about the cache for the build.

Public Property CurrentPhase System.String

Gets and sets the property CurrentPhase.

The current build phase.

Public Property EncryptionKey System.String

Gets and sets the property EncryptionKey.

The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.

This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias (using the format alias/alias-name).

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 NetworkInterface Amazon.CodeBuild.Model.NetworkInterface

Gets and sets the property NetworkInterface.

Describes a network interface.

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 AWS CodeBuild project.

Public Property ServiceRole System.String

Gets and sets the property ServiceRole.

The name of a service role used for this build.

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.

Public Property VpcConfig Amazon.CodeBuild.Model.VpcConfig

Gets and sets the property VpcConfig.

If your AWS CodeBuild project accesses resources in an Amazon VPC, you provide this parameter that identifies the VPC ID and the list of security group IDs and subnet IDs. The security groups and subnets must belong to the same VPC. You must provide at least one security group and one subnet ID.

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