Module

x/lambda/mod.ts

A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
Extremely Popular
Go to Latest
interface Context
import { type Context } from "https://deno.land/x/lambda@1.24.3/mod.ts";

Handler context parameter. See AWS documentation.

Properties

callbackWaitsForEmptyEventLoop: boolean
functionName: string
functionVersion: string
invokedFunctionArn: string
memoryLimitInMB: string
awsRequestId: string
logGroupName: string
logStreamName: string
optional
identity: CognitoIdentity
optional
clientContext: ClientContext

Methods

getRemainingTimeInMillis(): number
deprecated
done(error?: Error, result?: any): void
deprecated
fail(error: Error | string): void
deprecated
succeed(messageOrObject: any): void
deprecated
succeed(message: string, object: any): void