We can easily create a new Lambda function from the management console by navigating to the AWS Lambda section and execute the following steps:
- Click on Create function to begin the process:
- The Create function dialog will give us the option to select the following:
- Author from scratch: Write our own function that will be completely custom
- Blueprints: Use a template that AWS has provided for us to help with authoring the function
- AWS Serverless Application Repository: A repository for predefined Lambda functions
- We will select the Author from scratch option, to write our own function in this scenario:
- In the Author from scratch section, we need to name our function, select a runtime, and create or select an existing role if we have one, so that the Lambda function will have the necessary permissions to execute the code:
- After the function...