In this video, learn how to import the AWS library into your Kotlin Lambda app.
- [Instructor] Maven allows us to use libraries built…by others in our application.…For us to use the Spark framework,…we need to include it's package in our POM file.…Look for POM.xml in our root directory…and double click to open it.…Look for the junit package.…Below it, we'll add Spark.…We're going to put in a dependency.…For the group ID we're going to say…com.sparkjava.…
For the artifact ID it is Spark dash core.…And for the version,…it is going to be dollar sign curly brace…spark dot version.…Notice that we are including the…version as a property variable.…We need to add it to our list of properties.…So we come up here.…Here's our list of properties.…We're going to say…spark dot version…is 2.6.0.…
Adding our version numbers as properties makes it…easier to upgrade them later.…Also note, we are using the java version of spark.…There's a Kotlin DSL version in development.…But it is an alpha version which is not yet…suitable for production code.…But this isn't a problem since Kotlin is 100%…java compatible.…Let's go back to hello kt.…
- Creating an AWS Lambda account
- Creating a simple Lambda function in Node.js
- Testing the Lambda function
- Creating Kotlin apps with Spark, IntelliJ IDEA, Maven, and the AWS library
- Binding the API gateway to your Lambda function
- Adding data with MongoDB
- Developing and debugging your Lambda function locally
Skill Level Intermediate
1. About AWS Lambda
2. Hello Lambda
3. Hello Kotlin Lambda
4. Making Your Lambda Web Visible
5. Adding Data with MongoDB
6. Developing and Debugging Locally
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.