RestApiConfig Type
High-level API Gateway REST API builder following AWS best practices. **Default Security Settings:** - Endpoint type = REGIONAL (recommended for most use cases) - Deploy = true (automatically creates deployment) - CloudWatch role = automatically configured **Rationale:** REST APIs provide full control over API Gateway features including: - Request/response transformation - API keys and usage plans - Request validators - VPC Link integration - Custom authorizers **Escape Hatch:** Access the underlying CDK RestApi via the `RestApi` property on RestApiSpec for advanced scenarios not covered by this builder.
Record fields
| Record Field | Description |
|
|
Full Usage:
ApiName
Field type: string
|
|
Full Usage:
BinaryMediaTypes
Field type: string list
|
|
Full Usage:
CloudWatchRole
Field type: bool option
|
|
Full Usage:
ConstructId
Field type: string option
|
|
|
|
|
|
|
|
Full Usage:
Deploy
Field type: bool option
|
|
|
|
Full Usage:
Description
Field type: string option
|
|
Full Usage:
DisableExecuteApiEndpoint
Field type: bool option
|
|
|
|
|
|
|
|
FsCDK