0 votes
1 view
in AWS by (19.2k points)

Can anyone guide me through the steps for creating an AWS Lambda function to display Hello World using Java?

1 Answer

0 votes
by (44.6k points)

Steps to create a Lambda Function:

  1. Login to your AWS account and open the AWS Lambda console
  2. Click on the Create Function button
  3. Go ahead with Author from scratch and choose Java in the runtime (or any runtime you need)
  4. Then go ahead and create the function
  5. After the function is successfully created, if you scroll down you will see a sample code and that is your Hello World program
  6. Now, go to the top and click on Test 
  7. Keep everything at default and click on the button to test your function
  8. You will see the execution results below
Welcome to Intellipaat Community. Get your technical queries answered by top developers !