lambda-api-decorators
CDK-free decorators and runtime identity helpers. The package records metadata on handlers; infrastructure is created only when the CDK package consumes it.
Exported symbols
- HTTP decorators: GET, PUT, POST, DELETE, ANY
- Configuration decorators: memory_size, timeout, environment, layer, runtime, security_group, vpc, role, description, name
- Permissions and access: grant_dynamodb, grant_s3, permission, authorizer, public
- Identity: CurrentUser, CurrentUserError, current_user
See the Getting Started tutorial for a complete REST example.