UNPKG

582 BJavaScriptView Raw
1/* eslint-disable indent */
2
3'use strict';
4
5class Function {
6 constructor({
7 identifier,
8 handler,
9 runtime,
10 timeout,
11 codeUri,
12 memorySize,
13 envVars,
14 initializer = undefined,
15 initializationTimeout = undefined
16 }) {
17 this.identifier = identifier;
18 this.handler = handler;
19 this.runtime = runtime;
20 this.timeout = timeout;
21 this.codeUri = codeUri;
22 this.memorySize = memorySize;
23 this.envVars = envVars;
24 this.initializer = initializer;
25 this.initializationTimeout = initializationTimeout;
26 }
27}
28
29module.exports = Function;