AWS Policies

Policy structure

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "kms:Decrypt",
            "Resource": "arn:aws:kms:eu-central-1:1234567:key/410e932b-6c53-4555-bd91-334554a187d4"
        }
    ]
}

EC2 Actions

Actions can be seen in the following link: link

To each action name prepend “ec2:” and then attach it to policy

For action StartInstances, a permission action would be “ec2:StartInstances

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *