IronFunctions.Route

December 1, 2016 ยท View on GitHub

Properties

NameTypeDescriptionNotes
pathStringURL path that will be matched to this route[optional]
imageStringName 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{String: [String]}Map of http headers that will be sent with the response[optional]
memoryNumberMax usable memory for this route (MiB).[optional]
typeStringRoute type[optional]
formatStringPayload format sent into function.[optional]
maxConcurrencyNumberMaximum number of hot containers concurrency[optional]
config{String: String}Route configuration - overrides application configuration[optional]
timeoutNumberTimeout for executions of this route. Value in Seconds[optional]

Enum: TypeEnum

  • sync (value: "sync")

  • async (value: "async")

Enum: FormatEnum

  • default (value: "default")

  • http (value: "http")

  • json (value: "json")