mgh:DeleteAutomationRun

Write

mgh:DeleteAutomationRun is a Write access-level action in the mgh service. Grants permission to delete an automation unit run

Resource types

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

arn:${Partition}:mgh:${Region}:${Account}:automation-run/${RunID}
AutomationRunResource

Condition keys

Keys you can use in the Condition block of a policy that grants mgh:DeleteAutomationRun.

mgh:AutomationRunResourceRunID String

AutomationRunResource resource runID identifier

Example IAM policy

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

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

Related actions in mgh

View all mgh actions →