1. IAM Policies

Definition:

IAM Policies are JSON-based documents that define permissions — what actions are allowed or denied on specific AWS resources.

Key Elements:

Example Policy — Read Access to S3 Bucket

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:ListBucket"
      ],
      "Resource": [
        "arn:aws:s3:::example-bucket",
        "arn:aws:s3:::example-bucket/*"
      ]
    }
  ]
}


2. Ways to Access AWS

Method Description Use Case
AWS Management Console Web-based UI for managing AWS resources. Beginners or quick configuration
AWS CLI (Command Line Interface) Command-line tool using access keys. Scripting, automation, DevOps workflows
AWS SDKs Language-specific APIs (Python, Node.js, Java, etc.) Application-level AWS integration
AWS CloudShell Browser-based CLI with preconfigured credentials Quick CLI use without local setup
AWS Tools for PowerShell PowerShell commands to manage AWS Windows admins & automation
AWS API Direct HTTPS calls to AWS services Advanced automation or integrations

3. IAM Roles

Definition: