API Gateway - Configuration
June 15, 2025
1. Create REST API
- Go to API Gateway console
- Create new REST API

- Create new resource and method
- Add resource: e.g., “/user-list”
- Add GET method
- Integration type: Lambda Function
- Select your Lambda function
- Enable CORS if needed
- Actions → Enable CORS
- Accept default settings for testing
2. Update “Method request”

3. Update “Integration request”

{
"limit": "$input.params('limit')"
}
4. Deploy and Test
- Deploy API

- Note the API endpoint URL


