IAM Policy

AWS Identity and Access Management (IAM) Policy

ℹ️ Overview

An AWS Identity and Access Management (IAM) Policy is a document that defines fine-grained access permissions in AWS. IAM Policies can be attached to:

  • IAM Groups
  • IAM Users
  • IAM Roles

🔒 Structure and Scope

An IAM Policy consists of key components:

  • Effect: Specifies whether to Allow or Deny permissions
  • Action: The specific actions that are allowed
  • Resource: The AWS resources to which the action applies
  • Condition: Additional conditions (if any)

💡 Pro Tip: Always follow the principle of least privilege when creating IAM Policies. Grant only the permissions necessary for users to perform their tasks.

⚠️ Important Note: When an IAM Policy is attached to an entity (User/Group/Role), permissions take effect immediately. Double-check the permission scope before applying.

AWS IAM