Amazon RDS:允许以编程方式和在控制台中还原 RDS 数据库
此示例说明了了如何创建允许还原 RDS 数据库的基于身份的策略。此策略定义了程序访问和控制台访问的权限。
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:Describe*", "rds:CreateDBParameterGroup", "rds:CreateDBSnapshot", "rds:DeleteDBSnapshot", "rds:Describe*", "rds:DownloadDBLogFilePortion", "rds:List*", "rds:ModifyDBInstance", "rds:ModifyDBParameterGroup", "rds:ModifyOptionGroup", "rds:RebootDBInstance", "rds:RestoreDBInstanceFromDBSnapshot", "rds:RestoreDBInstanceToPointInTime" ], "Resource": "*" } ] }