View a markdown version of this page

AWS::ElasticBeanstalk::ApplicationVersion BuildConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ElasticBeanstalk::ApplicationVersion BuildConfiguration

Settings for an Amazon CodeBuild build.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ArtifactName" : String, "CodeBuildServiceRole" : String, "ComputeType" : String, "Image" : String, "TimeoutInMinutes" : Integer }

YAML

ArtifactName: String CodeBuildServiceRole: String ComputeType: String Image: String TimeoutInMinutes: Integer

Properties

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.

Required: No

Type: String

Update requires: Replacement

CodeBuildServiceRole

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

Required: Yes

Type: String

Pattern: .*\S.*

Update requires: Replacement

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

Required: No

Type: String

Allowed values: BUILD_GENERAL1_SMALL | BUILD_GENERAL1_MEDIUM | BUILD_GENERAL1_LARGE

Update requires: Replacement

Image

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

Required: Yes

Type: String

Pattern: .*\S.*

Update requires: Replacement

TimeoutInMinutes

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

Required: No

Type: Integer

Update requires: Replacement