Lambda Context¶
When Lambda runs your function, it passes a context object to the handler. This object provides methods and properties that provide information about the invocation, function, and execution environment.
Note
During asynchronous invokes, the Lambda context field clientContext
will not be populated.
Docs¶
- DotNet - Lambda Context Docs
- Python - Lambda Context Docs
- Go - Lambda Context Docs
- Java - Lambda Context Docs
- NodeJS - Lambda Context Docs
Resources¶
- DotNet - ILambdaContext - NuGet
Amazon.Lambda.Core
- Java - Context - Maven
aws-lambda-java-core
- Python - LambdaContext - Pip
aws-lambda-powertools
- Typescript - Context - NPM
@types/aws-lambda
- Go - LambdaContext - Go
github.com/aws/aws-lambda-go/lambdacontext
- Rust - Context - Cargo
aws-lambda-rust-runtime
- Php - Bref\Context - Composer
bref/bref