Struct aws_sdk_apprunner::model::CodeConfiguration
source · #[non_exhaustive]pub struct CodeConfiguration { /* private fields */ }
Expand description
Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.
Implementations§
source§impl CodeConfiguration
impl CodeConfiguration
sourcepub fn configuration_source(&self) -> Option<&ConfigurationSource>
pub fn configuration_source(&self) -> Option<&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() -> Builder
pub fn builder() -> Builder
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<CodeConfiguration> for CodeConfiguration
impl PartialEq<CodeConfiguration> for CodeConfiguration
source§fn eq(&self, other: &CodeConfiguration) -> bool
fn eq(&self, other: &CodeConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.