Creating your first Lambda function
AWS Lambda is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers.
Navigate to the AWS Lambda page in your cloud account in the region of your
Click Create function.
The Create function page opens.
Fill in the Basic information section:
- Keep the default Author from scratch option selected.
- Give your function a meaningful name for your use case.
- Select Java 8 on Amazon Linux 2 for Runtime.
- Choose x86_64 for Architecture.
- Click Create function.
Your function is created and its details are displayed.
In the Code source section of the Code
tab, click .
The Upload a file from Amazon S3 modal window appears.
Provide the Amazon S3 URL in the textbox.
- Click Save.
Navigate to the Runtime Settings on the
Code tab and click Edit to change the
Handler property to:
The details of your first function:
You can now start configuring your Lambda specifically for your flow and for your use case.