Skip to content

Instantly share code, notes, and snippets.

@bmccann36
Created July 3, 2020 14:48
Show Gist options
  • Save bmccann36/4bc10204fcbc1bfa533f83e50853fca4 to your computer and use it in GitHub Desktop.
Save bmccann36/4bc10204fcbc1bfa533f83e50853fca4 to your computer and use it in GitHub Desktop.
zeebe lambda example
- PolicyName: zeebeWorkerInvokePolicy
PolicyDocument:
Version: '2012-10-17'
Statement: # we are granting the following permissions to the following resources
- Effect: Allow
Action:
- lambda:InvokeFunction
- lambda:InvokeAsync
# resolves to 'arn:aws:lambda:*:<your-acct-id>:function:trip-booking-functions*'
Resource:
- { 'Fn::Join': ['', ['arn:aws:lambda:', '*:',{ Ref: 'AWS::AccountId' }, ':function:', '${self:service}*']] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment