Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我需要为这两个rds设置哪些权限。从_s3()还原_db_instance_?_Python_Amazon Web Services_Amazon S3_Boto3 - Fatal编程技术网

Python 我需要为这两个rds设置哪些权限。从_s3()还原_db_instance_?

Python 我需要为这两个rds设置哪些权限。从_s3()还原_db_instance_?,python,amazon-web-services,amazon-s3,boto3,Python,Amazon Web Services,Amazon S3,Boto3,我正在尝试从S3存储桶上的.bak文件恢复AWS云上的rds 我一直遇到以下错误: botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the RestoreDBInstanceFromS3 operation: IAM role ARN value is invalid or does not include the required permissions for: S

我正在尝试从S3存储桶上的.bak文件恢复AWS云上的rds

我一直遇到以下错误:

botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the RestoreDBInstanceFromS3 operation: IAM role ARN value is invalid or does not include the required permissions for: S3_SNAPSHOT_INGESTION
我猜错误在我的字段值范围内:

S3IngestionRoleArn='string'
我找不到任何资源需要什么确切的权限,或者这个字段想要什么确切的权限


没有关于错误的信息:“S3_快照_摄取”

我刚刚遇到同样的问题,我必须使用
AmazonS3FullAccess
AmazonRDSFullAccess
创建一个新角色并使用它

这帮助我找到了解决办法