mgh:DisassociateAutomationUnitRole is a Write access-level action in the mgh service. Grants permission to disassociate an IAM role from an automation unit
ARNs that mgh:DisassociateAutomationUnitRole can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants mgh:DisassociateAutomationUnitRole.
AutomationUnitResource resource automationUnitArn identifier
A minimal policy that allows mgh:DisassociateAutomationUnitRole. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMghDisassociateAutomationUnitRole",
"Effect": "Allow",
"Action": "mgh:DisassociateAutomationUnitRole",
"Resource": "*"
}
]
}