Lambda
Protocol: REST JSONEndpoint:
http://localhost:4566/2015-03-31/functions/...
Lambda runs your function code inside real Docker containers — the same way real AWS Lambda does.
Lambda requires the Docker socket. Mount it in your compose file:
Supported Operations
Lambda operations (18)
Lambda operations (18)
| Operation | Description |
|---|---|
CreateFunction | Deploy a Lambda function |
GetFunction | Get function details and download URL |
GetFunctionConfiguration | Get runtime configuration |
ListFunctions | List all functions |
UpdateFunctionCode | Upload new code |
DeleteFunction | Remove a function |
Invoke | Invoke a function synchronously or asynchronously |
CreateEventSourceMapping | Connect SQS / Kinesis / DynamoDB Streams to a function |
GetEventSourceMapping | Get event source mapping details |
ListEventSourceMappings | List all event source mappings |
UpdateEventSourceMapping | Update a mapping |
DeleteEventSourceMapping | Remove a mapping |
PublishVersion | Publish an immutable version |
CreateAlias | Create a named alias pointing to a version |
GetAlias | Get alias details |
ListAliases | List all aliases for a function |
UpdateAlias | Update an alias |
DeleteAlias | Delete an alias |
Configuration
Supported Runtimes
Any runtime with an official AWS Lambda container image works with Floci — for example:nodejs22.x, python3.13, java21, go1.x, provided.al2023.
Examples
Event Source Mappings
Connect Lambda to SQS, Kinesis, or DynamoDB Streams:API Gateway
Floci supports both API Gateway v1 (REST APIs) and API Gateway v2 (HTTP APIs).- v1 — REST APIs
- v2 — HTTP APIs
Protocol: REST JSON
Endpoint:
Endpoint:
http://localhost:4566/restapis/...Supported Operations
| Category | Operations |
|---|---|
| APIs | CreateRestApi, GetRestApi, GetRestApis, UpdateRestApi, DeleteRestApi |
| Resources | CreateResource, GetResource, GetResources, UpdateResource, DeleteResource |
| Methods | PutMethod, GetMethod, DeleteMethod |
| Method Responses | PutMethodResponse, GetMethodResponse, DeleteMethodResponse |
| Integrations | PutIntegration, GetIntegration, DeleteIntegration |
| Integration Responses | PutIntegrationResponse, GetIntegrationResponse, DeleteIntegrationResponse |
| Deployments | CreateDeployment, GetDeployment, GetDeployments |
| Stages | CreateStage, GetStage, GetStages, UpdateStage, DeleteStage |
| API Keys | CreateApiKey, GetApiKey, GetApiKeys, UpdateApiKey, DeleteApiKey |
| Usage Plans | CreateUsagePlan, GetUsagePlan, GetUsagePlans, UpdateUsagePlan, DeleteUsagePlan |
| Base Path Mappings | CreateBasePathMapping, GetBasePathMapping, DeleteBasePathMapping |