running_on_lambda

Function running_on_lambda 

Source
pub fn running_on_lambda() -> Result<bool>
Expand description

Determine whether the code is being executed within an AWS Lambda.

This function can be used to write binaries that are able to run both locally or as a Lambda function.