Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.37 KB

Route.md

File metadata and controls

35 lines (26 loc) · 1.37 KB

Route

Properties

Name Type Description Notes
path String URL path that will be matched to this route [optional]
image String Name of Docker image to use in this route. You should include the image tag, which should be a version number, to be more accurate. Can be overridden on a per route basis with route.image. [optional]
headers Map<String, List<String>> Map of http headers that will be sent with the response [optional]
memory Integer Max usable memory for this route (MiB). [optional]
type TypeEnum Route type [optional]
format FormatEnum Payload format sent into function. [optional]
config Map<String, String> Route configuration - overrides application configuration [optional]
timeout Integer Timeout for executions of this route. Value in Seconds [optional]
idleTimeout Integer Hot functions idle timeout before termination. Value in Seconds [optional]

Enum: TypeEnum

Name Value
SYNC "sync"
ASYNC "async"

Enum: FormatEnum

Name Value
DEFAULT "default"
HTTP "http"
JSON "json"