Configuring the Lambda function

Having created the function, the next steps are as follows:

Note the following about the preceding screenshot:

  • In the Designer section, we can wire up the preconfigured event sources from other AWS offerings as an upstream trigger to the function. In addition, we can configure access to downstream and allied components, like other Lambda functions, DynamoDB, and CloudWatch logs.
  • The important section is the Function code section, which allows for choosing to upload the deployment package as a .zip or .jar. It also allows us to configure the handler name in the following format:
packageName.ClassName::methodName ...

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.