Spotinst Functions provides useful runtime information in execution time, through the context
request parameter.
Context Object Properties
functionId
– The function ID of the executed function.functionName
– The function name of the executed function.functionVersion
– The function version being executed.environmentId
– The environment ID of the function being executed.invocationId
– The invocation ID used for current function invocation.memoryLimitInMB
– The executed function memory limit in MB.timeoutInMilli
– The executed function timeout in Milliseconds.