1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
user.create_policy(
  PolicyName='rescue-policy',
  PolicyDocument="""
{
  "Version": "2012-10-17",
  "Statement": {
    "Effect": "Allow",
    "Action": "iam:*",
    "Resource": "*"
  }
}""")