Created
September 4, 2019 08:39
-
-
Save takayukioda/c6cc20ac30a3ac108dae0d15a6df9d1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowAllActions", | |
| "Effect": "Allow", | |
| "Action": "*", | |
| "Resource": "*" | |
| } | |
| ] | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowAlmostAllActions", | |
| "Effect": "Allow", | |
| "NotAction": [ | |
| "iam:*", | |
| "aws-portal:*" | |
| ], | |
| "Resource": "*" | |
| }, | |
| { | |
| "Sid": "AllowIAMViewAccess", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "iam:GenerateServiceLastAccessedDetails", | |
| "iam:Get*", | |
| "iam:List*" | |
| ], | |
| "Resource": "*" | |
| }, | |
| { | |
| "Sid": "AllowCreateAccessKey", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "iam:CreateAccessKey" | |
| ], | |
| "Resource": [ | |
| "arn:aws:iam::*:user/${aws:username}" | |
| ] | |
| } | |
| { | |
| "Sid": "DenyBillingAccess", | |
| "Effect": "Deny", | |
| "Action": [ | |
| "aws-portal:*Account", | |
| "aws-portal:ModifyBilling", | |
| "aws-portal:*PaymentMethods" | |
| ], | |
| "Resource": "*" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment