本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWSServiceRolePolicyForBackupRestoreTesting
描述:此策略包含还原测试以及清理测试期间创建的资源的权限。
AWSServiceRolePolicyForBackupRestoreTesting
是一项 AWS 托管式策略。
使用此策略
此附加到服务相关角色的策略允许服务代表您执行操作。您无法将此策略附加到您的用户、组或角色。
策略详细信息
-
类型:服务相关角色策略
-
创建时间:2023 年 11 月 10 日 23:37 UTC
-
编辑时间:2024 年 2 月 14 日 22:42 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSServiceRolePolicyForBackupRestoreTesting
策略版本
策略版本:v2(默认)
此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时,AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "BackupActions", "Effect" : "Allow", "Action" : [ "backup:DescribeRecoveryPoint", "backup:DescribeRestoreJob", "backup:DescribeProtectedResource", "backup:GetRecoveryPointRestoreMetadata", "backup:ListBackupVaults", "backup:ListProtectedResources", "backup:ListProtectedResourcesByBackupVault", "backup:ListRecoveryPointsByBackupVault", "backup:ListRecoveryPointsByResource", "backup:ListTags", "backup:StartRestoreJob" ], "Resource" : "*" }, { "Sid" : "IamPassRole", "Effect" : "Allow", "Action" : "iam:PassRole", "Resource" : "*", "Condition" : { "StringEquals" : { "iam:PassedToService" : "backup.amazonaws.com" } } }, { "Sid" : "DescribeActions", "Effect" : "Allow", "Action" : [ "ec2:DescribeInstances", "ec2:DescribeSnapshotTierStatus", "ec2:DescribeTags", "ec2:DescribeVolumes", "elasticfilesystem:DescribeFileSystems", "elasticfilesystem:DescribeMountTargets", "fsx:DescribeFileSystems", "fsx:DescribeVolumes", "fsx:ListTagsForResource", "rds:DescribeDBInstances", "rds:DescribeDBClusters", "rds:DescribeDBInstanceAutomatedBackups", "rds:DescribeDBClusterAutomatedBackups", "rds:ListTagsForResource", "redshift:DescribeClusters" ], "Resource" : "*" }, { "Sid" : "DeleteActions", "Effect" : "Allow", "Action" : [ "ec2:DeleteVolume", "ec2:TerminateInstances", "elasticfilesystem:DeleteFilesystem", "elasticfilesystem:DeleteMountTarget", "rds:DeleteDBCluster", "rds:DeleteDBInstance", "fsx:DeleteFileSystem", "fsx:DeleteVolume" ], "Resource" : "*", "Condition" : { "Null" : { "aws:ResourceTag/awsbackup-restore-test" : "false" } } }, { "Sid" : "DdbDeleteActions", "Effect" : "Allow", "Action" : [ "dynamodb:DeleteTable", "dynamodb:DescribeTable" ], "Resource" : "arn:aws:dynamodb:*:*:table/awsbackup-restore-test-*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "RedshiftDeleteActions", "Effect" : "Allow", "Action" : "redshift:DeleteCluster", "Resource" : "arn:aws:redshift:*:*:cluster:awsbackup-restore-test-*" }, { "Sid" : "S3DeleteActions", "Effect" : "Allow", "Action" : [ "s3:DeleteBucket", "s3:GetLifecycleConfiguration", "s3:PutLifecycleConfiguration" ], "Resource" : "arn:aws:s3:::awsbackup-restore-test-*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "TimestreamDeleteActions", "Effect" : "Allow", "Action" : "timestream:DeleteTable", "Resource" : "arn:aws:timestream:*:*:database/*/table/awsbackup-restore-test-*" } ] }