How to use two Integration types in AWS API Gateway?

0

Hi, I want to call a HTTP endpoint from my AWS API gateway and that endpoint is secured with Oauth 2.0. So, is there any way to implement Oauth 2.0 using HTTP integration type in AWS API Gateway (API Creation Wizard)?

Also, if lambda is the only option, any examples will be appreciated.

1回答
0

API Gateway allows two integrations types for HTTP endpoint HTTP proxy integration or the HTTP custom integration. You can use any of them. https://docs.aws.amazon.com/apigateway/latest/developerguide/setup-http-integrations.html

If your use case requires only a token to be sent to backend HTTP endpoint, with proxy integration API Gateway passes the client-submitted method request to the backend. The request data that is passed through includes the request headers, query string parameters, URL path variables, and payload.

If you have a specific requirement to modify client submitted data, you can achieve your use case with HTTP custom integration as well as with a Lambda function in between to send requests to backend.

https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-api-as-simple-proxy-for-http.html

AWS
サポートエンジニア
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ