Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Create a Lambda

This revision card explains Create a Lambda. You want code to run only when needed, with no server. It describes needs an execution role trusted by lambda.amazonaws.com. The how-to section covers how to create-function with --zip-file fileb — //fn.zip. An example on the card is invoke with --cli-binary-format raw-in-base64-out.

Create a Lambda You want code to run only when needed, with no server. Needs an execution role trusted by lambda.amazonaws.com. create-function with --zip-file fileb://fn.zip. invoke with --cli-binary-format raw-in-base64-out.
Create a Lambda · Download PNG
Read card text

What this card says

Why do we need it?

You want code to run only when needed, with no server.

What is it?

Needs an execution role trusted by lambda.amazonaws.com.

AWSLambdaBasicExecutionRole

How to do it

create-function with --zip-file fileb://fn.zip.

--handler app.handler

Example

invoke with --cli-binary-format raw-in-base64-out.

StatusCode 200

See all AWS revision cards