0

I'm trying to make an IAM policy through which I can allow the user to run the tests in API Gateway without making changes to the resources. What policy should I grant the user?

halfer
  • 19,824
  • 17
  • 99
  • 186

1 Answers1

0

Use below policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "execute-api:Invoke",
            "Resource": "*"
        }
    ]
}

If you need more details, please check this Doc: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-control-access-using-iam-policies-to-invoke-api.html