AWSMigrationHubSMSAccess
Summary
Policy for Server Migration Service to assume role in customer's account to call Migration Hub
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/AWSMigrationHubSMSAccess- Default version
- v2
- Created
- Last edited
- Services
- mgh
Control-plane actions (15)
By access level: 3 List, 3 Read, 9 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Migration Hub | 15 of 46 | 3 List, 3 Read, 9 Write; 13 restricted, 0 conditional | mgh:AssociateCreatedArtifact, mgh:AssociateDiscoveredResource, mgh:CreateProgressUpdateStream, mgh:DescribeApplicationState, mgh:DescribeMigrationTask, mgh:DisassociateCreatedArtifact, mgh:DisassociateDiscoveredResource, mgh:GetHomeRegion, mgh:ImportMigrationTask, mgh:ListCreatedArtifacts, mgh:ListDiscoveredResources, mgh:ListMigrationTasks and 3 more |
Migration Hub: 15 actions
- mgh:AssociateCreatedArtifact (Write)
- mgh:AssociateDiscoveredResource (Write)
- mgh:CreateProgressUpdateStream (Write)
- mgh:DescribeApplicationState (Read)
- mgh:DescribeMigrationTask (Read)
- mgh:DisassociateCreatedArtifact (Write)
- mgh:DisassociateDiscoveredResource (Write)
- mgh:GetHomeRegion (Read)
- mgh:ImportMigrationTask (Write)
- mgh:ListCreatedArtifacts (List)
- mgh:ListDiscoveredResources (List)
- mgh:ListMigrationTasks (List)
- mgh:NotifyApplicationState (Write)
- mgh:NotifyMigrationTaskState (Write)
- mgh:PutResourceAttributes (Write)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants 9 write, tagging or permissions-management actions, short of full control of any service.
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AWSApplicationDiscoveryAgentAccess
- AWSApplicationDiscoveryAgentlessCollectorAccess
- AWSApplicationDiscoveryServiceFullAccess
- AWSApplicationMigrationMGHAccess
- AWSApplicationMigrationServiceRolePolicy
- AWSMigrationHubDMSAccess
- AWSMigrationHubFullAccess
- AWSMigrationHubStrategyServiceRolePolicy
Same domain
- AWSAgentlessDiscoveryService
- AWSApplicationMigrationAgentInstallationPolicy
- AWSApplicationMigrationAgentPolicy
- AWSApplicationMigrationAgentPolicy_v2
- AWSApplicationMigrationConversionServerPolicy
- AWSApplicationMigrationFullAccess
- AWSApplicationMigrationReadOnlyAccess
- AWSApplicationMigrationReplicationServerPolicy
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"mgh:CreateProgressUpdateStream"
],
"Effect": "Allow",
"Resource": "arn:aws:mgh:*:*:progressUpdateStream/SMS"
},
{
"Action": [
"mgh:AssociateCreatedArtifact",
"mgh:DescribeMigrationTask",
"mgh:DisassociateCreatedArtifact",
"mgh:ImportMigrationTask",
"mgh:ListCreatedArtifacts",
"mgh:NotifyMigrationTaskState",
"mgh:PutResourceAttributes",
"mgh:NotifyApplicationState",
"mgh:DescribeApplicationState",
"mgh:AssociateDiscoveredResource",
"mgh:DisassociateDiscoveredResource",
"mgh:ListDiscoveredResources"
],
"Effect": "Allow",
"Resource": "arn:aws:mgh:*:*:progressUpdateStream/SMS/*"
},
{
"Action": [
"mgh:ListMigrationTasks",
"mgh:GetHomeRegion"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
Version history
Current version v2, edited by AWS on 2019-10-07. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMigrationHubSMSAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMigrationHubSMSAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMigrationHubSMSAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSMigrationHubSMSAccessTerraform
resource "aws_iam_role_policy_attachment" "service_role_awsmigrationhubsmsaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSMigrationHubSMSAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSMigrationHubSMSAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.