What is the MOST secure way to grant the Lambda function access to the S3 bucket and the DynamoDB table?

2 Comments

  1. Christine
    Author

    I believe the answer is:
    Create an IAM role for the Lambda function. Attach the existing IAM policy to the role. Attach the role to the Lambda function.

  2. Frank
    Author

    In my experience, the answer is:
    Create an IAM role for the Lambda function. Attach the existing IAM policy to the role. Attach the role to the Lambda function.

Leave a Reply to Frank Cancel reply

Your email address will not be published. Required fields are marked *

5 × 1 =