Struct aws_sdk_apprunner::model::CodeConfigurationValues
source · [−]#[non_exhaustive]pub struct CodeConfigurationValues {
pub runtime: Option<Runtime>,
pub build_command: Option<String>,
pub start_command: Option<String>,
pub port: Option<String>,
pub runtime_environment_variables: Option<HashMap<String, String>>,
}
Expand description
Describes the basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a apprunner.yaml
file in the 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.runtime: Option<Runtime>
A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
build_command: Option<String>
The command App Runner runs to build your application.
start_command: Option<String>
The command App Runner runs to start your application.
port: Option<String>
The port that your application listens to in the container.
Default: 8080
runtime_environment_variables: Option<HashMap<String, String>>
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.
Implementations
sourceimpl CodeConfigurationValues
impl CodeConfigurationValues
sourcepub fn runtime(&self) -> Option<&Runtime>
pub fn runtime(&self) -> Option<&Runtime>
A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
sourcepub fn build_command(&self) -> Option<&str>
pub fn build_command(&self) -> Option<&str>
The command App Runner runs to build your application.
sourcepub fn start_command(&self) -> Option<&str>
pub fn start_command(&self) -> Option<&str>
The command App Runner runs to start your application.
sourceimpl CodeConfigurationValues
impl CodeConfigurationValues
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CodeConfigurationValues
Trait Implementations
sourceimpl Clone for CodeConfigurationValues
impl Clone for CodeConfigurationValues
sourcefn clone(&self) -> CodeConfigurationValues
fn clone(&self) -> CodeConfigurationValues
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CodeConfigurationValues
impl Debug for CodeConfigurationValues
sourceimpl PartialEq<CodeConfigurationValues> for CodeConfigurationValues
impl PartialEq<CodeConfigurationValues> for CodeConfigurationValues
sourcefn eq(&self, other: &CodeConfigurationValues) -> bool
fn eq(&self, other: &CodeConfigurationValues) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CodeConfigurationValues) -> bool
fn ne(&self, other: &CodeConfigurationValues) -> bool
This method tests for !=
.
impl StructuralPartialEq for CodeConfigurationValues
Auto Trait Implementations
impl RefUnwindSafe for CodeConfigurationValues
impl Send for CodeConfigurationValues
impl Sync for CodeConfigurationValues
impl Unpin for CodeConfigurationValues
impl UnwindSafe for CodeConfigurationValues
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more