Functions
Defining a Function within a Service
Functions are defined inside the api.functions
table within the service manifest.
The authorizer_id
refers to the table ID within the service manifest of the authorizer you wish to attach.
HTTP Functions
The default API provider is Amazon API Gateway. Each service has a corresponding gateway endpoint, and specifying an HTTP verb and path for your function will create the corresponding routes & integrations. You can view details such as the generated API URL in your AWS Console.
Last updated
Was this helpful?