Struct aws_sdk_apprunner::model::ImageConfiguration
source · [−]#[non_exhaustive]pub struct ImageConfiguration {
pub runtime_environment_variables: Option<HashMap<String, String>>,
pub start_command: Option<String>,
pub port: Option<String>,
}
Expand description
Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image 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_environment_variables: Option<HashMap<String, String>>
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.
start_command: Option<String>
An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command.
port: Option<String>
The port that your application listens to in the container.
Default: 8080
Implementations
sourceimpl ImageConfiguration
impl ImageConfiguration
sourcepub fn runtime_environment_variables(&self) -> Option<&HashMap<String, String>>
pub fn runtime_environment_variables(&self) -> Option<&HashMap<String, String>>
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 start_command(&self) -> Option<&str>
pub fn start_command(&self) -> Option<&str>
An optional command that App Runner runs to start the application in the source image. If specified, this command overrides the Docker image’s default start command.
sourceimpl ImageConfiguration
impl ImageConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImageConfiguration
Trait Implementations
sourceimpl Clone for ImageConfiguration
impl Clone for ImageConfiguration
sourcefn clone(&self) -> ImageConfiguration
fn clone(&self) -> ImageConfiguration
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 ImageConfiguration
impl Debug for ImageConfiguration
sourceimpl PartialEq<ImageConfiguration> for ImageConfiguration
impl PartialEq<ImageConfiguration> for ImageConfiguration
sourcefn eq(&self, other: &ImageConfiguration) -> bool
fn eq(&self, other: &ImageConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImageConfiguration) -> bool
fn ne(&self, other: &ImageConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for ImageConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ImageConfiguration
impl Send for ImageConfiguration
impl Sync for ImageConfiguration
impl Unpin for ImageConfiguration
impl UnwindSafe for ImageConfiguration
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