Ravi Sir's Cards › AWS
Least-privilege IAM for the lab
This revision card explains Least-privilege IAM for the lab. It starts from the need that administratorAccess on a student role is a foot-gun. It describes basic logging policy + inline DynamoDB actions on one table ARN. The how-to section notes putItem GetItem DeleteItem Scan (lab list) only on yourname-notes. An example on the card is wrong table name in policy , then AccessDenied in CloudWatch.
Read card text
What this card says
Why do we need it?
AdministratorAccess on a student role is a foot-gun.
What is it?
Basic logging policy + inline DynamoDB actions on one table ARN.
How to do it
PutItem GetItem DeleteItem Scan (lab list) only on yourname-notes.
Example
Wrong table name in policy → AccessDenied in CloudWatch.