IAM Flashcards
What is a policy?
A JSON object to define the access of users/groups/roles to resources
How to setup billing alarm?
Setup a cloudwatch alarm with the Total Estimated Charges is greater than $X threshold. Use SNS to send an email in case the alarm is triggered.
Explain the structure of AMI policy
arn:aws:region:account_id:resource_type/instance
Explain the IAM policy privilege precedence
It is a json document that defines permissions via a list of statements
Everything is deny by default
Explicit deny > everything else
What is the purpose of permission boundary?
It sets the maximum permission the delegates identify will have. This is useful for delegating developers the ability to create roles for their lambda functions