Method: Jets::Resource::Lambda::Function#default_runtime

Defined in:
lib/jets/resource/lambda/function.rb

#default_runtimeObject



146
147
148
149
150
151
152
153
# File 'lib/jets/resource/lambda/function.rb', line 146

def default_runtime
  map = {
    node: "nodejs8.10",
    python: "python3.6",
    ruby: "ruby2.5",
  }
  map[@task.lang]
end