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 ==
.