cloud:aws:apigateway
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cloud:aws:apigateway [2021/04/30 19:02] – [Use Lambda Proxy integration] skipidar | cloud:aws:apigateway [2023/11/01 07:13] (current) – ↷ Page moved from business_process_management:camunda:cloud:aws:apigateway to cloud:aws:apigateway skipidar | ||
|---|---|---|---|
| Line 154: | Line 154: | ||
| - | === Return | + | === Return |
| Lambdas needs to return JSON, to be capable to be used from the gateway. | Lambdas needs to return JSON, to be capable to be used from the gateway. | ||
| + | https:// | ||
| <sxh java> | <sxh java> | ||
| Line 181: | Line 182: | ||
| When a client submits an API request, API Gateway passes to the integrated Lambda function the raw request as-is: | When a client submits an API request, API Gateway passes to the integrated Lambda function the raw request as-is: | ||
| - | https:// | ||
| - | + | That means, that the option | |
| - | The option | + | * **deactivates** the **" |
| - | * activates or deactivates the **" | + | |
| * https:// | * https:// | ||
| Line 192: | Line 191: | ||
| + | This is the most powerful integration: | ||
| + | - **\{{proxy}}** sends all resources - to the Lambda | ||
| + | - **ANY** - accepts all methods | ||
| + | |||
| + | https:// | ||
| + | |||
| + | {{https:// | ||
| + | |||
| + | * <color # | ||
| + | * <color # | ||
| + | |||
| + | After that the lambda reacts on | ||
| + | < | ||
| + | curl -X POST https:// | ||
| + | curl -X GET https:// | ||
| + | </ | ||
| ==== Mapping Templates ==== | ==== Mapping Templates ==== | ||
| Line 201: | Line 216: | ||
| https:// | https:// | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== Token Exchange ===== | ||
| + | The token exchange is possible with 2 pieces: | ||
| + | |||
| + | * obtain a new token at the lambda authorizer | ||
| + | * set the header via VLT as in | ||
| + | |||
| + | https:// | ||
| + | |||
| + | |||
| + | |||
| + | ===== A Detailed Overview of AWS API Gateway ===== | ||
| + | An overview of the API gateway functions. | ||
| + | https:// | ||
| + | |||
| + | {{https:// | ||
| + | |||
| + | {{https:// | ||
cloud/aws/apigateway.1619809371.txt.gz · Last modified: by skipidar
