AWSMigrationHubDiscoveryAccess
Summary
Policy allows AWSMigrationHubService to call AWSApplicationDiscoveryService on behalf of the customer.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/service-role/AWSMigrationHubDiscoveryAccess- Default version
- v3
- Created
- Last edited
- Services
- discovery, dms, ec2
Control-plane actions (5)
By access level: 2 List, 1 Read, 2 Tagging.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Application Discovery | 2 of 29 | 1 List, 1 Read; 0 restricted, 0 conditional | discovery:DescribeConfigurations, discovery:ListConfigurations |
| DMS | 1 of 125 | 1 Tagging; 1 restricted, 1 conditional | dms:AddTagsToResource |
| EC2 | 2 of 834 | 1 List, 1 Tagging; 1 restricted, 1 conditional | ec2:CreateTags, ec2:DescribeInstanceAttribute |
Application Discovery: 2 actions
- discovery:DescribeConfigurations (Read)
- discovery:ListConfigurations (List)
DMS: 1 actions
- dms:AddTagsToResource (Tagging)
EC2: 2 actions
- ec2:CreateTags (Tagging)
- ec2:DescribeInstanceAttribute (List)
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 2 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
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectDeploymentPermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonDataZoneSageMakerProvisioningRolePolicy
Same domain
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": [
{
"Effect": "Allow",
"Action": [
"discovery:ListConfigurations",
"discovery:DescribeConfigurations"
],
"Resource": [
"*"
]
},
{
"Effect": "Allow",
"Action": "ec2:CreateTags",
"Resource": [
"arn:aws:ec2:*:*:instance/*",
"arn:aws:ec2:*:*:image/*",
"arn:aws:ec2:*:*:volume/*"
],
"Condition": {
"ForAllValues:StringEquals": {
"aws:TagKeys": "aws:migrationhub:source-id"
}
}
},
{
"Effect": "Allow",
"Action": "dms:AddTagsToResource",
"Resource": [
"arn:aws:dms:*:*:endpoint:*"
],
"Condition": {
"ForAllValues:StringEquals": {
"aws:TagKeys": "aws:migrationhub:source-id"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstanceAttribute"
],
"Resource": [
"*"
]
}
]
}
Version history
Current version v3, edited by AWS on 2020-08-06. 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/AWSMigrationHubDiscoveryAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMigrationHubDiscoveryAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/service-role/AWSMigrationHubDiscoveryAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSMigrationHubDiscoveryAccessTerraform
resource "aws_iam_role_policy_attachment" "service_role_awsmigrationhubdiscoveryaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/service-role/AWSMigrationHubDiscoveryAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("service-role/AWSMigrationHubDiscoveryAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.