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

Ravi Sir's Cards › AWS

Create a Lambda

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

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