Types
ApiType
ApiType is an Enum selecting the API Gateway family used by LambdaApi.
| Member | Value | Meaning |
|---|---|---|
| ApiType.REST | "rest" | API Gateway REST API |
| ApiType.HTTP | "http" | API Gateway HTTP API |
SourceLayout
SourceLayout is a non-string Enum controlling the source boundary used to package discovered handlers and layers.
| Member | Value | Meaning |
|---|---|---|
| SourceLayout.ROOT | "root" | lambda_path is the source/package root |
| SourceLayout.SERVICE | "service" | lambda_path contains service directories |
Pass enum members, not their string values. LambdaApi and ResourceBuilder raise TypeError for a string or another type.