In this blog post, we’ll outline how to create a custom IAM role, an AWS Lambda function, and then assign the custom role to the Lambda function. Additionally, we’ll also provide another option to add add permissions to our Lambda function using the .addToRolePolicy method. Before we start building the AWS Lambda and IAM Role construct, you’re required to have done the following prerequisites…

Source