title: How to invoke a lambda custom authorizer on every request?
body: <p>I have a lambda function with an authorizer sitting within an API gateway.</p>
  <p>I notice that when I call the lambda function, on the first request the authorizer is invoked as expected, authorization passes, IAM role is assumed and grants access to the lambda function.</p>
  <p>However, on subsequent requests, the authorizer is not invoked.</p>
  <p>I assume this is due to authorization caching.</p>
  <p>However, in the AWS console, in <code>API gateway &gt; Authorizers</code> the authorizer has the following configuration:</p>
  <pre><code>Authorizer ID: iiii2l
  
  Lambda Function
   foo-authorizerV1-dev-authorizer (eu-west-1)
  
  Lambda Invoke Role
   arn:aws:iam::0000000:role/foo-authorizerV1-dev-AuthorizerRole-AAAAAAA
  
  Lambda Event Payload
   Request
  
  Identity Sources
   deviceID (header)
  
  Authorization Caching
   Authorization not cached 
  </code></pre>
  <p>I would have thought <code>Authorization Caching</code> being set to <code>Authorization not cached </code> would mean that the authorizer would be invoked on every request.</p>
  <p>Am I missing something here?</p>