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