mgh:AssociateDiscoveredResource

Write

mgh:AssociateDiscoveredResource is a Write access-level action in the mgh service. Grants permission to associate a given ADS resource to a MigrationTask

Resource types

ARNs that mgh:AssociateDiscoveredResource can be scoped to in an IAM policy.

arn:${Partition}:mgh:${Region}:${Account}:progressUpdateStream/${Stream}/migrationTask/${Task}
migrationTask

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows mgh:AssociateDiscoveredResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowMghAssociateDiscoveredResource",
      "Effect": "Allow",
      "Action": "mgh:AssociateDiscoveredResource",
      "Resource": "*"
    }
  ]
}

Related actions in mgh

View all mgh actions →