How to create a Lambda function, Java 8, AWS Lambda, SAM CLI and testing/debuging locally.

  1. Create an AWS user with programmatic access (tutorial user is aws-sam-developer-user). Save the credentials locally.
Verify SAM version
run ‘init SAM’ for sample Lambda function.
HelloWorld project in STS.
New version of the project.
New version of template.yml file.
sam build and the lambda function is ready.
Run lambda function locally.
Debug configuration.
Local debug.

--

--

--

software developer, software architect, software something.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The soft skills software developers should master

I Don’t Git It (Version Control)

GitOps with Kubernetes: Managing Application using GitLab and Argo CD

non-SARGable t-sql kill CPU

Open Source APIs for Robot Framework

Guide to add custom icons to flutter project

Title image

What I Learned in 2019

DREP iOS Mobile Client Official Launch | Support BTC/ETH/DREP and all ERC 20Tokens, Internal…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
rizahorasan

rizahorasan

software developer, software architect, software something.

More from Medium

hbase, zookeeper, sqoop, mysql Installation on Windows WSL 2 on Ubuntu 20.04 LTS (Single Node)

Bionitio | Logging and errors

Should Java developers give a chance to groovy on grails in 2022?

Basics of MySQL InnoDB Cluster