Getting “Access Denied” error when trying to delete an object from S3 with a Lambda function
I’m trying to delete an object from S3 with the JavaScript SDK v3 using the DeleteObjectCommand(), but I’m getting an Access Denied error. The PutObjectCommand and GetObjectCommand functions work perfectly. Here is my delete object code:
Getting “Access Denied” error when trying to delete an object from S3 with a Lambda function
I’m trying to delete an object from S3 with the JavaScript SDK v3 using the DeleteObjectCommand(), but I’m getting an Access Denied error. The PutObjectCommand and GetObjectCommand functions work perfectly. Here is my delete object code:
Getting “Access Denied” error when trying to delete an object from S3 with a Lambda function
I’m trying to delete an object from S3 with the JavaScript SDK v3 using the DeleteObjectCommand(), but I’m getting an Access Denied error. The PutObjectCommand and GetObjectCommand functions work perfectly. Here is my delete object code:
Getting “Access Denied” error when trying to delete an object from S3 with a Lambda function
I’m trying to delete an object from S3 with the JavaScript SDK v3 using the DeleteObjectCommand(), but I’m getting an Access Denied error. The PutObjectCommand and GetObjectCommand functions work perfectly. Here is my delete object code: