Amazon API Gateway Lambda Integration Example: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:


* [[Amazon_API_Gateway_Operations#Lambda_Integration_Example|API Gateway Operations]]
* [[Amazon_API_Gateway_Operations#Lambda_Integration_Example|API Gateway Operations]]
=Procedure=
New API
New Resource -> select proxy.
Name proxy
/{proxy+} ANY setup
Integration type: Lambda Function Proxy
Lambda Region: us-west-2
Lambda Function: playground-example
For an example of how to create the backing Lambda Function, see: {{Internal|AWS_Lambda_Operations#Lambda_Function_Integration_with_API_Gateway|Lambda Function Integration with API Gateway}}
=Test=
  curl https://ws3039fvrl.execute-api.us-west-2.amazonaws.com/test/Vancover?name=red

Latest revision as of 00:44, 8 March 2019

External

Internal

Procedure

New API

New Resource -> select proxy.

Name proxy

/{proxy+} ANY setup

Integration type: Lambda Function Proxy

Lambda Region: us-west-2

Lambda Function: playground-example

For an example of how to create the backing Lambda Function, see:

Lambda Function Integration with API Gateway

Test

 curl https://ws3039fvrl.execute-api.us-west-2.amazonaws.com/test/Vancover?name=red