Struct aws_sdk_apprunner::types::CodeConfiguration
source · #[non_exhaustive]pub struct CodeConfiguration {
pub configuration_source: ConfigurationSource,
pub code_configuration_values: Option<CodeConfigurationValues>,
}
Expand description
Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.
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.configuration_source: ConfigurationSource
The source of the App Runner configuration. Values are interpreted as follows:
-
REPOSITORY
– App Runner reads configuration values from theapprunner.yaml
file in the source code repository and ignoresCodeConfigurationValues
. -
API
– App Runner uses configuration values provided inCodeConfigurationValues
and ignores theapprunner.yaml
file in the source code repository.
code_configuration_values: Option<CodeConfigurationValues>
The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml
file in the source code repository (or ignoring the file if it exists).
Implementations§
source§impl CodeConfiguration
impl CodeConfiguration
sourcepub fn configuration_source(&self) -> &ConfigurationSource
pub fn configuration_source(&self) -> &ConfigurationSource
The source of the App Runner configuration. Values are interpreted as follows:
-
REPOSITORY
– App Runner reads configuration values from theapprunner.yaml
file in the source code repository and ignoresCodeConfigurationValues
. -
API
– App Runner uses configuration values provided inCodeConfigurationValues
and ignores theapprunner.yaml
file in the source code repository.
sourcepub fn code_configuration_values(&self) -> Option<&CodeConfigurationValues>
pub fn code_configuration_values(&self) -> Option<&CodeConfigurationValues>
The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml
file in the source code repository (or ignoring the file if it exists).
source§impl CodeConfiguration
impl CodeConfiguration
sourcepub fn builder() -> CodeConfigurationBuilder
pub fn builder() -> CodeConfigurationBuilder
Creates a new builder-style object to manufacture CodeConfiguration
.
Trait Implementations§
source§impl Clone for CodeConfiguration
impl Clone for CodeConfiguration
source§fn clone(&self) -> CodeConfiguration
fn clone(&self) -> CodeConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeConfiguration
impl Debug for CodeConfiguration
source§impl PartialEq for CodeConfiguration
impl PartialEq for CodeConfiguration
impl StructuralPartialEq for CodeConfiguration
Auto Trait Implementations§
impl Freeze for CodeConfiguration
impl RefUnwindSafe for CodeConfiguration
impl Send for CodeConfiguration
impl Sync for CodeConfiguration
impl Unpin for CodeConfiguration
impl UnwindSafe for CodeConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more