Skip to main content

run_lambda

Function run_lambda 

Source
pub async fn run_lambda(app: App) -> Result<(), Error>
Expand description

Sobe a App no runtime Lambda (consumindo eventos do API Gateway / Function URL).

Define AWS_LAMBDA_HTTP_IGNORE_STAGE_IN_PATH=true automaticamente para que rotas funcionem idênticas em todos os triggers (REST v1 incluiria o stage no path por default). A var só é definida se ainda não estiver presente, permitindo override pelo operador.