Create a Hello World Lambda Function
                Adobe πŸ‘Ά Easy AWSCloud
                Beginner Mode

                Start your terminal to use beginner mode.

                Scenario

                Your team needs a simple Lambda function for a greeting microservice.

                Task

                1. Create a Lambda function named hello-function that:

                  • Takes a name field from the event input
                  • Returns the string Hello <name> (e.g. input {"name": "World"} returns "Hello World")
                  • Uses the pre-created IAM role lambda-execution-role
                2. Invoke the function with {"name": "World"} and verify it returns "Hello World"


                Note: You can use Python (python) or Node.js (nodejs) as the runtime. You can use either the AWS Management Console or AWS CLI to complete this task.

                AWS Console Environment

                Launch an AWS environment to solve this challenge.

                Sign In