reactive-interaction-gateway
reactive-interaction-gateway copied to clipboard
Support AWS Lambda
The proxy already supports forwarding HTTP requests. A sample HTTP request for invoking a Lambda functions looks like this:
POST /2015-03-31/functions/FunctionName/invocations?Qualifier=Qualifier HTTP/1.1
X-Amz-Invocation-Type: InvocationType
X-Amz-Log-Type: LogType
X-Amz-Client-Context: ClientContext
Payload
In order to support this scheme, we'll need to verify/implement that RIG can set/rewrite the appropriate HTTP headers.
References:
- https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html