import * as mod from "https://deno.land/x/lambda@1.26.1/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 | |
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 | |
CodePipeline CloudWatch Events https://docs.aws.amazon.com/codepipeline/latest/userguide/detect-state-changes-cloudwatch-events.html | |
Cognito User Pool event | |
API Gateway CustomAuthorizer AuthResponse.PolicyDocument.Condition. https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-policy-language-overview.html https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html | |
Handler context parameter. See AWS documentation. | |
API Gateway CustomAuthorizer AuthResponse.PolicyDocument. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-lambda-authorizer-output.html https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html#Condition | |
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. | |
S3 Batch Operations event https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-invoke-lambda.html | |
API Gateway CustomAuthorizer AuthResponse.PolicyDocument.Statement. https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-policy-language-overview.html https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html | |