Currently, you have a set of Lambda functions that have business logic embedded in them.
You want customers to have the ability to call these functions via HTTPS.
How could this be achieved?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer - A.
An API Gateway provides the ideal access to your back end services via APIs.
For more information on the API Gateway service, please visit the following URL-
https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.htmlThe correct answer is A. Use the API Gateway and provide integration with the AWS Lambda functions.
Explanation: AWS Lambda is a serverless computing service that allows you to run code without provisioning or managing servers. However, you need a way to expose your Lambda functions to external clients, such as mobile applications, web applications, or other systems. One way to achieve this is by using Amazon API Gateway, which is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.
API Gateway allows you to create RESTful APIs or WebSocket APIs that act as a front door for your Lambda functions. You can configure your API Gateway to map incoming requests to specific Lambda functions, and then transform the output of the Lambda functions into the format that the client expects. You can also use API Gateway to manage API versions, throttling, caching, and access control.
To enable HTTPS access to your Lambda functions via API Gateway, you need to follow these steps:
By using API Gateway to expose your Lambda functions, you can separate the business logic from the presentation layer, and you can also scale your API independently of your Lambda functions. You can also apply security policies, such as API keys, IAM roles, and OAuth 2.0, to restrict access to your API and protect your resources.