简体   繁体   English

运行 AWS Backup start_copy_job 函数时权限不足

[英]Insufficient privilege when running AWS Backup start_copy_job fumction

I'm trying to start a copy job to copy RDS snapshot from one backup vault to another backup vault in diferent region using lambda function but getting error with this message:我正在尝试启动复制作业以使用 lambda function 将 RDS 快照从一个备份保管库复制到另一个备份保管库,但收到此消息时出错:

An error occurred (AccessDeniedException) when calling the StartCopyJob operation: Insufficient privileges to perform this action

function call is like this- function的电话是这样的——

        result =conn.start_copy_job(RecoveryPointArn='my-arn',
            SourceBackupVaultName='my-vault',
            DestinationBackupVaultArn='my-dest-vault-arn',
            IamRoleArn='AWSBackupDefaultServiceRole')

Following permissions assigned to lambda role-以下权限分配给 lambda 角色 -

All resources   
Allow: backup:*
Allow: backup:CopyFromBackupVault
arn:aws:backup:*:*:backup-vault:*   
Allow: backup:DescribeBackupVault
Allow: backup:CopyIntoBackupVault

Could someone explain what I'm missing here?有人可以解释我在这里缺少什么吗?

I need to provide full arn of role AWSBackupDefaultServiceRole.我需要提供完整的角色 AWSBackupDefaultServiceRole。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 存在现有快照时的 AWS Backup 复制作业成本 - AWS Backup copy job costs when existing snapshot exists 运行 AWS 批处理作业时,收到 Received Resourceinitializationerror: failed to validate logger args: no such host - When running AWS batch job, receive a Received Resourceinitializationerror: failed to validate logger args: no such host 从 API 运行 AWS Batch 作业 - Running an AWS Batch job from an API Get-AzureADApplication 和 Set-AzureADApplication 等操作的权限不足 - Insufficient privilege for operation like Get-AzureADApplication and Set-AzureADApplication 在 AWS Fargate 上部署一个容器(当已经有一个容器在运行时需要比平时更多的时间来启动) - Deploying a container on AWS Fargate (takes more than usual time to start when there is already a container running) 使用 R 在 AWS Batch 中运行多节点并行作业 - Running multi-node parallel job in AWS Batch using R 在 OneZone 中使用 aws start-restore-job 恢复 EFS - Recover EFS with aws start-restore-job in OneZone 如何在作业 AWS Glue 中获取开始和结束时间? - How to get Start and End time in a Job AWS Glue? AWS RDS 自动备份 - AWS RDS automated backup 运行胶水作业时出现 InvocationTargetException - getting InvocationTargetException when running my glue job
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM