Skip to content

Kotless DSL Overview

Vladislav.Tankov edited this page Jun 13, 2020 · 2 revisions

Kotless DSL is a set of interfaces to various subsystems helping you to build your serverless application.

It includes:

  • HTTP API — DSL to create HTTP-based applications;
  • Events API — annotations to subscribe to events;
  • Lifecycle Control — interfaces to control and extend lambda lifecycle;
  • Permissions Granting — annotations to grant permissions to resources in a declarative way.

Kotless DSL is used during preprocessing and in runtime. For example, HTTP API contains @Get annotation that will be used in a preprocessing stage to generate HTTP routes deployment description and in runtime to dispatch requests to it.

Number of provided APIs will continue to grow with the growth of Kotless itself. Furthermore, each API may grow to support more use cases.