private-networks:GetNetwork

Read

private-networks:GetNetwork is a Read access-level action in the private-networks service. Grants permission to get a network

Resource types

ARNs that private-networks:GetNetwork can be scoped to in an IAM policy.

arn:${Partition}:private-networks:${Region}:${Account}:network/${NetworkName}
network

Condition keys

Keys you can use in the Condition block of a policy that grants private-networks:GetNetwork.

aws:ResourceTag/${TagKey} String

Filters access by checking tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows private-networks:GetNetwork. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowPrivatenetworksGetNetwork",
      "Effect": "Allow",
      "Action": "private-networks:GetNetwork",
      "Resource": "*"
    }
  ]
}

Related actions in private-networks

View all private-networks actions →