Struct lambda_runtime::Config
source · pub struct Config {
pub function_name: String,
pub memory: i32,
pub version: String,
pub log_stream: String,
pub log_group: String,
}
Expand description
Configuration derived from environment variables.
Fields§
§function_name: String
The name of the function.
memory: i32
The amount of memory available to the function in MB.
version: String
The version of the function being executed.
log_stream: String
The name of the Amazon CloudWatch Logs stream for the function.
log_group: String
The name of the Amazon CloudWatch Logs group for the function.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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