本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
AWSMigrationHubOrchestratorServiceRolePolicy
說明:提供 Migration Hub 協調器所需的權限,以移轉及現代化您的內部部署工作負載
AWSMigrationHubOrchestratorServiceRolePolicy
是AWS 受管理的策略。
使用此政策
此原則附加至服務連結角色,可讓服務代表您執行動作。您無法將此政策連接至使用者、群組或角色。
政策詳情
-
類型:服務連結角色原則
-
創建時間:世界標準時間 4 月 20 日,2022 年 2 月 24 日
-
編輯時間:世界標準時間 2024 年 3 月 4 日下午 18:25
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSMigrationHubOrchestratorServiceRolePolicy
政策版本
策略版本:v4(預設值)
原則的預設版本是定義原則權限的版本。當具有策略的使用者或角色發出要求以存取 AWS 資源時,請 AWS 檢查原則的預設版本,以決定是否允許該要求。
政策文件
{
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "ApplicationDiscoveryService",
"Effect" : "Allow",
"Action" : [
"discovery:DescribeConfigurations",
"discovery:ListConfigurations"
],
"Resource" : "*"
},
{
"Sid" : "LaunchWizard",
"Effect" : "Allow",
"Action" : [
"launchwizard:ListProvisionedApps",
"launchwizard:DescribeProvisionedApp",
"launchwizard:ListDeployments",
"launchwizard:GetDeployment"
],
"Resource" : "*"
},
{
"Sid" : "EC2instances",
"Effect" : "Allow",
"Action" : [
"ec2:DescribeInstances"
],
"Resource" : "*"
},
{
"Sid" : "ec2MGNLaunchTemplate",
"Effect" : "Allow",
"Action" : [
"ec2:CreateLaunchTemplateVersion",
"ec2:ModifyLaunchTemplate"
],
"Resource" : "*",
"Condition" : {
"StringEquals" : {
"aws:ResourceTag/AWSApplicationMigrationServiceManaged" : "mgn.amazonaws.com"
}
}
},
{
"Sid" : "ec2LaunchTemplates",
"Effect" : "Allow",
"Action" : [
"ec2:DescribeLaunchTemplates"
],
"Resource" : "*"
},
{
"Sid" : "getHomeRegion",
"Action" : [
"mgh:GetHomeRegion"
],
"Effect" : "Allow",
"Resource" : "*"
},
{
"Sid" : "SSMcommand",
"Effect" : "Allow",
"Action" : [
"ssm:SendCommand",
"ssm:GetCommandInvocation",
"ssm:CancelCommand"
],
"Resource" : [
"arn:aws:ssm:*::document/AWS-RunRemoteScript",
"arn:aws:ec2:*:*:instance/*",
"arn:aws:s3:::aws-migrationhub-orchestrator-*",
"arn:aws:s3:::migrationhub-orchestrator-*"
]
},
{
"Sid" : "SSM",
"Effect" : "Allow",
"Action" : [
"ssm:DescribeInstanceInformation",
"ssm:GetCommandInvocation"
],
"Resource" : [
"*"
]
},
{
"Sid" : "s3GetObject",
"Effect" : "Allow",
"Action" : [
"s3:GetObject"
],
"Resource" : [
"arn:aws:s3:::migrationhub-orchestrator-*",
"arn:aws:s3:::migrationhub-orchestrator-*/*"
]
},
{
"Sid" : "EventBridge",
"Effect" : "Allow",
"Action" : [
"events:PutTargets",
"events:DescribeRule",
"events:DeleteRule",
"events:PutRule",
"events:RemoveTargets"
],
"Resource" : "arn:aws:events:*:*:rule/MigrationHubOrchestratorManagedRule*"
},
{
"Sid" : "MGN",
"Effect" : "Allow",
"Action" : [
"mgn:GetReplicationConfiguration",
"mgn:GetLaunchConfiguration",
"mgn:StartCutover",
"mgn:FinalizeCutover",
"mgn:StartTest",
"mgn:UpdateReplicationConfiguration",
"mgn:DescribeSourceServers",
"mgn:MarkAsArchived",
"mgn:ChangeServerLifeCycleState"
],
"Resource" : "*"
},
{
"Sid" : "ec2DescribeImportImage",
"Effect" : "Allow",
"Action" : [
"ec2:DescribeImportImageTasks"
],
"Resource" : "*"
},
{
"Sid" : "s3ListBucket",
"Effect" : "Allow",
"Action" : "s3:ListBucket",
"Resource" : "arn:aws:s3:::*",
"Condition" : {
"StringLike" : {
"s3:prefix" : "migrationhub-orchestrator-vmie-*"
}
}
}
]
}