Working with resource-based policies in Lambda - AWS Lambda

Learn how resource-based permissions policies for Lambda functions and layers let you grant permissions to other AWS accounts or organizations to use your functions on a per-resource basis.