API Gateway REST API versus API Gateway WebSocket API
Learn how API Gateway REST API differs from API Gateway WebSocket API.
API Gateway REST API | API Gateway WebSocket API | |
---|---|---|
Type | REST API |
Websocket |
HTTPS/TLS | ✅ |
✅ |
Backends | ✅ Lambda |
✅ Lambda |
Costs | 💰💰 |
💰 |
Maturity | ⭐️⭐️⭐️⭐️⭐️ |
⭐️⭐️⭐️⭐️ |
Authentication | ✅ IAM |
✅ IAM |
Tenant-based Throttling | ✅ |
❌ |
Request Validation | ✅ |
✅ |
Req./Res. Transformation | ✅ |
✅ |
Endpoints | ✅ Public |
✅ Public |
WAF | ✅ |
❌ |
Further reading
- API Gateway REST API versus API Gateway HTTP API
- API Gateway REST API versus AppSync
- API Gateway REST API versus ALB
- API Gateway REST API versus ALB WebSocket
- API Gateway HTTP API versus API Gateway WebSocket API
- API Gateway WebSocket API versus AppSync
- API Gateway WebSocket API versus ALB
- API Gateway WebSocket API versus ALB WebSocket