in aws-lambda-function-resolvers/src/main/java/jetbrains/buildServer/runner/lambda/function/DefaultImageLambdaFunctionResolver.kt [22:38]
override fun getFunctionRequest(): CreateFunctionRequest {
val storage = EphemeralStorage().apply {
size = lambdaStorage
}
return CreateFunctionRequest().apply {
functionName = lambdaFunctionName
code = getFunctionCode()
role = iamRole
handler = LambdaConstants.FUNCTION_HANDLER
publish = true
packageType = "Zip"
ephemeralStorage = storage
runtime = LambdaConstants.DEFAULT_LAMBDA_RUNTIME
memorySize = lambdaMemory
timeout = LambdaConstants.LAMBDA_FUNCTION_MAX_TIMEOUT
}
}