Skip to main content
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
import * as lambda from "https://deno.land/x/lambda@1.24.3/mod.ts";

Interfaces

Works with HTTP API integration Payload Format version 2.0

Works with Lambda Proxy Integration for Rest API or HTTP API integration Payload Format version 1.0

Interface for structured response with statusCode andheaders Works with HTTP API integration Payload Format version 2.0

CloudFormation Custom Resource event and response http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref.html

CloudFront events http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html Bear in mind that the "example" event structure in the page above includes both an S3 and a Custom origin, which is not strictly allowed. Only one of these per event may be present.

CloudFront viewer request or origin request event

CloudFront viewer response or origin response event

Generated HTTP response in viewer request event or origin request event

Cognito User Pool event

Handler context parameter. See AWS documentation.

Type Aliases

Works with Lambda Proxy Integration for Rest API or HTTP API integration Payload Format version 1.0

Works with Lambda Proxy Integration for Rest API or HTTP API integration Payload Format version 1.0

Works with HTTP API integration Payload Format version 2.0

Works with HTTP API integration Payload Format version 2.0

The interface that AWS Lambda will invoke your handler with. There are more specialized types for many cases where AWS services invoke your lambda, but you can directly use this type for when you are invoking your lambda directly.