mgh:DisassociateDiscoveredResource is a Write access-level action in the mgh service. Grants permission to disassociate a given ADS resource from a MigrationTask
ARNs that mgh:DisassociateDiscoveredResource can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows mgh:DisassociateDiscoveredResource. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMghDisassociateDiscoveredResource",
"Effect": "Allow",
"Action": "mgh:DisassociateDiscoveredResource",
"Resource": "*"
}
]
}