Possible to set a Resource-based Policy with Jets

In the AWS Console, Resource-based policies show up on the Permissions tab of the Lambda function. In my use case, I need to give an external account permission to execute a specific function in my app. The Resource-based policy works perfectly for this.

Is there a way to programmatically set this with Jets? I dug through the docs but it didn’t jump out at me.

Thanks for digging through the docs. There’s no current way to programmatically set this with Jets.

Took a quick look and it seems like the way to do this is with the AWS::Lambda::Permission. Jets creates this resource and sets the FunctionName and Principal automatically. So think would have to add the ability to adjust the Permission resource.

Would like this feature. Will have to dig into this in time. :face_with_monocle: Will consider PRs. So no way to do it yet, but hopefully at least this answers the question. :+1: