pub struct BuildConfiguration {
pub artifact_name: Option<String>,
pub code_build_service_role: String,
pub compute_type: Option<String>,
pub image: String,
pub timeout_in_minutes: Option<i64>,
}
Expand description
Settings for an AWS CodeBuild build.
Fields§
§artifact_name: Option<String>
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.
code_build_service_role: String
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.
compute_type: Option<String>
Information about the compute resources the build project will use.
-
BUILDGENERAL1SMALL: Use up to 3 GB memory and 2 vCPUs for builds
-
BUILDGENERAL1MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds
-
BUILDGENERAL1LARGE: Use up to 15 GB memory and 8 vCPUs for builds
image: String
The ID of the Docker image to use for this build project.
timeout_in_minutes: Option<i64>
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.
Trait Implementations§
Source§impl Clone for BuildConfiguration
impl Clone for BuildConfiguration
Source§fn clone(&self) -> BuildConfiguration
fn clone(&self) -> BuildConfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more