Run:
export LAMBDA_BUCKET=<your-lambda-bucket> && ./deploy.sh
This stack contains multiple examples of Lambda function declarations using CloudFormation and SAM.
Creates a simple Lambda function and gives the Lambda permission to use CloudWatch logs. This is an alternative if you don't want to use managed policies.
This example demonstrates how to use managed and unmanaged policies together for one Lambda function.
Example to show which policies are needed if you want to invoke another Lambda function.