mgh:DescribeAutomationUnit

Read

mgh:DescribeAutomationUnit is a Read access-level action in the mgh service. Grants permission to describe an automation unit

Resource types

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

arn:${Partition}:mgh:${Region}:${Account}:automation-unit/${AutomationUnitId}
AutomationUnitResource

Condition keys

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

mgh:AutomationUnitResourceAutomationUnitArn ARN

AutomationUnitResource resource automationUnitArn identifier

Example IAM policy

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

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

Related actions in mgh

View all mgh actions →