Struct aws_sdk_apprunner::model::code_configuration_values::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CodeConfigurationValues
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn runtime(self, input: Runtime) -> Self
pub fn runtime(self, input: Runtime) -> Self
A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
sourcepub fn set_runtime(self, input: Option<Runtime>) -> Self
pub fn set_runtime(self, input: Option<Runtime>) -> Self
A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
sourcepub fn build_command(self, input: impl Into<String>) -> Self
pub fn build_command(self, input: impl Into<String>) -> Self
The command App Runner runs to build your application.
sourcepub fn set_build_command(self, input: Option<String>) -> Self
pub fn set_build_command(self, input: Option<String>) -> Self
The command App Runner runs to build your application.
sourcepub fn start_command(self, input: impl Into<String>) -> Self
pub fn start_command(self, input: impl Into<String>) -> Self
The command App Runner runs to start your application.
sourcepub fn set_start_command(self, input: Option<String>) -> Self
pub fn set_start_command(self, input: Option<String>) -> Self
The command App Runner runs to start your application.
sourcepub fn port(self, input: impl Into<String>) -> Self
pub fn port(self, input: impl Into<String>) -> Self
The port that your application listens to in the container.
Default: 8080
sourcepub fn set_port(self, input: Option<String>) -> Self
pub fn set_port(self, input: Option<String>) -> Self
The port that your application listens to in the container.
Default: 8080
sourcepub fn runtime_environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn runtime_environment_variables(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to runtime_environment_variables
.
To override the contents of this collection use set_runtime_environment_variables
.
The environment variables that are available to your running App Runner service. An array of key-value pairs. Keys with a prefix of AWSAPPRUNNER
are reserved for system use and aren't valid.
sourcepub fn set_runtime_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_runtime_environment_variables(
self,
input: Option<HashMap<String, String>>
) -> Self
The environment variables that are available to your running App Runner service. An array of key-value pairs. Keys with a prefix of AWSAPPRUNNER
are reserved for system use and aren't valid.
sourcepub fn build(self) -> CodeConfigurationValues
pub fn build(self) -> CodeConfigurationValues
Consumes the builder and constructs a CodeConfigurationValues
.