Create IAM Role

Create IAM Role

  1. Back to the IAM Console:
  • On the right menu, locate and click on Roles

  • Then click on Create Role

    Create Role

  1. In the Create role Interface:
  • For section Select trusted entity choose AWS Service.

  • For Use Case select Lambda from the dropdown.

    Create Role

  1. Attach IAM Policy:
  • In the Add Permission section, filter the policies just like we did before and select LambdaWatermarkS3 to attach.
  • Click on Next Create Role
  1. Name and create IAM Role
  • Next, name the role as LambdaWatermarkS3Role Create Role

  • Review and click on Create Role

    Create Role

  1. Finish Creating IAM Role

    Create Role

Great, now let’s go ahead and create our Lambda function.