Struct aws_sdk_apprunner::model::code_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CodeConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn configuration_source(self, input: ConfigurationSource) -> Self
pub fn configuration_source(self, input: ConfigurationSource) -> Self
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 set_configuration_source(self, input: Option<ConfigurationSource>) -> Self
pub fn set_configuration_source(self, input: Option<ConfigurationSource>) -> Self
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, input: CodeConfigurationValues) -> Self
pub fn code_configuration_values(self, input: CodeConfigurationValues) -> Self
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).
sourcepub fn set_code_configuration_values(
self,
input: Option<CodeConfigurationValues>
) -> Self
pub fn set_code_configuration_values(
self,
input: Option<CodeConfigurationValues>
) -> Self
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).
sourcepub fn build(self) -> CodeConfiguration
pub fn build(self) -> CodeConfiguration
Consumes the builder and constructs a CodeConfiguration
.