Guide

AWS Lambda Endpoint

Source

AWS Lambda endpoints connect Gateway to serverless functions so approved tools and agents can invoke Lambda-backed operations.

Endpoint Kind

Use function as the endpoint kind when creating this endpoint through the API or dashboard.

What Gateway Uses This Endpoint For

  • Invoke serverless functions from governed workflows.
  • Centralize Lambda credential handling.
  • Provide a stable function endpoint for AI Orchestration tools.
  • Use custom endpoint URLs for local testing.

Basic Endpoint Shape

json
{
  "endpoint": "lambda-tools",
  "kind": "function",
  "config": {
    "read_conn": {
      "provider": "aws_lambda",
      "region": "us-east-1",
      "default_function_name": "process-request"
    }
  }
}

Create it with the endpoint API:

bash
curl -sS -X POST "$EDEN/endpoints" \
  -H "$AUTH_HEADER" \
  -H "Content-Type: application/json" \
  -d '{
  "endpoint": "lambda-tools",
  "kind": "function",
  "config": {
    "read_conn": {
      "provider": "aws_lambda",
      "region": "us-east-1",
      "default_function_name": "process-request"
    }
  }
}'

Configuration Fields

FieldPurpose
regionAWS region
access_key_idAccess key ID
secret_access_keySecret access key
session_tokenOptional session token
default_function_nameOptional default function
endpoint_urlOptional custom endpoint URL

Operating Notes

  • Functions can perform arbitrary side effects; treat invoke permissions as write authority.
  • Prefer dedicated functions for agent-callable operations.
  • Set timeout, retry, and idempotency expectations in the function contract.
Help improve Eden Docs

Find something unclear or incomplete? Review the source and propose an update.

View on GitLab Updated August 2, 2026