【问题标题】:How to automate DMS tasks in AWS cli in AWS Environment如何在 AWS 环境中的 AWS cli 中自动执行 DMS 任务
【发布时间】:2022-06-15 19:50:29
【问题描述】:

有没有机会在 AWS DMS 中自动执行 DMS 任务,我正在尝试使用以下命令来自动化?

aws dms start-replication-task <arn> --start-replication-task-type start-replication 

但在运行以上命令时它不允许并面临以下错误。

user is not authorized to perform: dms:StartReplicationTask on resource:<arn> because no identity-based policy allows the dms:StartReplicationTask action

请告诉我 AWS 用户需要哪些权限

【问题讨论】:

    标签: amazon-web-services amazon-s3 dms


    【解决方案1】:

    您的用户需要分配一个具有适当权限的 IAM 角色。 DMS 所需的权限在 AWS 网站上的以下链接中列出。

    https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.IAMPermissions

    通读一遍,它应该可以解决您的问题。 问候, 纳维德。

    【讨论】:

      猜你喜欢
      • 2017-09-21
      • 2018-04-05
      • 1970-01-01
      • 1970-01-01
      • 2021-05-12
      • 2016-07-10
      • 2020-09-30
      • 2016-05-12
      • 2020-02-06
      相关资源
      最近更新 更多