Create Role for Lambda

Create Role for Lambda Function

  1. Access AWS Management Console
  • Find IAM
  • Select IAM

Create role for lambda function

  1. In the IAM interface
  • Select Roles
  • Select Create role

Create role for lambda function

  1. In the Select trusted entity interface
  • Select AWS service
  • Select Lambda
  • Select Next

Create role for lambda function

  1. In the Add permissions interface
  • Find AmazonEC2FullAccess
  • Select AmazonEC2FullAccess

Create role for lambda function

  1. Next, similarly to the previous step
  • Find CloudWatchFullAccess
  • Select CloudWatchFullAccessV2
  • Select Next

Create role for lambda function

  1. In the Name, review, and create section
  • Enter dc-common-lambda-role for Role name

Create role for lambda function

  1. Review and select Create role

Create role for lambda function

  1. Successfully created the role for Lambda Function

Create role for lambda function