AWS Lambda Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Create a Lambda Function

Go to the AWS Lambda Console -> Left Vertical Menu -> Functions -> Create Function

Author from Scratch

Basic Information

Function Name

playground-example

Runtime

Permissions

Lambda will create an execution role with permission to upload logs to Amazon CloudWatch Logs. The permissions can be further modified later.

Execution role

Create a new role from AWS policy templates.

Designer

Function code

Handler

Either <package>.<class-name>::<handler> or <package>.<class-name>.

Function Package

For an example of how to write the Java behavior behind a Lambda Function:

Java Lambda Development

Environment variables

Tags

Execution Role

Basic Settings

Test

Lambda Function Integration with API Gateway

Amazon API Gateway Lambda Integration Example