title: API Gateway IAM role to access DynamoDB
body: <p>So I am following <a href="https://aws.amazon.com/blogs/compute/using-amazon-api-gateway-as-a-proxy-for-dynamodb/" rel="nofollow noreferrer">this</a> Tutorial</p>
  
  <p>I have created a role and attached the <code>AmazonDynamoDBFullAccess</code> policy to it ...</p>
  
  <p><a href="https://i.stack.imgur.com/ek65E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ek65E.png" alt="enter image description here"></a></p>
  
  <p><strong>When I assign this role to Gateway API .... like this</strong></p>
  
  <p><a href="https://i.stack.imgur.com/gClXW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gClXW.png" alt="enter image description here"></a></p>
  
  <p>I keep getting this error ...</p>
  
  <blockquote>
    <p>Execution failed due to configuration error: API Gateway does not have
    permission to assume the provided role</p>
  </blockquote>
  
  <p>Isn't the "AmazonDynamoDBFullAccess" policy that I have applied to my role "MyDynamoRole" enough to give Gateway API necessary permissions ?</p>