API Gateway (HTTP)
Lower-cost HTTP API for Lambda / VPC services.
Configuration
Section titled “Configuration”| Setting | Type | Required | Default |
|---|---|---|---|
| API name | Text | Yes | — |
| Description | Text | — | — |
| Protocol Options: HTTP, WebSocket | Choice | — | HTTP |
| Route selection expression Options: method + path, body.action (WS) | Choice | — | $request.method $request.path |
| CORS enabled | Toggle | — | false |
| CORS allow origins | List | — | — |
| CORS allow methods | List | — | — |
| CORS allow headers | List | — | — |
| CORS max age (s) | Number | — | — |
| CORS allow credentials | Toggle | — | false |
| Disable default endpoint | Toggle | — | false |
| Stage name | Text | — | $default |
| Auto-deploy stage | Toggle | — | true |
| Tags | Key–value | — | — |
Connections
Section titled “Connections”| Socket | Direction | Accepts | Terraform arg |
|---|---|---|---|
| Client | Input | any | — |
| Integration | Output | any | — |