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 18:48] – 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 178: | Line 179: | ||
==== Use Lambda Proxy integration ==== | ==== Use Lambda Proxy integration ==== | ||
- | https:// | ||
+ | When a client submits an API request, API Gateway passes to the integrated Lambda function the raw request as-is: | ||
- | The option | + | |
- | * activates or deactivates the **" | + | That means, that the option |
+ | * **deactivates** the **" | ||
* https:// | * https:// | ||
Line 189: | 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 198: | 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.1619808534.txt.gz · Last modified: by skipidar