Created
February 27, 2015 02:20
-
-
Save simeji/94454b59007c9856e5e1 to your computer and use it in GitHub Desktop.
特定のタグのついたセキュリティグループ内容を編集だけできるIAMポリシー ref: http://qiita.com/simeji/items/dc32b2dec0362376258f
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": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"ec2:AuthorizeSecurityGroupEgress", | |
"ec2:AuthorizeSecurityGroupIngress", | |
"ec2:RevokeSecurityGroupEgress", | |
"ec2:RevokeSecurityGroupIngress" | |
], | |
"Condition": { | |
"StringLike": { | |
"ec2:ResourceTag/{Tagname}": "{TagValue}" | |
} | |
}, | |
"Resource": [ | |
"*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment