Struct cargo_lambda_metadata::cargo::DeployConfig
source · pub struct DeployConfig {
pub memory: Option<Memory>,
pub timeout: Timeout,
pub env: HashMap<String, String>,
pub env_file: Option<PathBuf>,
pub tracing: Tracing,
pub iam_role: Option<String>,
pub layers: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
pub use_for_update: bool,
}Fields§
§memory: Option<Memory>§timeout: Timeout§env: HashMap<String, String>§env_file: Option<PathBuf>§tracing: Tracing§iam_role: Option<String>§layers: Option<Vec<String>>§use_for_update: boolImplementations§
source§impl DeployConfig
impl DeployConfig
pub fn lambda_environment(&self) -> Result<Environment>
pub fn extend_environment(&mut self, extra: Environment) -> Result<Environment>
Trait Implementations§
source§impl Clone for DeployConfig
impl Clone for DeployConfig
source§fn clone(&self) -> DeployConfig
fn clone(&self) -> DeployConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeployConfig
impl Debug for DeployConfig
source§impl Default for DeployConfig
impl Default for DeployConfig
source§fn default() -> DeployConfig
fn default() -> DeployConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeployConfig
impl<'de> Deserialize<'de> for DeployConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more