/AWS1/CL_EBNBUILDCONFIGURATION¶
Settings for an AWS CodeBuild build.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_codebuildservicerole TYPE /AWS1/EBNNONEMPTYSTRING /AWS1/EBNNONEMPTYSTRING¶
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.
iv_image TYPE /AWS1/EBNNONEMPTYSTRING /AWS1/EBNNONEMPTYSTRING¶
The ID of the Docker image to use for this build project.
Optional arguments:¶
iv_artifactname TYPE /AWS1/EBNSTRING /AWS1/EBNSTRING¶
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.
iv_computetype TYPE /AWS1/EBNCOMPUTETYPE /AWS1/EBNCOMPUTETYPE¶
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
iv_timeoutinminutes TYPE /AWS1/EBNBOXEDINT /AWS1/EBNBOXEDINT¶
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.
Queryable Attributes¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARTIFACTNAME() |
Getter for ARTIFACTNAME, with configurable default |
ASK_ARTIFACTNAME() |
Getter for ARTIFACTNAME w/ exceptions if field has no value |
HAS_ARTIFACTNAME() |
Determine if ARTIFACTNAME has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODEBUILDSERVICEROLE() |
Getter for CODEBUILDSERVICEROLE, with configurable default |
ASK_CODEBUILDSERVICEROLE() |
Getter for CODEBUILDSERVICEROLE w/ exceptions if field has n |
HAS_CODEBUILDSERVICEROLE() |
Determine if CODEBUILDSERVICEROLE has a value |
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
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_COMPUTETYPE() |
Getter for COMPUTETYPE, with configurable default |
ASK_COMPUTETYPE() |
Getter for COMPUTETYPE w/ exceptions if field has no value |
HAS_COMPUTETYPE() |
Determine if COMPUTETYPE has a value |
Image¶
The ID of the Docker image to use for this build project.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IMAGE() |
Getter for IMAGE, with configurable default |
ASK_IMAGE() |
Getter for IMAGE w/ exceptions if field has no value |
HAS_IMAGE() |
Determine if IMAGE has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TIMEOUTINMINUTES() |
Getter for TIMEOUTINMINUTES, with configurable default |
ASK_TIMEOUTINMINUTES() |
Getter for TIMEOUTINMINUTES w/ exceptions if field has no va |
HAS_TIMEOUTINMINUTES() |
Determine if TIMEOUTINMINUTES has a value |