IAM Role for Lambda
Create IAM Role
- Go to the IAM Role management interface.
Step 1: Select AWS service.
- Select Lambda.
- Click Next.
Step 2: Enter AWSLambdaBasicExecutionRole and check it.
- Add a custom policy to allow qldb:SendCommand and qldb:InsertDocument (if writing directly to QLDB).
Step 3: Name the role: AuditLoggerLambdaRole


