mgh:RejectConnection

Write

mgh:RejectConnection is a Write access-level action in the mgh service. Grants permission to reject a connection

Resource types

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

arn:${Partition}:mgh:${Region}:${Account}:${ConnectionArn}
ConnectionResource

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

mgh:ConnectionResourceConnectionArn String

ConnectionResource resource connectionArn identifier

Example IAM policy

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

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

Related actions in mgh

View all mgh actions →