Skip to content

Commit

Permalink
feat(aws-lambda) add 3 new regions (#18)
Browse files Browse the repository at this point in the history
* add eu-north-1 (Stockholm)
* add me-south-1 (Bahrain)
* add eu-west-3
  • Loading branch information
MosAmokhtari authored and Tieske committed Jan 4, 2020
1 parent 5417530 commit 59bee30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -115,7 +115,7 @@ Here's a list of all the parameters which can be used in this plugin's configura
| `consumer_id` || The id of the Consumer which this plugin will target.
|`config.aws_key` <br>*semi-optional* || The AWS key credential to be used when invoking the function. This value is required if `aws_secret` is defined.
|`config.aws_secret` <br>*semi-optional* ||The AWS secret credential to be used when invoking the function. This value is required if `aws_key` is defined.
|`config.aws_region` || The AWS region where the Lambda function is located. Regions supported are: `ap-northeast-1`, `ap-northeast-2`, `ap-south-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`, `cn-north-1`, `cn-northwest-1`, `eu-central-1`, `eu-west-1`, `eu-west-2`, `sa-east-1`, `us-east-1`, `us-east-2`, `us-gov-west-1`, `us-west-1`, `us-west-2`.
|`config.aws_region` || The AWS region where the Lambda function is located. Regions supported are: `ap-northeast-1`, `ap-northeast-2`, `ap-south-1`, `ap-southeast-1`, `ap-southeast-2`, `ca-central-1`, `cn-north-1`, `cn-northwest-1`, `eu-central-1`, `eu-north-1`, `eu-west-1`, `eu-west-2`, `eu-west-3`, `me-south-1`, `sa-east-1`, `us-east-1`, `us-east-2`, `us-gov-west-1`, `us-west-1`, `us-west-2`.
|`config.function_name` || The AWS Lambda function name to invoke.
|`config.timeout`| `60000` | Timeout protection in milliseconds when invoking the function.
|`config.keepalive`| `60000` | Max idle timeout in milliseconds when invoking the function.
Expand Down
4 changes: 3 additions & 1 deletion kong/plugins/aws-lambda/schema.lua
Expand Up @@ -8,7 +8,9 @@ local REGIONS = {
"cn-north-1",
"cn-northwest-1",
"eu-central-1",
"eu-west-1", "eu-west-2",
"eu-north-1",
"eu-west-1", "eu-west-2", "eu-west-3",
"me-south-1",
"sa-east-1",
"us-east-1", "us-east-2",
"us-gov-west-1",
Expand Down

0 comments on commit 59bee30

Please sign in to comment.