asked 114k views
5 votes
How do I invoke an AWS Lambda function over HTTPS?

1 Answer

2 votes

Final answer:

To invoke an AWS Lambda function over HTTPS, you can create an API Gateway in front of your Lambda function. Here are the steps to do it.

Step-by-step explanation:

To invoke an AWS Lambda function over HTTPS, you can create an API Gateway in front of your Lambda function. API Gateway acts as a proxy and exposes a HTTPS endpoint that can be used to invoke your Lambda function. Here are the steps to do it:

  1. Create an API Gateway with a REST API.
  2. Set up a resource and method in the API Gateway to handle the incoming HTTPS request.
  3. In the Integration Request configuration, select AWS Lambda as the integration type and choose your Lambda function.
  4. Configure any required request parameters or mapping templates.
  5. Deploy the API to make it accessible over HTTPS.

answered
User SwankTheTank
by
8.0k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.