Skip to content

AWS IAM Policy

Posted on:September 15, 2022 at 05:30 PM

tp.web.random_picture

My notes on AWS IAM Policy.

Table of contents

Open Table of contents

IAM Policy Overview

IAM Policies Structure

[!INFO] Latest Policy Version “Version”: “2012-10-17”

{
  "Version": "2012-10-17",
  "Id": "S3-Account-Permissions",
  "Statement": [
    {
      "Sid": "1",
      "Effect": "Allow",
      "Principal": {
        "AWS": ["arn:aws:iam::12345678912:root"]
      },
      "Action": ["s3:GetObject", "s3:PutObject"],
      "Resource": ["arn:aws:s3:::myBucket/*"]
    }
  ]
}

References