AWSLambdaException:您的访问权限已被S3拒绝,请确保您的请求凭据具有GetObject for bucket的权限

时间:2018-05-23 06:43:22

标签: amazon-web-services amazon-s3 aws-lambda aws-codecommit

我正在尝试使用jenkins,代码提交和s3部署我的lambda函数。在post-commit hook上传我的lambda函数时,我收到了以下错误,

    com.amazonaws.services.lambda.model.AWSLambdaException: Your access has been denied by S3, please make sure your request credentials have permission to GetObject for bucket/Version.zip. 
S3 Error Code: AccessDenied. S3 Error Message: Access Denied (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException)

有人知道吗?请帮忙....谢谢你......

0 个答案:

没有答案