A developer is creating a serverless microservice. The developer wants to expose an endpoint using Amazon API Gateway that passes the raw incoming HTTP request details, such as headers, query parameters, and request body, directly to a backend AWS Lambda function as a single JSON object. The solution must not require any request mapping templates. Which integration type should the developer configure in API Gateway?
- ALambda Custom Integration
- Lambda Proxy IntegrationCevap
- CHTTP Proxy Integration
- DCognito User Pool Authorizer
Cevap
Lambda Proxy Integration
Lambda Proxy Integration is the correct choice because it automatically sends the raw HTTP request details (headers, query parameters, stage variables, and body) directly to the Lambda function in a predefined JSON format. This setup removes the need for configuring integration request or response mapping templates.
Adım Adım Çözüm
Anahtar Kavram
The core differences between Amazon API Gateway integration types for AWS Lambda backend services.
Tahmini Süre:45s