Module

x/lambda/types.d.ts>Context

A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
Very Popular
Go to Latest
interface Context
import { type Context } from "https://dotland.deno.dev/x/lambda@1.26.2/types.d.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