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: ConfigurationSourceThe source of the App Runner configuration. Values are interpreted as follows:
-
REPOSITORY– App Runner reads configuration values from theapprunner.yamlfile in the source code repository and ignoresCodeConfigurationValues. -
API– App Runner uses configuration values provided inCodeConfigurationValuesand ignores theapprunner.yamlfile 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.yamlfile in the source code repository and ignoresCodeConfigurationValues. -
API– App Runner uses configuration values provided inCodeConfigurationValuesand ignores theapprunner.yamlfile 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
source§fn eq(&self, other: &CodeConfiguration) -> bool
fn eq(&self, other: &CodeConfiguration) -> bool
self and other values to be equal, and is used
by ==.