Created
May 26, 2012 00:43
-
-
Save przygode/2791510 to your computer and use it in GitHub Desktop.
Stratalux_RW
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
| { | |
| "Statement": [ | |
| { | |
| # | |
| #Setup explicit deny for specific actions that we don't want Stratalux employees to do. | |
| # | |
| "Action": [ | |
| "iam:CreateGroup", | |
| "iam:DeleteGroup", | |
| "iam:DeleteGroupPolicy", | |
| "iam:GetAccountSummary", | |
| "iam:PutGroupPolicy", | |
| "iam:PutUserPolicy", | |
| "iam:UpdateGroup", | |
| "iam:ListAccountAliases", | |
| "iam:CreateAccountAliases", | |
| "iam:DeleteAccountAliases", | |
| "ec2:CancelSpotInstanceRequests", | |
| "ec2:CreateSpotDatafeedSubscription", | |
| "ec2:DeleteSpotDatafeedSubscription", | |
| "ec2:DescribeReservedInstances", | |
| "ec2:DescribeReservedInstancesOfferings", | |
| "ec2:DescribeSpotDatafeedSubscription", | |
| "ec2:DescribeSpotInstanceRequests", | |
| "ec2:DescribeSpotPriceHistory", | |
| "ec2:PurchaseReservedInstancesOffering", | |
| "ec2:RequestSpotInstances" | |
| ], | |
| "Effect": "Deny", | |
| "Resource": [ | |
| "*" | |
| ] | |
| }, | |
| { | |
| # | |
| # Allow everything except these actions on our IAM groups. | |
| # | |
| "NotAction": [ | |
| "iam:GetGroup", | |
| "iam:ListGroupPolicies" | |
| ], | |
| "Effect": "Deny", | |
| "Resource": [ | |
| "arn:aws:iam::*:group/Stratalux_*", | |
| "arn:aws:iam::*:group/Customer_Admin" | |
| ] | |
| }, | |
| { | |
| # | |
| # Allow everything else that is not IAM. | |
| # | |
| "NotAction": "iam:*", | |
| "Effect": "Allow", | |
| "Resource": "*" | |
| }, | |
| { | |
| # | |
| # Allow everything else that's not explicitly denied above. | |
| # | |
| "Action": [ | |
| "*" | |
| ], | |
| "Effect": "Allow", | |
| "Resource": [ | |
| "*" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment