如何修复 "User not authorized to perfom rds:DescribeOrderableDBInstanceOption. AWS RDS"?

How to fix "User not authorized to perfom rds:DescribeOrderableDBInstanceOption. AWS RDS"?

我正在寻找 json 代码以将 rds:DescribeOrderableDBInstanceOption 政策添加到我的 IAM AWS.just 就像下面给出的代码以添加 rds:DescribeDBEngineVersions 政策。

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": "rds:DescribeDBEngineVersions",
            "Resource": "*"
        }
    ]
}

谢谢!

Action 是一个列表,因此您可以向其中添加新元素:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "rds:DescribeDBEngineVersions",
                "rds:DescribeOrderableDBInstanceOptions"
            ],
            "Resource": "*"
        }
    ]
}