Steps to create a role that will be used for lambda execution are given below
Launch IAM, choose Policies from left panel and click Create policy button.
Click JSON tab and paste the policy provided below.
Then click Next: Tags button followed by Next: Review button on next screen.
Name the policy as QSEmbedPolicy
Scroll down and click Create policy button.