AWS Lambda
Deploy handlers as Lambda functions using the Restate.Sdk.Lambda package:
dotnet add package Restate.Sdk.Lambda
Derive from RestateLambdaHandler and bind your services:
using Restate.Sdk;
public class Handler : RestateLambdaHandler
{
public override void Register()
{
Bind<GreeterService>();
Bind<CounterObject>();
}
}
Configure the Lambda function handler as YourAssembly::YourNamespace.Handler::FunctionHandler.
The adapter uses Restate's REQUEST_RESPONSE invocation mode. Register the Lambda deployment with Restate the same way as an HTTP deployment; see the Restate documentation for deployment registration details.