/Knowledge/sources/honojs__hono/llms-full/aws-lambda-access-aws-lambda-object--f1a2705fd50d.md
AWS Lambda: Access AWS Lambda Object - hono-docs
AWS Lambda: Access AWS Lambda Object Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt access aws lambda...
AWS Lambda: Access AWS Lambda Object
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#access-aws-lambda-object
Summary
In Hono, you can access the AWS Lambda Events and Context by binding the LambdaEvent, LambdaContext type and using c.env ```ts import { Hono } from 'hono' import type { LambdaEvent, LambdaContext } from 'hono/aws-lambda' import { h...
Content
In Hono, you can access the AWS Lambda Events and Context by binding the LambdaEvent, LambdaContext type and using c.env
import { Hono } from 'hono'
import type { LambdaEvent, LambdaContext } from 'hono/aws-lambda'
import { handle } from 'hono/aws-lambda'
type Bindings = {
event: LambdaEvent
lambdaContext: LambdaContext
}
const app = new Hono<{ Bindings: Bindings }>()
app.get('/aws-lambda-info/', (c) => {
return c.json({
isBase64Encoded: c.env.event.isBase64Encoded,
awsRequestId: c.env.lambdaContext.awsRequestId,
})
})
export const handler = handle(app)
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#access-aws-lambda-object",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / AWS Lambda > Access AWS Lambda Object",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 425,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "AWS Lambda: Access AWS Lambda Object",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}