AWS Lambda Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 34: Line 34:


====Function Package====
====Function Package====
For an example of how to write the Java behavior behind a Lambda Function: {{Internal|AWS Java Lambda Development|Java Lambda Development}}


==Environment variables==
==Environment variables==

Revision as of 00:43, 8 March 2019

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