Setting up a project

We will create a single project that contains all the various Kotlin files. Each Kotlin file will contain one lambda function.

Once you have the IDE downloaded and installed, perform the following steps:

  1. Launch it and create a project. We will use Gradle as a build system. 
  2. Select Kotlin (Java) as an option and deselect all other options:

  1. Set up GroupId and ArtifactId. Put ServerlessWithKotlinAWS as the name. I avoid having white spaces and special characters as values.
  1. Press Next:

  1. Uncheck the Create separate module ...

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.