Struct aws_sdk_elasticbeanstalk::model::BuildConfiguration
source · [−]#[non_exhaustive]pub struct BuildConfiguration {
pub artifact_name: Option<String>,
pub code_build_service_role: Option<String>,
pub compute_type: Option<ComputeType>,
pub image: Option<String>,
pub timeout_in_minutes: Option<i32>,
}
Expand description
Settings for an AWS CodeBuild build.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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: Option<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<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
image: Option<String>
The ID of the Docker image to use for this build project.
timeout_in_minutes: Option<i32>
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.
Implementations
sourceimpl BuildConfiguration
impl BuildConfiguration
sourcepub fn artifact_name(&self) -> Option<&str>
pub fn artifact_name(&self) -> Option<&str>
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.
sourcepub fn code_build_service_role(&self) -> Option<&str>
pub fn code_build_service_role(&self) -> Option<&str>
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.
sourcepub fn compute_type(&self) -> Option<&ComputeType>
pub fn compute_type(&self) -> Option<&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
sourcepub fn timeout_in_minutes(&self) -> Option<i32>
pub fn timeout_in_minutes(&self) -> Option<i32>
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.
sourceimpl BuildConfiguration
impl BuildConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BuildConfiguration
Trait Implementations
sourceimpl Clone for BuildConfiguration
impl Clone for BuildConfiguration
sourcefn clone(&self) -> BuildConfiguration
fn clone(&self) -> BuildConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BuildConfiguration
impl Debug for BuildConfiguration
sourceimpl PartialEq<BuildConfiguration> for BuildConfiguration
impl PartialEq<BuildConfiguration> for BuildConfiguration
sourcefn eq(&self, other: &BuildConfiguration) -> bool
fn eq(&self, other: &BuildConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BuildConfiguration) -> bool
fn ne(&self, other: &BuildConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for BuildConfiguration
Auto Trait Implementations
impl RefUnwindSafe for BuildConfiguration
impl Send for BuildConfiguration
impl Sync for BuildConfiguration
impl Unpin for BuildConfiguration
impl UnwindSafe for BuildConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more