title: How to wildcard aws lambda function permission in resource
body: <p>Hi I have a lot of lambda functions that needs <code>lambda:UpdateFunctionCode</code> permission. Its too troublesome to input all the functions' ARNs in the resource field. All my functions has a prefix, when I try to use <code>prefix*</code> in the resource field it does not allow me. </p>
  
  <p>This is what I tried but didn't work.</p>
  
  <pre><code>"arn:aws:lambda:ap-southeast-1:xxxxxxxx:function:prefix*"
  </code></pre>
  
  <p>Is there a way I can use a wildcard for this?</p>
  
  <p>Edit: added a fake account number.</p>