0
0
{{ }} Substitute variables
Adjust the variable values according to your preference.
Policy Code
Referenced from: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html
1{
2 "Version": "2012-10-17",
3 "Statement": [
4 {
5 "Effect": "Allow",
6 "Principal": {
7 "AWS": "arn:aws:iam::{{aws-accountId}}:role/{{iam-role-name}}"
8 }
9 "Action": "sts:AssumeRole"
10 }
11 ]
12}
Get the IAM Pulse Check Newsletter
We send out a periodic newsletter full of tips & tricks, contributions from the community, commentary on the industry, relevant social posts, and more.
Checkout past issues for a sampling of the goods.