Created
July 3, 2020 14:48
-
-
Save bmccann36/4bc10204fcbc1bfa533f83e50853fca4 to your computer and use it in GitHub Desktop.
zeebe lambda example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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