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.

Settings for an AWS CodeBuild build.

Inheritance Hierarchy

System.Object
  Amazon.ElasticBeanstalk.Model.BuildConfiguration

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

Syntax

C#
public class BuildConfiguration

The BuildConfiguration type exposes the following members

Constructors

NameDescription
Public Method BuildConfiguration()

Properties

NameTypeDescription
Public Property ArtifactName System.String

Gets and sets the property ArtifactName.

The name of the artifact of the CodeBuild build. If provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label-artifact-name.zip. If not provided, Elastic Beanstalk stores the build artifact in the S3 location S3-bucket/resources/application-name/codebuild/codebuild-version-label.zip.

Public Property CodeBuildServiceRole System.String

Gets and sets the property CodeBuildServiceRole.

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

Public Property ComputeType Amazon.ElasticBeanstalk.ComputeType

Gets and sets the property ComputeType.

Information about the compute resources the build project will use.

  • BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds

  • BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds

  • BUILD_GENERAL1_LARGE: Use up to 15 GB memory and 8 vCPUs for builds

Public Property Image System.String

Gets and sets the property Image.

The ID of the Docker image to use for this build project.

Public Property TimeoutInMinutes System.Int32

Gets and sets the property TimeoutInMinutes.

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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