Developing in Kotlin: Overview
With Cloud Functions, you can run applications written in Kotlin
Name |
Kotlin version |
JVM version |
Operating system |
Preloaded |
Supported by the service |
kotlin20 |
2.0 |
21 |
Ubuntu 22.04 LTS |
No |
Yes |
You can connect the SDK library
When creating a function version, the builder will automatically install all declared dependencies required for the function to run. To learn more about the requirements for declaring dependencies, see Building and managing Kotlin function dependencies.
The runtime environment automatically loads your code and invokes the request handler you specified. The handler arguments depend on the Kotlin programming model being used.
Cloud Functions automatically captures an application's standard output streams and sends them to the centralized logging system in Yandex Cloud. This system also logs service records about the start and end of each function and any errors that occur during its execution. For more information about the log format, see Logging Kotlin function runtime.
To learn more about how to write in Kotlin or how certain constructs work, we recommend taking a tour of Kotlin