networkmanager:GetNetworkResourceRelationships

Read

networkmanager:GetNetworkResourceRelationships is a Read access-level action in the networkmanager service. Grants permission to retrieve related resources for a resource within the global network

Resource types

ARNs that networkmanager:GetNetworkResourceRelationships can be scoped to in an IAM policy.

arn:${Partition}:networkmanager::${Account}:global-network/${ResourceId}
global-network

Condition keys

Keys you can use in the Condition block of a policy that grants networkmanager:GetNetworkResourceRelationships.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowNetworkmanagerGetNetworkResourceRelationships",
      "Effect": "Allow",
      "Action": "networkmanager:GetNetworkResourceRelationships",
      "Resource": "*"
    }
  ]
}

Related actions in networkmanager

View all networkmanager actions →