From Bright Pattern Documentation
Jump to: navigation, search
• 5.19 • 5.8

Create a Lambda Function

After creating an Identity and Access Management (IAM) user and group, the next step in the process is to create a function (i.e., a program) in the AWS Lambda service. You may create a function from scratch, from an existing template, or browse the app repository.

Steps

  1. Sign in to your AWS account and then go to the AWS Management Console.

  2. Search the Services for Lambda to get to the AWS Lambda Dashboard.

  3. From here, click the Create function button.

    Lambda-Function-0-5399maint.PNG


  4. Decide how you would like to create your function. In this example, we choose Author from scratch, give the function a name, define the runtime (i.e., the programming language the function will be written in), then click Create function.

    Lambda-Function-2-5399maint.PNG


  5. If you are creating your function from scratch, enter your function in Function code, then click Save.

    Lambda-Function-3-5399maint.PNG


  6. (Optional) If you configured your function from scratch, you may choose to Configure test events.

    Lambda-Function-4-5399maint.PNG


Once your test event is created, you will click the Test button.

Lambda-Function-4-1-5399maint.PNG


The results of your test can be viewed in the Function code section.

Lambda-Function-5-5399maint.PNG
< Previous | Next >