Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

In this assignment, you will be creating and testing a Lambda. You will enhance it and validate that it works.PromptThe purpose of this assignment is to get you accustomed to creating and modifying...

1 answer below »

In this assignment, you will be creating and testing a Lambda. You will enhance it and validate that it works.


Prompt


The purpose of this assignment is to get you accustomed to creating
and modifying Lambdas. Lambdas will be further explored in Module Five,
as they are an integral part of the AWS ecosystem. Emphasis is placed on
refactoring and testing the echo function.


Follow the instructions in the CS 470 Module Four Assignment One Guideto complete your tasks.


Specifically, you must address the following rubric criteria:


  • Create the Lambda and produce a serverless compute function.
  • Test the Lambda by creating and naming a test case.
  • Create an echo function by refactoring the lambda.
  • Test the echo function using a new case with the REST query parameter.

Guidelines for Submission


Produce and submit the following screenshots (or code) to Brightspace. They align with the steps in your assignment guide:


  • First serverless compute function
  • Execution results
  • EchoWithQuery execution results
  • Screenshot or JSON for the created test event “EchoWithQuery”
  • Source code or screenshot for index.js (about 22 lines of code)
    AWS student environment login - https://awsacademy.instructure.com/login/canvas
    Username - XXXXXXXXXX
    Password - QkG7bZCvswq4Y4G
Answered 3 days After Nov 15, 2022

Solution

Manikandan answered on Nov 18 2022
55 Votes
Creating Lambda Function:
1) Open AWS Lambda. You can get it by searching in search box
2) Then you need click Create Function button which is shown in orange colour button. After clicking create Function button following page will be shown
3) Enter the function name “EchoFunction”.
4) Set the runtime to “Node.js 12.x”.
5) Leave the permissions option set to Use an existing role. And existing role can be selected as LabRole
Click the orange Create Function button in the lower-right corne
6) After clicking Create Function Button following page is displayed
7) Click the Test tab in the left-hand side of the screen (see the red a
ow).
8) In the Test event box, enter an...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here