Skip to content

Commit

Permalink
docs(aws-lambda) add request forwarding options
Browse files Browse the repository at this point in the history
Options added in Kong/kong#2823

Signed-off-by: Thibault Charbonnier <[email protected]>
  • Loading branch information
Andrei Kishkevich authored and thibaultcha committed Oct 24, 2017
1 parent bb206dc commit 7df029f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/plugins/aws-lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ form parameter | default | description
`config.timeout`<br>*optional* | `60000` | An optional timeout in milliseconds when invoking the function
`config.keepalive`<br>*optional* | `60000` | An optional value in milliseconds that defines how long an idle connection will live before being closed
`config.unhandled_status` | `` | The response status code to use (instead of the default `200`, `202`, or `204`) in the case of an [`Unhandled` Function Error](https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html#API_Invoke_ResponseSyntax)
`config.forward_request_body`<br>*optional* | `false` | An optional value that defines whether the request body is to be sent in the `request_body` field of the JSON-encoded request. If the body arguments can be parsed, they will be sent in the separate `request_body_args` field of the request. The body arguments can be parsed for `application/json`, `application/x-www-form-urlencoded`, and `multipart/form-data` content types.
`config.forward_request_headers`<br>*optional* | `false` | An optional value that defines whether the original HTTP request headers are to be sent as a map in the `request_headers` field of the JSON-encoded request.
`config.forward_request_method`<br>*optional* | `false` | An optional value that defines whether the original HTTP request method verb is to be sent in the `request_method` field of the JSON-encoded request.
`config.forward_request_uri`<br>*optional* | `false` | An optional value that defines whether the original HTTP request URI is to be sent in the `request_uri` field of the JSON-encoded request. Request URI arguments (if any) will be sent in the separate `request_uri_args` field of the JSON body.

----

Expand Down

0 comments on commit 7df029f

Please sign in to comment.