A video processing application uses an AWS Lambda function to create image thumbnails from larger images. The AWS Lambda function needs read and write access to an Amazon S3 bucket configured in the same AWS account. Which is the most efficient solution to provide the necessary access permissions to the AWS Lambda function?