Last active
December 21, 2017 21:22
-
-
Save georgmao/a1545f4915bd061e0d18c4ba8cb23a99 to your computer and use it in GitHub Desktop.
IAM Permissions for Team1
This file contains 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": [ | |
"apigateway:GET" | |
], | |
"Resource": [ | |
"arn:aws:apigateway:*::/*", | |
"arn:aws:apigateway:*::/restapis/*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"apigateway:PUT" | |
], | |
"Resource": [ | |
"arn:aws:apigateway:us-west-2::/restapis/jdy6k2gmn1/*" | |
] | |
}, | |
{ | |
"Effect": "Deny", | |
"Action": [ | |
"apigateway:PUT", | |
"apigateway:POST", | |
"apigateway:PATCH", | |
"apigateway:DELETE" | |
], | |
"Resource": [ | |
"arn:aws:apigateway:us-west-2::/restapis/jdy6k2gmn1/resources/zyx7el", | |
"arn:aws:apigateway:us-west-2::/restapis/jdy6k2gmn1/resources/zyx7el/*", | |
"arn:aws:apigateway:us-west-2::/restapis/jdy6k2gmn1/resources/zyx7el/methods/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment