mgh:GetConnection is a Read access-level action in the mgh service. Grants permission to get a connection
ARNs that mgh:GetConnection can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants mgh:GetConnection.
Filters access based on the tags associated with the resource
ConnectionResource resource connectionArn identifier
A minimal policy that allows mgh:GetConnection. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowMghGetConnection",
"Effect": "Allow",
"Action": "mgh:GetConnection",
"Resource": "*"
}
]
}