Struct aws_sdk_lambda::types::ImageConfig
source · #[non_exhaustive]pub struct ImageConfig {
pub entry_point: Option<Vec<String>>,
pub command: Option<Vec<String>>,
pub working_directory: Option<String>,
}
Expand description
Configuration values that override the container image Dockerfile settings. For more information, see Container image settings.
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.entry_point: Option<Vec<String>>
Specifies the entry point to their application, which is typically the location of the runtime executable.
command: Option<Vec<String>>
Specifies parameters that you want to pass in with ENTRYPOINT.
working_directory: Option<String>
Specifies the working directory.
Implementations§
source§impl ImageConfig
impl ImageConfig
sourcepub fn entry_point(&self) -> &[String]
pub fn entry_point(&self) -> &[String]
Specifies the entry point to their application, which is typically the location of the runtime executable.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .entry_point.is_none()
.
sourcepub fn command(&self) -> &[String]
pub fn command(&self) -> &[String]
Specifies parameters that you want to pass in with ENTRYPOINT.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .command.is_none()
.
sourcepub fn working_directory(&self) -> Option<&str>
pub fn working_directory(&self) -> Option<&str>
Specifies the working directory.
source§impl ImageConfig
impl ImageConfig
sourcepub fn builder() -> ImageConfigBuilder
pub fn builder() -> ImageConfigBuilder
Creates a new builder-style object to manufacture ImageConfig
.
Trait Implementations§
source§impl Clone for ImageConfig
impl Clone for ImageConfig
source§fn clone(&self) -> ImageConfig
fn clone(&self) -> ImageConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageConfig
impl Debug for ImageConfig
source§impl PartialEq for ImageConfig
impl PartialEq for ImageConfig
source§fn eq(&self, other: &ImageConfig) -> bool
fn eq(&self, other: &ImageConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageConfig
Auto Trait Implementations§
impl Freeze for ImageConfig
impl RefUnwindSafe for ImageConfig
impl Send for ImageConfig
impl Sync for ImageConfig
impl Unpin for ImageConfig
impl UnwindSafe for ImageConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more