Skip to content

Instantly share code, notes, and snippets.

@georgmao
Last active December 21, 2017 21:22
Show Gist options
  • Save georgmao/a1545f4915bd061e0d18c4ba8cb23a99 to your computer and use it in GitHub Desktop.
Save georgmao/a1545f4915bd061e0d18c4ba8cb23a99 to your computer and use it in GitHub Desktop.
IAM Permissions for Team1
{
"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