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

Ravi Sir's Cards › AWS

Lambda execution role

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

Lambda execution role Lambda also needs a role — and basic CloudWatch Logs permissions or you see no logs. Create a Lambda execution role trusted by lambda.amazonaws.com; attach AWSLambdaBasicExecutionRole plus your S3 read policy. Function › Configuration › Permissions › use the new role; test an S3 GetObject handler. Test event succeeds; CloudWatch log stream shows START/END without AccessDenied
Lambda execution role · Download PNG
Read card text

What this card says

Why do we need it?

Lambda also needs a role — and basic CloudWatch Logs permissions or you see no logs.

What is it?

Create a Lambda execution role trusted by lambda.amazonaws.com; attach AWSLambdaBasicExecutionRole plus your S3 read policy.

lambda.amazonaws.com

How to do it

Function › Configuration › Permissions › use the new role; test an S3 GetObject handler.

Example

Test event succeeds; CloudWatch log stream shows START/END without AccessDenied on logs.

See all AWS revision cards